Skip to Content
DeploymentInstall the Widget

Install the Widget

Use the Deploy page to copy your installation snippet.

Example Snippet

<script src="https://dukon2.vercel.app/widget.min.js" data-widget-key="YOUR_WIDGET_PUBLISHABLE_KEY" defer></script>

This is inline mode (default), so the widget renders directly in-page.

Optional iframe Mode

<script src="https://dukon2.vercel.app/widget.min.js" data-widget-key="YOUR_WIDGET_PUBLISHABLE_KEY" data-render-mode="iframe" defer></script>

Placement

Place the snippet in:

  • <head> or
  • Just before </body>

Validation

After deploy:

  1. Open your site and confirm widget launcher appears.
  2. Send a test message and confirm response.
  3. Check response headers include X-Conversation-Id.
  4. Confirm domain allowlist behavior from allowed and blocked origins.
Last updated on
Dukon | Docs