Bots & chat experience / Publish & embeds
Ready

Publish & embeds

Share your bot via hosted chat links or embed the widget on any site. Copy the direct link or script tag from the Publish tab.

Where to find it

- Open Dashboard → Bots → select a bot.

- In the workspace left nav, click Publish.

- You can also access the same flow at the end of onboarding.

Direct link

Hosted chat at /chat/[slug]. Click the link to open in a new tab.

Placeholder for “Publish tab — direct link” screenshot.
Embed widget

Script tag

Copy the provided script: chat-widget.js?bot=[slug]. Place it before </body> on pages where the bubble should appear.

Embed dialog

Use the Embed button to open the dialog and copy options. Useful if you need the snippet without opening the code block.

Copy control

Copy buttons are enabled once the bot slug is available. If it's disabled, wait for the slug to generate.

Placeholder for “Publish tab — embed script” screenshot.
When to use

- Direct link: share the hosted chat externally (support, docs, campaigns).

- Embed: add a bubble to your site or app for inline assistance.

- Onboarding Publish: same actions, available immediately after bot creation.

Tips & troubleshooting

- If the widget doesn't show, confirm the script is before </body> and the bot is active.

- Ensure your site allows external scripts from askraian.com.

- Regenerate or recopy the snippet after renaming a bot (slug changes).

Next up

Attach data and files to power your bot's answers.

Continue to Vector stores →