ZOCIALDMOpen dashboard

‹ All guides

Let AI take orders on WordPress

Add the chat to your WordPress site and connect WooCommerce. Claude can then check stock, answer price questions and create orders with a payment 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 WooCommerce

About 10 minutes. You need admin access to WordPress and WooCommerce installed.

  1. Add the chat to your site

    Install the free WPCode plugin (Plugins › Add New › search "WPCode"). Then go to Code Snippets › Header & Footer, paste your embed code into the Footer box and save.

    Prefer no plugin? Paste the embed code just before </body> in your theme's footer.php (use a child theme so updates don't remove it).

  2. Create a WooCommerce API key

    Go to WooCommerce › Settings › Advanced › REST API › Add key. Give it a description like "ZocialDM", pick a user with shop manager rights, set Permissions to Read/Write, then click Generate API key. Copy the Consumer key (ck_…) and Consumer secret (cs_…). They are shown only once.

    Your site must use HTTPS. Read/Write is needed to create orders. Use Read if you only want Claude to answer stock and order-status questions.
  3. Connect your store in ZocialDM

    Open Settings › AI Agent › Connectors and click WooCommerce. The instructions box starts with a ready-made template: replace https://your-store.com, ck_YOUR_KEY and cs_YOUR_SECRET with your store address and the key you just created, then click Add connector. Running more than one store? Add another WooCommerce connector for each.

    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, start a chat and type something like "I'd like the blue T-shirt in M". Claude finds the product, checks stock, asks for your details and confirmation, then creates a Pending payment order and sends the payment link. You'll see the order in WooCommerce › Orders.

Tips for good results