Embed the chat widget
Add this snippet before the closing </body> on any page where the widget is allowed (your domain must be in the tenant’s allowed list).
<script src="https://YOUR_DOMAIN/widget.js" data-tenant="TENANT_ID" data-key="PUBLIC_KEY" async></script>
Requirements
- Replace
YOUR_DOMAINwith your app domain (e.g. where this app is deployed). - Replace
TENANT_IDwith your tenant ID. - If your tenant uses a public key, set
data-keyto that value; otherwise you can omit it. - The embedding site’s domain must be in the tenant’s allowed domains (enforced by the API).