Overview
Add your Invent AI assistant to any Squarespace website with a floating bubble. Perfect for small businesses, portfolios, blogs, and online stores.Installation
1
Open Squarespace Settings
Log in to your Squarespace account and select your site.
2
Navigate to Code Injection
Go to Settings → Advanced → Code Injection.
3
Add to Footer
Scroll to the Footer section and paste this code:Replace
YOUR_ASSISTANT_ID
with your actual assistant ID from the Invent dashboard.4
Save and Publish
Click Save, then refresh your site to see the assistant appear.
Customization
Match Your Squarespace Design
Show Only on Specific Pages
For page-specific installation:- Navigate to the specific page in Squarespace
- Click Settings (gear icon) for that page
- Go to Advanced → Page Header Code Injection
- Add the code there instead of site-wide footer
Squarespace Commerce
For e-commerce sites on Squarespace:- Help customers with product questions
- Provide size guides and fit information
- Answer shipping and return policy questions
- Assist with order tracking
Member Areas
Security Requirement: When using any
user-*
attributes (user-id
, user-name
), you must also provide user-hash
. Both user-id
and user-hash
must be provided together, or neither should be provided. The user-hash
must be generated on your backend using HMAC-SHA256 with your assistant’s secret key. Never expose the secret key to the client.Tips for Squarespace
All Templates
Works with all Squarespace templates
Mobile Ready
Optimized for mobile layouts
Blog Support
Perfect for blog post questions
Commerce Ready
Boost sales with instant support
Version Compatibility
Works with both Squarespace 7.0 and 7.1. Code Injection is available on Business and Commerce plans.
Advanced: Custom CSS
Style the bubble position if needed:Troubleshooting
Bubble not appearing
Bubble not appearing
Solutions:
- Verify you have Business or Commerce plan (required for Code Injection)
- Check code is in Footer section, not Header
- Clear browser cache and hard refresh (Cmd+Shift+R or Ctrl+Shift+R)
- Verify assistant ID is correct
Conflicts with Squarespace features
Conflicts with Squarespace features
Solutions:
- Check z-index if bubble is hidden
- Disable Squarespace’s built-in chat if using Invent
- Adjust bubble position with custom CSS
Not showing on mobile
Not showing on mobile
Solutions:
- Code Injection applies to all devices by default
- Test on actual mobile device, not just browser resize
- Check mobile view in Squarespace preview