Skip to content

Add AI Chatbot to Shopify

Help shoppers understand sizing, shipping and returns while they browse your Shopify store.

1. Create your chatbot

Create a Chatbit account, add your website or documents as sources, and test a few questions. Set the welcome message, colors and instructions to match your business. See how to add sources.

2. Copy your embed code

Open your chatbot's Share panel and copy the complete Script snippet. Keep both the configuration and the external script together. See the website setup guide.

3. Add the code to Shopify

Duplicate your theme first. In the copy, open the theme code editor and locate layout/theme.liquid. Place the complete snippet before the closing body tag. Preview that theme, then publish it when the widget looks right.

Platform reference: Shopify documentation.

The storefront snippet does not connect Chatbit to orders, inventory or checkout. Add product information and store policies as sources. Keep live order questions pointed at your existing support channel.

4. Test the published site

Ask about your returns window from a product page. Check the widget beside the cart drawer on a phone, and confirm it only appears once.

If the button is missing, check that the code is saved on the published site, clear any page cache, and look for blocked requests in your browser. If it appears twice, remove the duplicate installation.

Keep the answers useful

Review the first conversations and update source content where answers are unclear. Include a contact route for questions your bot cannot answer. Learn how to improve responses.

Frequently asked questions

Do I need a platform-specific Chatbit plugin?

The setup above uses the script supplied in Chatbit. Your website platform may require a paid plan or a script-management plugin to allow that code.

Can I remove the chatbot later?

Yes. Remove the snippet from the location where you installed it, publish the change, and clear any page cache. Keep a copy of the code if you plan to add it again.

Get Started

Create a bot, add sources, share to your website in under 5 minutes.

No credit card required

Get Started

Create a bot, add sources, share to your website in under 5 minutes.

No credit card required

Get Started

Create a bot, add sources, share to your website in under 5 minutes.

No credit card required