> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to generate WooCommerce API key (permission)

Follow these steps if you haven't created WooCommerce API keys before. 

Before generating the **WooCommerce API key**, there is a simple step that needs to be considered:  
  
a. Log in to your WordPress admin panel and go to **Common** **Settings > Permalinks**

b. Ensure that Permalinks is **NOT** Plain

![](https://storage.crisp.chat/users/helpdesk/website/fedb29b428675000/027f8e46-f350-47d4-a5c5-098124_161o4we.png)

||| Please ensure the Settings > Permalinks is NOT set to Plain

  
Follow the steps below to generate the WooCommerce API keys:

Step 1: Go to **WooCommerce > Settings**  

![](https://storage.crisp.chat/users/helpdesk/website/4dd198ab0e79c40/61c7040c-ba61-43ad-a072-65d377_odnnu.png)

Step 2: On the Settings page navigate to the **Advanced** tab and select **Rest API**. Click **Add key** or **Create an API key** button.

![](https://storage.crisp.chat/users/helpdesk/website/cebdf3425309c000/947b2b6a-659d-444c-9ffb-3aaac1_1m9aojn.png)

Step 3: Fill up the form. Give a proper description of your key. Select your user, usually, it is you as an Admin or another user who has Admin privileges in your site. Also, set the permission to **Read/Write**. Click **Generate API key** button.

![](https://storage.crisp.chat/users/helpdesk/website/70065b0768cff400/cd4cad8d-9713-4037-8daf-fa0857_40pl14.png)

Step 4: Your API keys will be generated. We need both the **Consumer Key** and **Consumer Secret**. Copy both Consumer Key and Consumer Secret.

![](https://storage.crisp.chat/users/helpdesk/website/3c9e0b3138316800/b9489a63-e750-4c18-a71e-810eee_1mmymz5.png)

Step 5: Paste your **WooCommerce Consumer and Secret keys** into the syncX: Stock Sync page. If your store API becomes inactive, you'll need to re-enter new API keys.

![](https://storage.crisp.chat/users/helpdesk/website/-/b/2/1/9/b219050a5836c000/screenshot-2026-02-10-at-53024_qkmiky.png)
