# WooCommerce

> Connect a WooCommerce store with API keys so the agent can answer order questions.

Source: https://www.hey.support/docs/integrations/woocommerce

---

WooCommerce connects to your store so the agent can look up orders and answer from your live catalog, the same way it does on Shopify.

## Connect a store

Go to **Settings, Connections** and open the WooCommerce connect dialog. Enter your store URL and approve the connection **inside your own WordPress admin** — one click, no keys to copy. The same approval also connects your storefront catalog, so [Ecommerce](/docs/capabilities/ecommerce) works straight away.

### If the one-click approval will not work

Two situations need the manual path, and the dialog offers it:

* WordPress cannot reach a site on `localhost` or a non-standard port, so local development has to paste keys.
* A store on **Plain** permalinks does not expose the approval endpoint.

For those, generate a **consumer key** and **consumer secret** in your WordPress admin under WooCommerce, Settings, Advanced, REST API — read access is enough for order lookups — and paste them with your store URL.

Your secret is encrypted at rest and is only ever used to call your store's API.

## Link the store to an agent

Like Shopify, a connected WooCommerce store can power several agents. Link it to a specific agent from that agent's **Integrations** page.

## What the agent can do

With a store connected, the agent can:

* Look up an order
* Update a shipping address
* Create a coupon

These run as [AI Actions](/docs/capabilities/ai-actions). A coupon, being a money action, can require your approval first.

<Callout>
  If you run WooCommerce, you can also connect it straight from the [WordPress plugin](/docs/integrations/wordpress), which hands the details over for you.
</Callout>
