Access installation instructions
Navigate to your chatbot’s Installation page from the sidebar. This page provides everything you need to embed your chatbot on your website.
Copy your chatbot ID
Your unique chatbot identifier is displayed at the top of the Installation page. Click the Copy button to copy it to your clipboard.
Choose your embedding method
Select either JavaScript embed (recommended) or iFrame embed based on your needs.
Your chatbot ID is required for:
- Using the WordPress plugin
- Integrating with third-party platforms
- Making API calls
- Setting up custom integrations
Embed options
- JavaScript embed (Recommended)
- iFrame embed (Advanced)
The JavaScript embed is the best option for most websites. It automatically positions the chatbot and works on all pages.Code snippet:
Why choose JavaScript embed:
- Automatic positioning and responsive design
- Works across all pages when added once
- Supports all chatbot features including SDK methods
- Minimal performance impact with async loading
Replace
YOUR_CHATBOT_ID with your actual chatbot ID. The Installation page provides this code pre-filled with your ID.Platform-specific instructions
WordPress
WordPress
- Official Plugin (Recommended)
- Manual Embed
Shopify
Shopify
Add embed code
Scroll down and find the closing
</body> tag, then paste the embed code just before itSquarespace
Squarespace
Code Injection is available on Business plans and higher. Personal plans require an upgrade.
Wix
Wix
Webflow
Webflow
Custom HTML
Custom HTML
For custom websites or static HTML:Example:
Choose placement
Paste the code in one of these locations:
- Recommended: Just before the closing
</body>tag for best performance - Alternative: In the
<head>section
Verifying installation
Chatbot not appearing? Try these solutions
Chatbot not appearing? Try these solutions
Check that the embed code was pasted correctly
Verify there are no JavaScript errors in the browser console (F12)
Ensure your chatbot has been trained with content
Try a different browser or device
Advanced customization
Using the SDK
Using the SDK
The JavaScript embed includes the SiteGPT SDK, which allows you to programmatically control the chatbot:
Custom positioning
Custom positioning
If you need to customize the chatbot position beyond the settings in the Appearance page, you can use CSS:
Troubleshooting
Chatbot not appearing
Chatbot not appearing
Verify the embed code is present in your page source (View Page Source)
Check browser console for JavaScript errors
Ensure your chatbot has training data
Try clearing cache and hard refresh (Ctrl+Shift+R or Cmd+Shift+R)
Chatbot appears but doesn't respond
Chatbot appears but doesn't respond
Verify your chatbot has been trained with content
Check that your chatbot is not paused or disabled
Test in the playground first to ensure it’s working
Multiple chatbots appearing
Multiple chatbots appearing
Check that you haven’t added the embed code multiple times
Verify you’re only using one embed method (JavaScript OR iframe, not both)
Search your code for duplicate script tags
Conflicts with other scripts
Conflicts with other scripts
Try moving the embed code to the end of the
<body> tagEnsure other scripts aren’t blocking async loading
Check browser console for specific error messages