Embed Instructions

Add your chatbot to any website in minutes

Basic Embed Code

Copy this code and paste it before the closing </body> tag on your website:

<!-- SellAIBots Widget -->
<script src="https://chat-widget.auramediastudios.workers.dev/widget.js"
data-bot-id="YOUR_BOT_ID"
data-position="bottom-right"></script>

Replace YOUR_BOT_ID with your actual bot ID from the dashboard.

WordPress Installation

For WordPress sites, you have several options:

Option 1: Theme Editor

  1. Go to Appearance → Theme File Editor
  2. Select your theme's footer.php
  3. Paste the embed code before </body>
  4. Click Update File

Option 2: Plugin (Recommended)

  1. Install Insert Headers and Footers plugin
  2. Go to Settings → Insert Headers and Footers
  3. Paste the embed code in the Scripts in Footer section
  4. Save changes

Shopify Setup

  1. Go to Online Store → Themes
  2. Click Actions → Edit Code
  3. Find theme.liquid in the Layout folder
  4. Paste the embed code before </body>
  5. Save the file

Configuration Options

OptionTypeDescription
botIdstringYour unique bot identifier (required)
primaryColorstringHex color for the widget (default: #f97316)
positionstring'bottom-right' or 'bottom-left'
greetingstringCustom welcome message
collectEmailbooleanEnable email collection (default: true)
autoOpenbooleanAuto-open widget after delay (default: false)

Troubleshooting

Widget not appearing?

  • Check that the script is placed before </body>
  • Verify your bot ID is correct
  • Clear your browser cache
  • Check browser console for errors

Widget loads but doesn't respond?

  • Ensure your bot has a knowledge base configured
  • Check that your subscription is active
  • Review your message quota in the dashboard

Need More Help?

Our support team is ready to assist

Contact Support