Embed Chat Widget
Add your AI chatbot to any website with a floating chat bubble or iframe embed.
Add your Chipp AI chatbot to any website using either a floating chat bubble widget or an embedded iframe. Choose the option that best fits your site's design.
Embed Options
| Option | Best For |
|---|---|
| Chat Widget | Floating bubble in corner, doesn't take page space |
| Iframe | Dedicated chat section embedded in your page |
Option 1: Chat Widget (Floating Bubble)
The chat widget adds a floating chat bubble to the corner of your page. When clicked, it opens your chatbot in an overlay.
Getting the Widget Code
Go to Share Settings
Open your app and click Share in the navigation.
Find the Widget Card
Look for the Widget card on the Share page.
Copy the Code
Click the code snippet to copy it to your clipboard. The code looks like:
<!-- Chipp Chat Widget -->
<script>
window.CHIPP_APP_URL = "https://your-app.chipp.ai";
window.CHIPP_APP_ID = 12345;
</script>
<link rel="stylesheet" href="https://storage.googleapis.com/.../bundle.css" />
<script defer src="https://storage.googleapis.com/.../bundle.js"></script>
Add to Your Website
Paste the code before the closing </body> tag on your website.
Widget Features
- Floating bubble: Appears in the corner of the screen
- Preview message: Shows a teaser message to encourage interaction
- Overlay chat: Opens full chat interface when clicked
- Responsive: Works on desktop and mobile
Option 2: Iframe Embed
The iframe embeds your chatbot directly into your page layout.
Getting the Iframe Code
Go to Share Settings
Open your app and click Share in the navigation.
Find the Iframe Card
Look for the Iframe card on the Share page.
Copy the Code
Click the code snippet to copy it:
<iframe src="https://your-app.chipp.ai" height="800px" width="100%" frameborder="0" title="Your App Name"></iframe>
Add to Your Website
Paste the iframe code into your website's HTML where you want the chat to appear.
Customizing the Iframe
Adjust dimensions:
<iframe
src="https://your-app.chipp.ai"
height="600px"
width="400px"
frameborder="0"
title="Chat"
></iframe>Responsive container:
<div style="width: 100%; height: 80vh; min-height: 400px;">
<iframe
src="https://your-app.chipp.ai"
style="width: 100%; height: 100%; border: none;"
></iframe>
</div>Platform-Specific Instructions
WordPress
For Widget:
- Go to Appearance > Theme Editor (or use a plugin like "Insert Headers and Footers")
- Add the widget code before
</body>in your theme's footer
For Iframe:
- Edit your page or post
- Add a Custom HTML block
- Paste the iframe code
Webflow
- Go to Project Settings > Custom Code
- For widget: Paste in "Footer Code"
- For iframe: Add an Embed element to your page
Squarespace
For Widget:
- Go to Settings > Advanced > Code Injection
- Paste in the "Footer" section
For Iframe:
- Add a Code Block to your page
- Paste the iframe code
Shopify
For Widget:
- Go to Online Store > Themes > Edit code
- Find
theme.liquidand paste before</body>
For Iframe:
- Edit the page where you want the chat
- Add a Custom Liquid section
- Paste the iframe code
Authentication Considerations
If authentication is enabled for your app and you don't have a custom domain set up, the iframe embed won't work properly due to cross-domain cookie restrictions. You'll need to either:
Set up a custom domain that's a subdomain of your website Disable authentication for your app
The chat widget has the same limitation when authentication is enabled.
You can configure these settings in:
- Settings page for custom domains
- Access page for authentication settings
Troubleshooting
Widget Not Appearing
- Check code placement: Widget code should be before
</body> - Check for conflicts: Other scripts may interfere - check browser console
- Check app status: Ensure your app is active
Iframe Not Loading
- Check the URL: Make sure the iframe
srcmatches your app's URL exactly - Authentication: If you have auth enabled, you need a custom domain
- CSP headers: Your site's Content Security Policy may block iframes
Styling Issues
- Z-index conflicts: Widget may appear behind other elements
- Container overflow: For iframe, make sure parent elements don't have
overflow: hidden
Continue Reading
How to Maximize Chipp Capabilities
Get the most out of your Chipp AI by mastering key features and best practices.
Lead Generation Forms
Collect user information before starting a conversation with customizable lead capture forms.
Custom Domains
Use your own domain for your Chipp AI chatbot instead of the default chipp.ai URL.