---
title: Shopify
description: Connect your Shopify store so the AI shows products as cards with Add to cart and tells shoppers where their order is.
section: Chat and knowledge
order: 9
---

Connect a Shopify store and your products become part of what the AI knows. Shoppers ask in their own words ("trail shoes under $100") and get **product cards** with the photo, price and options, plus **Add to cart**, which adds to their own cart on your store. They can also ask **where their order is**.

PandaDesk only reads your store. It never places orders, changes them or issues refunds; those go to your team.

Shopify is on the Pro plan.

## Connect your store

1. Install PandaDesk from the Shopify App Store, or choose **Install from Shopify** under **Integrations → Shopify** in PandaDesk.
2. In Shopify, approve read access to products and orders.
3. Shopify brings you back to PandaDesk. Sign in (or start a trial) and choose the workspace whose AI should answer your shoppers.

Opening PandaDesk from **Apps** in your Shopify admin takes you straight to the connected workspace. If a store ever shows **Reconnect**, choose it to approve access again.

Your products sync right away, again every day, and whenever you change a product in Shopify. Only active products are synced, up to your plan's limit.

## Show the chat on your store

In PandaDesk, go to **Integrations → Shopify** and choose **Turn on chat in your theme**. Your theme editor opens with **PandaDesk chat** already switched on under **App embeds**. Check the preview and choose **Save**. There's no key to paste: the chat uses the workspace your store is connected to.

You can also turn it on yourself under **Online Store → Themes → Customize → App embeds**. To show a different workspace's chat, paste that workspace's public key into the embed's settings (from **AI agent & widget → Install**).

Your store's domain is added to your [allowed websites](/docs/security-and-privacy) when you connect.

## Add to cart

Product cards have an **Add to cart** button. It runs in the shopper's browser and adds to their own cart through your theme's cart, so nothing changes for checkout. PandaDesk then fires `cart:updated` and `cart:refresh` events so your theme's cart icon updates. A theme that listens for other events can register its own action instead: see [browser actions](/docs/cards-and-actions#browser-actions).

Cards also have **View** (the product page) and **Buy now** (straight to checkout with that item).

## Order status

Shoppers can ask where their order is:

- **Signed-in customers** ([signed identity](/docs/signed-identity)) just ask: the AI looks up the orders for their verified email.
- **Guests** give the email they used at checkout and their order number. Both must match.

The AI answers with the order's status, items, total and tracking, and shows the order as a card with **Track package** and **Order details**. Order data is never cached or shown to anyone else. Returns, exchanges and refunds are handed to your team.

## Customer privacy requests

When a customer of your store asks Shopify for their data or to be forgotten, Shopify passes the request to PandaDesk:

- **Data request:** PandaDesk gathers what it holds about them (their contact, their chats with your store and your team's notes, matched by email) and emails your workspace's admins a link to download it. Send it to the customer. The download is kept for 30 days.
- **Erasure request:** PandaDesk deletes their contact, chats and notes from the workspace.

This keeps working after you uninstall the app, because Shopify can send these requests later.

## Disconnect

**Integrations → Shopify → Disconnect** removes the store's products from the AI's knowledge and uninstalls the PandaDesk app from your store. Uninstalling from Shopify does the same.

## With your coding agent

- `shopify_status` lists connected stores (products, last sync, errors) and gives a link to connect one.
- `shopify_sync` re-syncs a store's products now.
- `test_question` shows the cards a question would get.
