> ## Documentation Index
> Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify

Connect your Shopify store to Chatbase and turn your AI agent into a powerful e-commerce assistant. Your agent will be able to help customers browse products, track orders, manage their cart, and update their account details—all through natural conversation.

<Warning>
  **You do not need to add any embed code manually.** Once you install the Chatbase Shopify app — whether from Chatbase or the Shopify App Store — the chat widget is automatically added to your store. You do not need to copy or paste any embed script into your theme code.
</Warning>

## Integration Methods

You can connect your Shopify store to Chatbase in two ways:

| Feature           | Via Chatbase (Recommended)                                                                                  | Via Shopify Marketplace    |
| ----------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------- |
| Billing           | Through Chatbase                                                                                            | Through Shopify            |
| Available Add-ons | Auto recharge credits, Extra message credits, Extra AI agents, Custom Domains, Remove 'Powered By Chatbase' | Auto recharge credits only |
| Number of Agents  | Multiple Agents (only a single agent connected to the Shopify store though)                                 | Single agent per account   |
| Setup Location    | Chatbase Dashboard                                                                                          | Shopify App Store          |

<Note>
  We recommend connecting via Chatbase for full access to all features and add-ons.
</Note>

## Method 1: Connect via Chatbase (Recommended)

This method gives you access to all Chatbase features and add-ons.

### Step 1: Set Up Your Chatbase Agent

Before connecting Shopify, you'll need a Chatbase account and an agent ready to use. If you haven't set this up yet, [create a free Chatbase account](https://www.chatbase.co/auth/signup) and build your first AI agent. Make sure to make your agent public.

**Read More:** [Create your first Chatbase agent in minutes](/user-guides/quick-start/your-first-agent).

### Step 2: Find the Shopify Integration

1. Go to your [Chatbase dashboard](https://www.chatbase.co/dashboard/) and select the agent you want to connect to Shopify.

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-8.png?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=b93def9cd2fd5430712336afeb08c2f9" alt="image" width="2932" height="1590" data-path="user-guides/integrations/images/shopify/shopify-8.png" />
</Frame>

2. Click **Deploy** from the sidebar and make sure the **Chat Widget** toggle is switched on.

<Frame>
  <img src="https://mintcdn.com/chatbase/IvT0veE7UzRar7J8/user-guides/integrations/images/shopify/shopify-13.png?fit=max&auto=format&n=IvT0veE7UzRar7J8&q=85&s=e89d5299168394e018c714daa17660b8" alt="image" width="2940" height="1596" data-path="user-guides/integrations/images/shopify/shopify-13.png" />
</Frame>

3. Find the Shopify card and click **Setup**.

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-9.png?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=0cb289d33fd96b3f7890e0122e432e8f" alt="image" width="2914" height="1446" data-path="user-guides/integrations/images/shopify/shopify-9.png" />
</Frame>

### Step 3: Connect Your Store

1. Enter your Shopify store name, this is the subdomain of your myshopify.com URL. For example, if your store is at `mystore.myshopify.com,`enter`mystore`.

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-10.png?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=acd0b53cdde98c9615bb2b3555eaf5df" alt="image" width="1180" height="934" data-path="user-guides/integrations/images/shopify/shopify-10.png" />
</Frame>

2. Click **Submit** to start the authorization process.
3. Shopify will ask you to authorize Chatbase. Review the requested permissions and click **Install**.

4) Once authorized, you'll be redirected back to Chatbase with a confirmation message.

### Step 4: Manage your integration

1. On the same Deploy page, click **Manage** on the Shopify card

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-11.png?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=eefd4a43c4dfcfd02d516582ba4b82d8" alt="image" width="2924" height="1448" data-path="user-guides/integrations/images/shopify/shopify-11.png" />
</Frame>

2. Choose the theme you wish to embed your widget in and open your Shopify theme editor to configure the widget's display settings.

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-12.png?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=1c6e5f21320cfe2a693ae7f5fc4df0cc" alt="image" width="1226" height="1454" data-path="user-guides/integrations/images/shopify/shopify-12.png" />
</Frame>

***

## Method 2: Connect via Shopify Marketplace

Choose this method if you prefer to manage billing through Shopify. Keep in mind that this option has limited add-ons and only allows a single AI agent.

### Step 1: Install the Chatbase App

1. Go to the **Chatbase** app listing on the **Shopify App Store:** [https://apps.shopify.com/chatbase](https://apps.shopify.com/chatbase)
2. Click **Install**.
3. Review the permissions Chatbase requires and click **Install** to approve.

<Frame>
  <img src="https://mintcdn.com/chatbase/pEfT-KqiCKlvM7vs/user-guides/integrations/images/shopify/shopify-13.jpg?fit=max&auto=format&n=pEfT-KqiCKlvM7vs&q=85&s=d031e255eb1bb17ed9c7f93cbe3a6909" alt="image" width="2786" height="1693" data-path="user-guides/integrations/images/shopify/shopify-13.jpg" />
</Frame>

### Step 2: Complete Setup

1. After installation, you'll be redirected to Chatbase onboarding process to finish setting up your account.
2. Follow the prompts to configure your agent.
3. Open your Shopify theme editor to configure the widget's display settings.

<Warning>
  Accounts created through the Shopify Marketplace are limited to a single agent. For multiple AI agents or additional add-ons, use Method 1 instead.
</Warning>

***

## Next Steps

Once your Shopify store is connected, you'll need to enable **actions** that allow your agent to assist customers with product searches, order lookups, cart management, and more.

<Frame>
  <img src="https://mintcdn.com/chatbase/PgxYeKpVzBk6jlBN/user-guides/integrations/images/shopify/Shopify%20Actions.png?fit=max&auto=format&n=PgxYeKpVzBk6jlBN&q=85&s=9258277f79e7e4b4dec1f6d89e072b20" alt="Shopify Actions" width="1756" height="1192" data-path="user-guides/integrations/images/shopify/Shopify Actions.png" />
</Frame>

<Card icon="bolt" href="/user-guides/chatbot/actions/shopify-actions" title="Shopify Actions">
  Learn how to configure and use Shopify actions to help customers browse products, track orders, manage their cart, and update their account information.
</Card>

<iframe width="100%" height="400" src="https://www.youtube.com/embed/A-5U72lw7Hk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />
