Overview
Add your Invent AI assistant to any Webflow site with a floating bubble. Perfect for providing instant support to your Webflow site visitors.Installation
1
Open Project Settings
In Webflow Designer, click the Settings icon (gear) in the left sidebar.
2
Navigate to Custom Code
Go to the Custom Code tab at the top.
3
Add to Footer Code
Scroll down to Footer Code and paste this code:Replace
ast_YOUR_ASSISTANT_ID
with your actual assistant ID from the Invent dashboard.4
Save and Publish
Click Save Changes and then Publish your site. The bubble will now appear on all pages.
Customization
Match Your Brand Colors
Show Only on Specific Pages
For page-specific installation:- Open the page in Webflow Designer
- Click Settings (gear icon) for that page
- Go to Custom Code tab
- Add the code to Before closing body tag
Using Webflow CMS
If you’re using Webflow CMS, you can add the bubble to collection templates:- Open your Collection Template page
- Add an Embed element where you want the assistant
- Paste the bubble code
- The assistant will appear on all collection pages
User Authentication
User Authentication Requires External Service: Webflow does not provide server-side scripting capabilities to securely generate the
user-hash
required for user authentication. To use user-specific features with Webflow Memberships, you must set up an external backend service or serverless function to generate the hash. Both user-id
and user-hash
must be provided together, generated using HMAC-SHA256 with your assistant’s secret key.Advanced: With External Authentication Service
If you’ve set up an external service to generate user hashes:Tips for Webflow
Responsive Design
The button automatically adapts to mobile and tablet layouts
Z-Index
Button floats above all content by default. Adjust if needed.
Page Load
Using async/defer ensures no impact on page speed
Interactions
Works seamlessly with Webflow interactions and animations
Troubleshooting
Bubble not visible
Bubble not visible
Solutions:
- Verify the code is in the Footer Code section
- Clear Webflow cache and republish
- Check browser console for errors
- Ensure assistant ID is correct
Conflicts with Webflow elements
Conflicts with Webflow elements
Solutions:
- Check for z-index conflicts in custom CSS
- Verify no other chat widgets are installed
- Test with Webflow Designer interactions disabled