Short answer: Add an AI chatbot to Shopify by pasting one line of embed code into your theme.liquid file, just before the closing body tag, or by using a custom-code app from the Shopify App Store. Both go live in about ten minutes.
Shopify gives you two clean paths, and the right one depends on how comfortable you are editing theme files. Either way you avoid a bloated app. For a store that also books services, consultations, fittings, repairs, or installs, a chatbot answers questions and captures requests while you pack orders.
How do I add a chatbot to Shopify step by step?
From your Shopify admin, go to Online Store, then Themes. On your active theme, click the three-dot menu and choose "Edit code." In the file list, open Layout, then theme.liquid. Scroll to the bottom and find the closing body tag, then paste your chatbot snippet on the line just before it. Save the file.
Because theme.liquid wraps every page, the widget now loads across your whole store, product pages, cart, and homepage alike. Refresh your storefront to confirm the chat bubble appears.
Prefer not to touch code? Install a simple custom-code or header-and-footer app from the Shopify App Store, then paste the same snippet into its field. And if you want it handled for you, a provider with done-for-you setup can place the code directly.
Should I use theme.liquid or a Shopify app?
Editing theme.liquid is the leanest option because it adds nothing but your one snippet, while an app adds its own layer and permissions. If you are comfortable opening the code editor, theme.liquid gives you the cleanest, fastest result and full control over placement.
The catch with theme.liquid is that the snippet lives inside one theme. If you switch themes or duplicate one to redesign, you must paste the code again in the new theme.liquid. A custom-code app avoids that because it sits outside the theme, so the chatbot survives theme changes. Choose based on how often you reskin your store.
Whichever route you pick, keep the snippet just before the closing body tag so it loads after your content and does not delay the storefront.
What should I look for in a Shopify chatbot?
Pick a chatbot that trains on your own store content, so it already knows your products, policies, hours, and services without manual scripting. The tools worth your time read your pages and answer in your voice, which keeps replies accurate as your catalog changes.
Look closely at billing. A busy store can generate a lot of conversations, so per-conversation pricing can spike unpredictably during a sale or a rush. Flat monthly pricing stays steady no matter the traffic. Also confirm the chatbot captures leads and booking requests and delivers them by email or webhook, so service inquiries reach you fast.
Clerkzo uses flat pricing from $19 with no per-conversation fees, trains on your store pages, and works alongside your existing tools. See the industries it fits before you commit to anything.
Will a chatbot slow down my Shopify store?
Placed correctly before the closing body tag, a lightweight chatbot loads after your storefront paints, so shoppers see products first and the chat bubble follows. Speed matters on Shopify because slow pages hurt conversions, so avoid heavy apps that stack extra scripts.
Test after installing. Run a product page on mobile, watch the load, and confirm the chat bubble does not cover the add-to-cart button. If it overlaps a key element, adjust the widget's position from the chatbot's own dashboard instead of editing more Shopify code. Keep the setup lean and your store stays quick.
Key takeaways
- Paste the snippet into theme.liquid just before the closing body tag, or use a custom-code app.
- theme.liquid is leanest but must be re-added if you switch themes; an app survives theme changes.
- Choose a chatbot that trains on your store pages and delivers leads by email or webhook.
- Flat monthly pricing beats per-conversation fees when a sale drives heavy traffic.
Frequently asked questions
Will editing theme.liquid break my store? It should not, as long as you paste the snippet on its own line just before the closing body tag and save. If anything looks off, remove that line to revert. Consider duplicating your theme first as a backup.
Do I need to re-add the code if I change themes? If you used theme.liquid, yes, because the snippet lives in that theme. A custom-code app avoids this since it sits outside the theme and keeps the chatbot active across theme changes.
Can the chatbot take bookings alongside my Shopify checkout? Yes. It answers questions and captures booking or service requests, then delivers them to you. It complements your checkout and scheduling tools rather than replacing them. See our website chatbot guide.
Clerkzo is an AI chat widget that trains on your Shopify pages and captures leads 24/7 from one line of code. See it on your site.