Usage
Embedding the widget
Each chatbot has a public id. Drop this before the closing body tag on any page, on any domain:
<script src="https://your-domain.com/widget.js"
data-chatbot-id="YOUR_PUBLIC_ID"
async></script>Find the public id on the chatbot’s Embed tab in the dashboard, which shows the snippet already filled in.
The widget picks up that chatbot’s greeting and accent colour automatically, so styling it is done in the dashboard rather than in code.
The widget endpoints allow any origin by design — the whole point is that it loads on your customers’ sites. Only the public chat endpoints are exposed this way.