Widget install

Embed a floating chat widget on your website, backed by one bot's knowledge base.

1. Copy your embed snippet

Open your bot in the dashboard (platform must be Website or Both) — the exact snippet for that bot is shown under Website widget. It looks like this:

<script src="https://atomic.shubhambadgujar.com/static/widget.js" data-bot-id="YOUR-BOT-ID"></script>

2. Paste it into your site

Add the snippet right before the closing </body> tag on any page you want the widget to appear on.

3. Configure email collection (optional)

Toggle Require email before chat on the bot page if you want to capture visitor emails before the first message. Behavior:

  • First-time visitors are prompted for an email before they can send a message.
  • The email is validated client-side and stored in the visitor's browser (localStorage).
  • Returning visitors on the same browser are not asked again.
  • Every conversation from that visitor is associated with their email in your conversation logs.
  • Export all collected emails as CSV from the bot's page.

How it works

  • The widget mounts in a Shadow DOM, so it won't clash with your site's CSS.
  • It's fully responsive — the chat panel adapts to mobile viewports automatically.
  • Every answer comes strictly from that bot's uploaded documentation, or a polite "I don't know" if it isn't covered.