How To Get Consumer Key And Consumer Secret From Woocommerce

How To Articles

Today, I will be going over the steps to obtain the consumer key and consumer secret for WooCommerce. These are necessary for integrating your app or website with WooCommerce and accessing its API. Let’s explore the process together and get started!

What is a Consumer Key and Consumer Secret?

Before we begin, let me quickly explain what a consumer key and consumer secret are. In simple terms, they are the credentials that allow your application or website to authenticate and communicate securely with the WooCommerce API. The consumer key acts as a unique identifier for your app, while the consumer secret serves as a password.

Step 1: Set Up a WooCommerce Account

If you haven’t done so already, the first step is to create an account on WooCommerce. Simply visit the WooCommerce website and sign up for a new account. Once you complete the registration process, you’ll have access to your WooCommerce dashboard.

Step 2: Install and Activate the WooCommerce API Manager Plugin

Now that you have your WooCommerce account set up, it’s time to install and activate the WooCommerce API Manager plugin. This plugin provides the necessary tools and functionality to manage API keys, including generating consumer keys and secrets.

  1. Log in to your WooCommerce dashboard.
  2. Navigate to the “Plugins” section.
  3. Click on “Add New” and search for “WooCommerce API Manager”.
  4. Install and activate the plugin.

Step 3: Generate Consumer Key and Consumer Secret

With the WooCommerce API Manager plugin installed and activated, you can now generate your consumer key and consumer secret.

  1. Go to your WooCommerce dashboard and navigate to “WooCommerce” > “Settings” > “Advanced” > “REST API”.
  2. Enable the REST API by checking the box.
  3. Click on the “Keys/Apps” tab.
  4. Under the “Add Key” section, enter a description for your app.
  5. Choose the user access for the key. It’s recommended to select “Read/Write” to have full access to the WooCommerce API.
  6. Click on the “Generate API Key” button.

After clicking the “Generate API Key” button, WooCommerce will generate a consumer key and consumer secret for your app. Make sure to copy and save these credentials in a secure location, as you will need them to authenticate your application with the WooCommerce API.


Obtaining the consumer key and consumer secret from WooCommerce is an important step in integrating your app or website with WooCommerce’s API. By following the steps outlined in this article, you should now have your credentials ready to use.

Remember to keep your consumer key and consumer secret secure and avoid sharing them with anyone unauthorized. These credentials grant access to your WooCommerce store, so it’s essential to treat them as sensitive information.

Now that you have your consumer key and consumer secret, you’re ready to start leveraging the power of the WooCommerce API in your application or website. Enjoy exploring the possibilities and building amazing integrations!