Let AI take orders on Shopify
Add the chat to your Shopify theme and connect your store. Claude can then check stock, answer price questions and create orders with a checkout link. It always asks the customer to confirm first.
Before you start
Create your website in ZocialDM
Open the dashboard, then Settings › Website & embed. Copy your embed code. It looks like this:
<script src="https://zocialdm.com/widget.js" data-project="YOUR_KEY" async></script>Connect Claude
Go to Settings › AI Agent › Account and sign in. This turns on AI replies, translation and API calls for this website.
Connect Shopify
About 15 minutes. You need to be the store owner or have permission to develop apps.
Add the chat to your theme
In Shopify admin go to Online Store › Themes, click ⋯ › Edit code on your live theme and open
layout/theme.liquid. Paste your embed code just before</body>and click Save.Create an app for API access
Go to Settings › Apps › Develop apps › Build apps in Dev Dashboard, then Create app and name it "ZocialDM". Give it these Admin API access scopes:
read_products,read_inventory,read_orders,write_draft_orders. Release a version and install the app on your store.From the app's Settings page, copy the Client ID and Client secret.
Apps made in the Dev Dashboard don't show a permanent access token. Claude exchanges the client ID and secret for a token that lasts 24 hours, following the connector's instructions. A custom app you made in Shopify admin before January 1, 2026 still works: replace the "Get a token" step with its Admin API access token.Connect your store in ZocialDM
Open Settings › AI Agent › Connectors and click Shopify. The instructions box starts with a ready-made template: replace
your-store.myshopify.com,YOUR_CLIENT_IDandYOUR_CLIENT_SECRETwith your own, then click Add connector. Claude gets a fresh access token at the start of each chat, as the template describes.Want to change how Claude uses the store, for example a maximum order size? Add a line to the connector's instructions, like "Never sell more than 5 pairs per order".Try it
Open your store in a private window and ask the chat for a product. Claude checks the variants, confirms with you, creates a draft order and replies with a checkout link. The order shows in Orders › Drafts and becomes a real order once the customer pays.
Tips for good results
- Add your shipping rules, return policy and opening hours under Settings › AI Agent › Instructions. Claude answers from them.
- Create a separate API key just for ZocialDM so you can revoke it at any time.
- Watch the first few orders in the dashboard. You can turn off auto-reply for any chat and take over.