> For the complete documentation index, see [llms.txt](https://docs.greytrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greytrix.com/pre-requisites-for-integrations/woocommerce/woocommerce-api-integration-configuration.md).

# WooCommerce API Integration Configuration

Below are the step-by-step instructions to configure the **WooCommerce API integration**.

#### 1. Login to WordPress Admin

Open your WordPress admin panel using the following URL:

<https://yourstore.com/wp-admin>

Enter your **Admin Username** and **Password** to log in.

<figure><img src="/files/ypQNbm6Jh0RYMTRpm10L" alt="" width="563"><figcaption></figcaption></figure>

#### 2. Navigate to WooCommerce Settings

After logging in:

1\.      Go to **WooCommerce → Settings** from the left navigation menu.

2\.      Click on the **Advanced** tab.

3\.      Under the Advanced tab, select **REST API**.

<figure><img src="/files/fUGMCF6rNdrIfOXAyZat" alt=""><figcaption></figcaption></figure>

This section is used to generate **API credentials** that allow external systems such as ERP, CRM, or middleware applications to integrate with WooCommerce.

#### 3. Create a New API Key

1\.      Click on **Add Key**.

2\.      A form titled **Key Details** will appear.

3\.      Fill in the required fields as shown below:

<figure><img src="/files/AXV7i6RJGKQdpVxkwcvV" alt=""><figcaption></figcaption></figure>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><strong>Field</strong></td><td valign="top"><strong>Example</strong></td></tr><tr><td valign="top">Description</td><td valign="top">ERP Integration</td></tr><tr><td valign="top">User</td><td valign="top">Admin</td></tr><tr><td valign="top">Permissions</td><td valign="top">Read/Write</td></tr></tbody></table>

Once the details are entered, click **Generate API Key**.

#### 4. Copy API Credentials

After the key is generated, WooCommerce will display the following credentials:

·       **Consumer Key**

·       **Consumer Secret**

Example:

```
Consumer Key: ck_xxxxxxxxxxxxx

Consumer Secret: cs_xxxxxxxxxxxxx
```

<mark style="color:$danger;">⚠</mark> <mark style="color:$danger;"></mark><mark style="color:$danger;">**Important:**</mark>\
The **Consumer Secret** will only be displayed once. Make sure to copy and store it securely.

These credentials are required for external applications to authenticate and communicate with WooCommerce through the API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.greytrix.com/pre-requisites-for-integrations/woocommerce/woocommerce-api-integration-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
