BotChata
Get started

How to Add an AI Chatbot to Your Shopify Store — Step by Step in 5 Minutes

↑ Part of AI chatbot for your website

In short: You create an AI agent in BotChata, let it index your store, and paste a single script tag into your Shopify theme. From then on, the chatbot answers shopper questions 24/7 — shipping, returns, sizing, "is this in stock?" — using your store's own content, in 40+ languages. No coding. GDPR-compliant, hosted in Germany (EU).

Start free — no credit card · Live in 5 minutes · Free plan forever

Why store owners do this: most support tickets are the same handful of questions — where's my order, what's your return policy, do you ship to X. A chatbot that knows your store answers them instantly, cuts ticket volume, and keeps shoppers from bouncing at checkout.

What You Need (Prerequisites)

Part 1 — Set Up BotChata (about 3 minutes)

Step 1: Create an account and an agent

Sign up at botchata.net and open the dashboard. Go to "AI Agents" → "New Agent", give it a name (e.g. your store name), and confirm.

The free start needs no credit card — just your email. (You can optionally activate the 7-day Premium-features trial later with a card; not needed for this guide.)

Step 2: Let it index your store

On the agent, open the "Links / Sources" tab and click "Add source". Enter your store URL and choose "Add entire website".

BotChata reads your product pages, policies, FAQ and collections, and turns them into the knowledge base. For a typical store this takes 1–3 minutes. The status changes from "Indexing" to "Ready".

Why this matters: the bot answers only from your indexed store content — your real shipping policy, your real return window. If something isn't on your site, it says so honestly instead of inventing a policy. That protects you from wrong promises.

Step 3: Quick test

Switch to the "Overview" tab and ask typical shopper questions in the live preview ("Do you ship to Germany?", "What's your return policy?"). If the answers match your store, you're ready to embed.

Step 4: Copy the embed code

Open the agent's install / embed view and copy the script tag. It looks like this:

<script
  src="https://botchata.net/api/widget.js"
  data-api-key="YOUR_KEY"
  data-api-url="https://botchata.net/api"
  defer
></script>

The defer attribute makes the widget load asynchronously so it won't slow your store down (Core Web Vitals matter for conversion). The widget runs in an isolated Shadow DOM — it can't interfere with your theme.

Part 2 — Add the Code to Shopify (about 2 minutes)

You have two ways. Method A (theme code) works on every Shopify plan.

✅ Method A (recommended): edit theme.liquid

  1. In your Shopify admin: Online Store → Themes.
  2. On your current theme, click ⋯ → Edit code.
  3. Under Layout, open theme.liquid.
  4. Scroll to the closing </body> tag and paste the BotChata script directly before it.
  5. Save. Done — the widget now loads on every storefront page.

Editing theme.liquid adds the script to the whole storefront safely. (Duplicate your theme first if you want a backup — Themes → ⋯ → Duplicate.)

Method B: a theme app embed (when available)

If BotChata is available as a Shopify app, you can enable it without touching code:

  1. Online Store → Themes → Customize.
  2. Open App embeds (the puzzle-piece icon in the left sidebar).
  3. Toggle BotChata on, paste your API key in the field, and Save.

Method B is the cleanest if the app exists — it survives theme updates. Otherwise use Method A.

Optional: Deeper E-commerce Integration

The steps above add the chatbot via your store content — it answers from your product pages, policies and FAQ. That covers most support questions out of the box.

For stores that want the bot to do more — live order status ("where's my order?"), real-time stock, or catalog-aware product help — BotChata offers a deeper Shopify integration that connects to your store data, not just your pages. That's a separate setup beyond this script install.

Rule of thumb: the script install (above) answers questions from your site; the deeper integration answers questions from your store's live data. Most stores start with the script and add the integration later.

Step 3 — Check That It Works (Verification)

  1. Open your storefront in a new private/incognito window.
  2. The BotChata bubble appears in the bottom-right.
  3. Click it and ask a real shopper question ("Do you ship internationally?").
  4. The bot should answer within seconds with content from your store.

See the widget? You're live. 🎉

GDPR Note

Common Problems (Troubleshooting)

ProblemFix
The widget doesn't appear.Make sure you saved the script before </body> in theme.liquid on the active theme (not a draft). Clear the browser cache.
It shows on the store but not at checkout.Checkout pages are locked except on Shopify Plus. The widget runs on all storefront pages — that's where shopper questions happen.
The bot answers "I don't know".That page/policy may not be indexed. In BotChata, check under "Sources" and re-index (one click).
The widget clashes with the theme.The Shadow DOM should prevent this. If it still happens, adjust position/z-index in the Widget Builder (Business plan and up).
Answers in the wrong language.BotChata auto-detects the shopper's language (40+ languages) — useful for cross-border stores. Test in a fresh window.

FAQ

Does BotChata need a Shopify app? No. A single script tag in theme.liquid is enough. If a BotChata Shopify app is available, the app-embed method (Method B) is an easier, update-safe alternative — but it's not required.

Will the bot know my products and policies? Yes — it indexes your store's pages (products, collections, shipping/return policies, FAQ) and answers from them. For live order status and real-time stock, see the deeper integration above.

Is this GDPR-compliant? Yes. Hosted in Germany (Hetzner), DPA included, no AI training on your data, controllable via your consent app. See the GDPR note above.

Does the bot make up answers? No. It answers only from your indexed store content. If a policy isn't on your site, it says so honestly instead of inventing one — so it never promises a return window or shipping option you don't offer.

What does it cost? The free start costs $0 (100 messages/month, no card). Paid plans start at $29/month — a fixed price per plan, no per-message credits (so a busy sale day won't spike your bill). (Your Shopify subscription is billed separately by Shopify.)

Will the widget slow down my store? No. It loads asynchronously (defer) in an isolated Shadow DOM and doesn't block your pages from rendering.

Start Now

Give your Shopify store a 24/7 AI assistant that knows your products and policies — in 5 minutes.

Start free — no credit card

Set up in 5 minutes. 100 messages/month free. GDPR-compliant, hosted in Germany.