ZOCIALDMOpen dashboard

‹ All guides

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

  1. 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>
  2. Connect Claude

    Go to Settings › AI Agent › Account and sign in. This turns on AI replies, translation and API calls for this website.

How ordering works: you connect your store under Settings › AI Agent › Connectors. Claude can only call the stores and APIs you connect. Before it creates or changes anything, it shows the customer a summary and waits for a clear "yes".

Connect Shopify

About 15 minutes. You need to be the store owner or have permission to develop apps.

  1. 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.

  2. 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.
  3. 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_ID and YOUR_CLIENT_SECRET with 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".
  4. 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