> For the complete documentation index, see [llms.txt](https://alhena.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alhena.gitbook.io/docs/integrations/ecommerce/platforms/integrating-alhena-ai-with-woocommerce.md).

# WooCommerce

Integrate Alhena with WooCommerce to provide AI-powered customer support with real-time order and product information.

## Prerequisites

* A WooCommerce store with admin access
* Your store URL (e.g., `https://mystore.com`)

## Setup

### Step 1: Enable WooCommerce in Alhena

1. In Alhena, go to **Settings > Integrations**
2. Find **WooCommerce** and toggle it on
3. You'll be taken to the WooCommerce configuration page

### Step 2: Connect Your Store

1. Enter your **Store Name** (a friendly name to identify your store)
2. Enter your **Store URL** (the full URL of your WooCommerce store, e.g., `https://mystore.com`)
3. Click **Connect**

You'll be redirected to your WooCommerce store to authorize the connection. Log in with your WooCommerce admin credentials and approve the access request.

After authorization, you'll be redirected back to Alhena with your store connected.

***

## Enabled Agents

When you connect your WooCommerce store, the following agents are enabled:

| Agent                      | Description                                                                |
| -------------------------- | -------------------------------------------------------------------------- |
| **Order management agent** | Handles order inquiries, tracking, and order-related customer support      |
| **Product expert agent**   | Provides detailed product information, specifications, and recommendations |

You can configure these agents in **AI Settings > Agents**.

***

## Recommended: Add Your Store to Training

After connecting, we recommend adding your WooCommerce store's domain to your training URLs so Alhena can learn from your product pages and help articles. See [Training on Websites](/docs/ai-configuration/data-sources/websites.md) for more information.

***

## Disconnecting

To disconnect your WooCommerce store:

1. Go to **Settings > Integrations > WooCommerce**
2. Click **Disconnect**
3. Confirm the disconnection

This will disable the WooCommerce-connected agents and revoke access to your store data.
