Documentation Index
Fetch the complete documentation index at: https://docs.insitechat.ai/llms.txt
Use this file to discover all available pages before exploring further.
Embed widget
Add your InsiteChat chatbot to any website with a single embed code. The widget adds a chat icon to the corner of your page — visitors click it to open a full chat interface. No plugins or developers required.Getting started
Copy your chatbot ID
Go to the Overview tab. Your unique Chatbot ID is displayed with a Copy button. You’ll need this for integrations and API calls.
Choose an embed method
Go to the Embed tab and choose from three options: Script tag (recommended), iFrame, or direct link.
Your Chatbot ID is required for:
- WordPress and Shopify plugins
- API calls and developer integrations
- Webhook configuration
- Third-party platform setup
Embed options
- Script Tag (Recommended)
- iFrame Embed
- Direct Link
The script tag is the best option for most websites. It creates an iframe that automatically positions the chatbot and supports all features.Why choose script embed:
- Automatic positioning based on your widget settings (left/right, icon size, distance)
- Responsive — adapts when chat opens/closes
- Supports all customization features (auto-open, RTL, personas, etc.)
- Minimal performance impact with deferred loading
Replace
YOUR_CHATBOT_ID with your actual Chatbot ID. The Embed tab provides this code pre-filled with your ID.Platform-specific instructions
WordPress
WordPress
- Plugin (Recommended)
- Theme Editor (Advanced)
Install plugin
In your WordPress admin, go to Plugins > Add New Plugin. Search for a header/footer code plugin like WPCode or Insert Headers and Footers. Click Install Now, then Activate.
Shopify
Shopify
Squarespace
Squarespace
Wix
Wix
Webflow
Webflow
Custom HTML / Static Sites
Custom HTML / Static Sites
Verifying installation
Open and test
Click the icon to open the chatbot. Send a test message to verify it responds correctly.
Troubleshooting
Chatbot not appearing
Chatbot not appearing
- Verify the embed code is present in your page source (right-click > View Page Source, search for “insitechat”)
- Check the browser console (F12) for JavaScript errors
- Ensure your chatbot has been trained with at least one source
- Confirm the chatbot is active (not deleted or disabled)
- Try a different browser or device
Chatbot appears but doesn't respond
Chatbot appears but doesn't respond
- Verify your chatbot has trained content (check Sources tab — at least one source should be “done”)
- Check the Overview dashboard — training status should be “Ready”
- Test in the Preview tab first to isolate whether the issue is with the chatbot or the embed
Multiple chat icons appearing
Multiple chat icons appearing
- Check that you haven’t added the embed code multiple times
- Verify you’re only using one embed method (script OR iframe, not both)
- Search your page source for duplicate InsiteChat scripts
Widget position is wrong
Widget position is wrong
- Go to the Embed tab and check the Widget Position setting (left/right)
- Adjust Bottom distance and Side distance in the Chat Icon section
- If using iFrame embed, adjust the CSS
bottom,right/leftvalues manually
Auto-open not working
Auto-open not working
- Auto-open only triggers once per browser session (uses sessionStorage)
- Check that auto-open is enabled in the Embed tab for the correct device (desktop vs mobile)
- The delay must pass before the widget opens — check the configured delay value
- Try clearing sessionStorage or opening a new incognito window
Widget features reference
All these features are configured in the Embed tab and work automatically once the widget is embedded:| Feature | Description |
|---|---|
| Brand color & text color | Custom colors for header, bubbles, and buttons |
| Font size | 12–20px base font size |
| Chat icon size & position | S to 2XL, configurable distance from edges |
| Auto-open | Separate desktop/mobile toggles with delay |
| RTL mode | Right-to-left layout for Arabic, Hebrew, etc. |
| Personas | Pre-built or custom personality |
| Chat modes | AI, Agent, or Hybrid |
| Localization | 14 customizable UI strings |
| Quick prompts | Up to 5 starter questions before first message |
| Smart follow-ups | AI-generated suggestion buttons after responses |
| Source citations | Clickable source links below responses |
| Hide feedback | Toggle off thumbs-up/down on bot messages |
| Lead capture | Custom forms with configurable timing |
| Session timeout | Auto-expire conversations after inactivity |
| Conversation history | Visitors can resume past sessions |
| Watermark | Customizable on Growth+ plans |
