# 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="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FrOL0gRsU7XUfqUWQ1KNR%2FAPI1.png?alt=media&#x26;token=022261a7-be4f-413a-92ab-237c222ff712" 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="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2F8cxr917FUQN5NjhTba6x%2FAPI12.png?alt=media&#x26;token=7c4b1035-5d9c-40d6-bfed-116707d135c8" 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="https://794987320-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MCRVg-TYx3gVa2Tqtf_%2Fuploads%2FjDwJNZghZa8pXbFhoXLo%2FAPI13.png?alt=media&#x26;token=b3a95b4c-b789-437d-beea-0d37049548f4" 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.
