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:
- Open your site and confirm widget launcher appears.
- Send a test message and confirm response.
- Check response headers include
X-Conversation-Id. - Confirm domain allowlist behavior from allowed and blocked origins.
Last updated on