How to add an AI chatbot to your Shopify store
Shoppers ask the same things all day: shipping times, returns, sizing. Train AgenBase on your policy pages and product documents, then add one line to your theme so the chatbot answers on every page of your store.
About 10 minutes · No coding beyond pasting one line
Step by step
- 1
Create your chatbot
Sign up to AgenBase, import your shipping, returns and FAQ pages (or upload documents), test the answers, then click Go live.
- 2
Copy your snippet
On the chatbot's Install tab, copy the script tag.
- 3
Open your theme code
In your Shopify admin, go to Online Store → Themes. Next to your current theme, click the ⋯ button and choose Edit code.
- 4
Paste before the closing body tag
In the Layout folder, open theme.liquid. Find </body> near the end and paste the snippet on the line just above it.
- 5
Save
Click Save. The change is live right away.
Check it works
Open your storefront in a new tab (not the theme editor). The chat button appears in the bottom corner.
What your chatbot does once it's installed
Answers from your content
Only from the pages and documents you add, with a numbered source on each answer.
Speaks your visitors' language
It replies in the language the visitor writes or speaks in.
Captures leads
When someone wants a person, it collects their details and sends you an AI summary (Pro and Business).
Books appointments
Visitors pick a free time in the chat; no double bookings (Pro and Business).
Troubleshooting and questions
I installed it but nothing appears
The chat bubble only shows once the chatbot is live. Open the chatbot in AgenBase, click Go live, then reload your site. Ad blockers can also hide chat widgets, so try a private window.
It disappeared after I changed theme
The snippet lives in the theme. Repeat the steps in the new theme's theme.liquid.
Does it show on checkout?
No. Shopify doesn't allow custom scripts on checkout pages. The chatbot works on every other page of your store.
Can it look up orders or stock?
No. It answers from the content you add, such as policies and product pages. It isn't connected to your orders or inventory.
What does it cost?
AgenBase is free for 50 messages a month, with no credit card. Paid plans start at $29 a month for 1,500 messages and 3 chatbots.
Let your website answer for you, day and night
Create your first chatbot for free. Add a few documents, test it in the playground, and put it on your site today.
No credit card required