How to Find Your WooCommerce API Credentials
Spark Shipping connects to your store using WooCommerce's built-in REST API. You'll need three things: your store's web address, plus a Consumer Key and Consumer Secret that you generate inside the WooCommerce dashboard. The steps below walk you through creating them. WooCommerce version 3.0 or later is required.
- Log in to your WooCommerce site as an administrator
- This is your WordPress admin dashboard, usually found at
https://your-store.com/wp-admin - You must be logged in as an Administrator to create API keys
- This is your WordPress admin dashboard, usually found at
- Open the REST API settings
- In the left menu, go to WooCommerce → Settings
- Click the Advanced tab at the top
- Click REST API
- Create a new API key
- Click Add key (or "Create an API key")
- Description: enter something you'll recognize later, such as "Spark Shipping"
- User: select an administrator account on your store (tip: you can create a dedicated Administrator user, for example "SparkShipping", just for this key)
- Permissions: choose Read/Write — Spark Shipping needs to read orders and update inventory and tracking
- Click Generate API key
- Copy the Consumer Key and Consumer Secret
- WooCommerce will now show a Consumer Key (it begins with
ck_) and a Consumer Secret (it begins withcs_) - Copy both values right away — the Consumer Secret is only shown once. If you navigate away you'll have to generate a new key
- WooCommerce will now show a Consumer Key (it begins with
- Add them to Spark Shipping
- On your WooCommerce site's Credentials page in Spark Shipping, enter your store URL
- Paste the values into Consumer Key and Consumer Secret and save the site
- Once the connection works, the page shows your WooCommerce and WordPress versions
Note: We recommend serving your store over HTTPS. Spark Shipping can also connect to a store that only uses HTTP, but your API keys are better protected over HTTPS.
If the connection still fails, see WooCommerce credentials failing.