> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autoadify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect WooCommerce

> Create a REST API key in WordPress and paste it into Autoadify. About 5 minutes.

WooCommerce connects with an API key you create in your WordPress admin.

## Before you start

* You need an **administrator** login for your WordPress site.
* Your site must use **https** and have WooCommerce installed.
* In **Settings → Permalinks**, choose anything except **Plain**, or the API won't work.

## Part 1: Create the API key in WordPress

**1. Open the REST API settings**

In your WordPress admin, go to **WooCommerce → Settings → Advanced → REST API**.

**2. Add a key**

Click **Add key** (or **Create an API key**).

**3. Fill in the details**

* **Description:** *Autoadify*
* **User:** your administrator account
* **Permissions:** **Read/Write**

**4. Generate it**

Click **Generate API key**. WordPress shows a **Consumer key** (starts with `ck_`) and a **Consumer secret** (starts with `cs_`).

**5. Copy both now**

Copy both into a safe place. WordPress shows the secret only once.

## Part 2: Connect in Autoadify

**1. Open the connect dialog**

Go to **Your store** (or **Accounts → Integrations**) and click **Connect** next to **WooCommerce**.

**2. Paste your details**

* **Site URL:** your store's address, for example `https://www.yourstore.com`
* **Consumer key:** the `ck_…` value
* **Consumer secret:** the `cs_…` value

**3. Connect**

Click **Connect**. You'll see *WooCommerce connected, syncing your products*, and your first week is drafted next.

![Connect WooCommerce dialog](https://mintcdn.com/autoadify/3D-Du4b-F2I1oS_q/help/images/02-connect-woocommerce.png?fit=max\&auto=format\&n=3D-Du4b-F2I1oS_q\&q=85\&s=86d6d94a9092337a12ed2a0d1935b970)

Connect WooCommerce with your site address and API key (example values)

## Troubleshooting

| Problem | Fix |
| - | - |
| "Couldn't connect" or 401 error | Check the key and secret were copied in full, with no spaces, and the key has **Read/Write** permission |
| 404 error | Set **Settings → Permalinks** to anything except Plain; check the Site URL is your store's address |
| Connected but no products | Check products are **Published** and have a featured image |
| Security plugin or firewall | Allow requests to `/wp-json/wc/` from outside, or whitelist Autoadify |

To disconnect later, delete the key under **WooCommerce → Settings → Advanced → REST API**, or click **Disconnect** in Autoadify.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.