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
- Go to Appearance → Theme File Editor
- Select your theme's
footer.php - Paste the embed code before
</body> - Click Update File
Option 2: Plugin (Recommended)
- Install Insert Headers and Footers plugin
- Go to Settings → Insert Headers and Footers
- Paste the embed code in the Scripts in Footer section
- Save changes
Shopify Setup
- Go to Online Store → Themes
- Click Actions → Edit Code
- Find
theme.liquidin the Layout folder - Paste the embed code before
</body> - Save the file
Configuration Options
| Option | Type | Description |
|---|---|---|
botId | string | Your unique bot identifier (required) |
primaryColor | string | Hex color for the widget (default: #f97316) |
position | string | 'bottom-right' or 'bottom-left' |
greeting | string | Custom welcome message |
collectEmail | boolean | Enable email collection (default: true) |
autoOpen | boolean | Auto-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