# Connect WooCommerce

Connect a WooCommerce store using its address and API keys.

> Documentation index: https://tcgstats.com/docs/llms.txt

WooCommerce connects through keys created in your WordPress store. The keys allow TCG STATS to create products and keep stock updated.

## Create WooCommerce keys

In WordPress:

1. Open **WooCommerce → Settings**.
2. Open **Advanced → REST API**.
3. Add a new key for TCG STATS.
4. Give the key read and write permissions.
5. Copy the consumer key and consumer secret.

The secret is shown when the key is created. Store it safely until the connection is complete.

## Connect the store

1. Open **Settings → Connections** in TCG STATS.
2. Find WooCommerce.
3. Enter the full store URL, including `https://`.
4. Enter the consumer key.
5. Enter the consumer secret.
6. Select **Connect**.

TCG STATS checks the store and creates the connection.

## If the check fails

- Confirm the store URL opens without a login screen.
- Include `https://` in the URL.
- Check that the keys have read and write access.
- Confirm WordPress permalinks are enabled.
- Check whether a security plugin blocks the WooCommerce API.

Revoke unused keys in WooCommerce after disconnecting a store.

Source: https://tcgstats.com/docs/marketplaces/woocommerce
