Obtaining WooCommerce Consumer Key and Consumer Secret
A Step-by-Step Guide to Generating Consumer Key and Secret in Woocommerce.
Step-by-Step Guide
1. Log in to Your WooCommerce Site
- Access your WooCommerce site by logging in with your credentials.
2. Navigate to WooCommerce Settings
- Once you are on the dashboard, navigate to the WooCommerce "Settings".
- Click on the “Advanced” button.
![](https://lh7-us.googleusercontent.com/smHaUki-Z6Sy9kbRt5CXzTpO5PgSbDcaVx0ES07SNk8T-5gzRjnTiC5AfZQqDAZ4zT9Gx-zcbbsINc3PuE1MFZX693M_uQh759Igv5glTptamOjqJ04oBVtvNnrM1wYgb0oHnWcU3x2c4hpuYLHlOYA)
3. Access the REST API Section
- In the Advanced settings, locate and click on the “Rest API” button.
- Select “Add key” to create a new API key.
![](https://lh7-us.googleusercontent.com/9m6VPX6jhB0DV_m08AWW_Iz0ozQOprJwzSuiIKYbBjp0XoZklHKLRP9hWZfY_2vxQ1hQNwQT-f-lXB4fXqKxOb1ts3v7IPHl9Yx8YIpWCJmbVAIvcCG-8-f50mSzHxV25ntTbk58RFbpE38FvUovFQ4)
4. Fill in the API Key Details
- Description: Enter a descriptive name for the API key. This helps in identifying the purpose of the key.
- User: Select a user from your WooCommerce site who will be associated with this key. This user should have “Read/Write” permissions.
- Permissions: Choose “Read/Write” to give full access to the API.
- Click on “Generate API Key”.
![](https://lh7-us.googleusercontent.com/nSXBkNym6s7ZaUzEHpwJMH23cpwKL5pAY4aehDmgPtAEhklfBtHxmnjuQ3k-fM_a9fbU5Awsmabok6MyaviG_wwA8CUL9MIvAneZJPjevQDsI_Ku1xVbefXpvz3TZNdFloFBvmZF_mgO0ex5_e5t8kQ)
5. Copy the Consumer Key and Consumer Secret
- After generating the API Key, copy the provided “Consumer key” and “Consumer secret”.
- These keys will be used to authenticate your application's access to the WooCommerce API.
![](https://lh7-us.googleusercontent.com/iKiDcPk5ALP-hv8Hod1qdSJ_rM9yYXs3DxpMB62yDfU3yxp6HNmu9puGsx22bLdwrx4wMtmrIVVuyGldxxQSgLtKyPi5_OEPbJR3WqC_QBKUnKMUPpLxPq5MFAI2BQdDAw2js987XIicBH-fpBT3Dbo)