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: install the app from the App Store

BotChata: AI Sales Agent is live in the Shopify App Store with the Built for Shopify badge. It installs without touching code:

  1. Open the app listing (or search BotChata in the App Store) and install it.
  2. Accept the permissions — the setup wizard creates your agent and starts indexing the store.
  3. If the bubble doesn't show up on your storefront, enable it under Online Store → Themes → Customize → App embeds and Save.

Method B survives theme updates, which Method A does not — after a theme update you have to paste the script again. The trade-off: installed this way, the subscription is billed through Shopify in US dollars ($39 / $119 / $299) instead of directly on botchata.net.

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? Not necessarily — a single script tag in theme.liquid is enough, on any Shopify plan. But the app does exist: BotChata: AI Sales Agent, with the Built for Shopify badge. Installing it is the update-safe route, and billing then runs through Shopify in US dollars.

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 $39/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.