Overview
Add your Invent AI assistant to your Shopify store with a floating bubble. Perfect for providing product support, answering customer questions, and boosting conversions.Installation
Access Theme Editor
In your Shopify admin, go to Online Store → Themes and click Customize on your active theme.
Add Before Closing Body Tag
Scroll to the bottom and find the closing Replace
</body> tag. Add this code just before it:ast_YOUR_ASSISTANT_ID with your actual assistant ID from the Invent dashboard.Customization
Match Your Store Branding
Show Only on Specific Pages
Use Shopify Liquid to control where the bubble appears:Customer Authentication
Pass Shopify customer data to Invent for personalized shopping assistance. Important: Shopify Liquid cannot generate HMAC hashes securely. You’ll need to use a Shopify app or custom backend endpoint to generate theuser-hash before passing it to the frontend. Without proper hash generation, omit all user-* attributes and let the assistant create an anonymous session.
Pass Product Context
Provide product information to your assistant on product pages:E-commerce Features
Product Support
Answer product questions in real-time
Order Tracking
Help customers track their orders
Cart Recovery
Assist with abandoned cart recovery
Size & Fit Help
Provide sizing and fit guidance
Shopify Plus Features
For Shopify Plus stores, you can use Scripts or Checkout Extensions:Add to Checkout Pages
- Go to Settings → Checkout
- Scroll to Additional scripts
- Add the bubble code
Troubleshooting
Bubble not appearing
Bubble not appearing
Solutions:
- Verify code is before closing
</body>tag in theme.liquid - Clear browser cache and reload
- Check for JavaScript errors in browser console
- Ensure theme doesn’t have conflicting chat apps
Conflicts with other apps
Conflicts with other apps
Solutions:
- Check if other chat/help apps are installed
- Adjust z-index in theme CSS if needed
- Contact support for app compatibility