Skip to main content

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_DOMAIN with your app domain (e.g. where this app is deployed).
  • Replace TENANT_ID with your tenant ID.
  • If your tenant uses a public key, set data-key to that value; otherwise you can omit it.
  • The embedding site’s domain must be in the tenant’s allowed domains (enforced by the API).