---
title: "Connect WooCommerce or your own shop"
description: "Connect WooCommerce or your own shop API so your team sees orders next to the conversation and Kai can look up orders, suggest products and start returns."
url: https://help.gleap.ai/en/articles/16751969-connect-woocommerce-or-your-own-shop
collection: "Apps and integrations"
updated: 2026-11-22
language: en
---

# Connect WooCommerce or your own shop

Connect WooCommerce or your own shop API so your team sees orders next to the conversation and Kai can look up orders, suggest products and start returns.

Connect your online shop and your team sees each customer's orders next to the conversation. Kai can answer "where is my order?" itself, recommend products, check discount codes and start a return. This article covers WooCommerce and **Your shop API**, for a shop you built yourself. For Shopify, see its own article. Available on Growth and up (Team on older plans). Only project admins see **Apps** in Settings.

### Connect WooCommerce with the plugin

The plugin is the easiest way. It also syncs your shop's customers as contacts and recognises signed-in customers in the messenger.

1.  In WordPress, go to **Plugins → Add New**, search for Gleap and install it.
    
2.  Open Gleap in WordPress and click **Connect to Gleap**.
    
3.  Gleap opens in your browser. Pick the **Project**, or use **Create and connect** for a new one, then click **Connect**.
    

The WooCommerce connection in Gleap now shows **Connected**.

### Connect WooCommerce without the plugin

1.  Go to **Settings → Apps**, click **Add app**, search for WooCommerce and click **Connect**. Under **What should WooCommerce do?**, keep the jobs you want ticked and click **Continue with WooCommerce**.
    
2.  Enter your **Store address**, for example `https://shop.example.com`.
    
3.  Click **Connect with WooCommerce**. Your store opens and asks you to approve read and write access for Gleap.
    

If that doesn't work for your store, open **Enter keys manually**. In WordPress, create a key under **WooCommerce → Settings → Advanced → REST API → Add key** with Read/Write access, paste the **Consumer key** and **Consumer secret**, and click **Save keys**.

Without the plugin, orders and returns work, but contacts don't sync. To let Kai show signed-in customers their orders, turn on **Show signed-in customers their orders**, which needs customers signed in with an [identity token](https://help.gleap.ai/en/articles/230-identify-users-and-send-attributes-and-events.md).

### Connect your own shop

Your shop needs a small API that Gleap can call. The developer guide **Your shop API** describes the endpoints and the JSON they return.

1.  Go to **Settings → Apps**, click **Add app**, search for Your shop API and click **Connect**. Under **What should your shop API do?**, keep the jobs you want ticked and click **Continue with your shop API**. The **Connect your shop API** form opens.
    
2.  Enter the **Base URL** of your API. It must use https. Gleap adds paths such as `/orders/1042` to it.
    
3.  Under **Headers**, add what your API needs to accept the call, usually `Authorization` with a `Bearer` token. Click **Add header** for more.
    
4.  Click **Test connection**. Gleap calls `GET /products?q=test` with your headers.
    
5.  Click **Connect**. The dialog says **Your shop API connected**; click **Done**.
    

![WooCommerce store address using the reserved example.com domain in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/qPIEDx6yFltRVZGNZGP7uomMd15aQWMvid7OMOpXmnnin5Z4b47CFpjJ66lmJBmAYcRCQZaE1mh.png)

![WooCommerce manual-key setup with empty credentials in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/BNpQv1wKJAecsmRHgPZjvUpwfLvl0jt5ytn4TPIiiccMewt6HsebS8l5NbMuFzQRuR5KQ0kx7DJ.png)

![Custom shop API setup using a fictional example.com endpoint in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/cHDpGml01FjKS1OIYsh2zzYYW0NC9i9jwPU00rmwqY0BIKblvb2EMGXq7HOE83dMKFbW69zN3yo.png)

### Choose what Kai can do

Open the connection. Under **What Kai can do**, switch on:

-   **Kai looks up orders**: order status, shipping and tracking, only for the customer who placed the order.
    
-   **Kai recommends products**.
    
-   **Kai starts returns**: the customer confirms in the chat. With WooCommerce you get a note on the order and send the return label yourself. With your shop API, Gleap calls your returns endpoint.
    
-   **Kai shares discount codes**: Kai checks that a code is valid before it shares it.
    

Kai shows the results as cards in the chat, for example a form to find an order by number and email. Starting a return begins as **Ask first**; you change that under **What Kai may do** on the same page.

> **Info:** Kai can't refund or cancel WooCommerce orders or orders in your own shop. Your team handles those in the shop itself.

### In the inbox

When the customer is matched to an order, the ticket sidebar shows a **WooCommerce** or **Shop** panel with their orders, and buttons such as **Open order** and **Track package**. A customer matched only by email, without a verified login, is marked **Matched by email, not verified**.

### Related

-   [Browse every integration and what it does](https://help.gleap.ai/en/articles/351-browse-every-integration-and-what-it-does.md)
    
-   [Connect Shopify](https://help.gleap.ai/en/articles/354-connect-shopify.md)
    
-   [Choose what agents may do in each app](https://help.gleap.ai/en/articles/16751966-choose-what-agents-may-do-in-each-app.md)
    
-   [Identify users and send attributes and events](https://help.gleap.ai/en/articles/230-identify-users-and-send-attributes-and-events.md)
