How to add an AI chatbot to your Shopify store

Start for free

About this integration

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 agent answers on every page of your store.

What your agent can do

  • Answers from your content: only from the pages and documents you add, and says so when it doesn't know.
  • Speaks your visitors' language: it replies in the language the visitor writes in.
  • Captures leads: collects contact details with an AI summary (Pro and Business).
  • Books appointments: visitors pick an open time in the chat (Pro and Business).

How it works

  1. 1

    Create your AI agent

    Sign up to AgenBase, import your shipping, returns and FAQ pages (or upload documents), and test the answers in the builder.

  2. 2

    Copy your snippet

    On the agent's Install tab, copy the script tag.

  3. 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. 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. 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.

Explore other integrations. The same agent, the same knowledge, on whichever site you run.

WordPress

Build a custom AI chatbot for your WordPress website for free: train it on your pages and documents, then paste one line with a free footer plugin.

WooCommerce

Add an AI chatbot to your WooCommerce shop that answers customer questions from your shipping, returns and product pages.

Webflow

Add an AI agent to your Webflow site: paste one line into Footer code and publish.

Wix

Add an AI agent to your Wix website with Custom code settings.

Questions, answered.

Can't find your answer? The team replies within one business day.

Do I need a developer to build a Shopify chatbot?

No. Custom Shopify chatbot development usually means weeks of work. Here you build the chatbot in AgenBase from your store's pages and documents, test it, and paste one line into your theme. It takes about ten minutes.

Is it a Shopify app?

No. There's no app to install from the Shopify App Store and no extra app permissions: the chat loads from one script line in your theme.

I installed it but nothing appears

The chat bubble only shows while the agent is enabled. In AgenBase, open Agents, check the agent isn't disabled (Enable agent in its menu), 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 agent 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 credits a month, with no credit card. Paid plans start at $35 a month for 1,000 shared credits and one included agent. Additional agents cost $20/month each on paid plans.

Put your knowledge to work.

Give visitors the answers they need and a clear next step. Build your agent, match your brand, and start turning conversations into leads and bookings.

Start for free