Set up credentials
Configure the key
Enter a Description (for example, “Adapt”), choose a User with access
to the data you want to read, and set Permissions to Read.
Generate the key
Click Generate API key. WooCommerce displays a Consumer key
(starts with
ck_) and a Consumer secret (starts with cs_).Make sure WordPress permalinks are set to a human-readable format under
Settings > Permalinks (not “Plain”), or the REST API will not respond
correctly.
Connect to Adapt
Add your credentials
Enter the values you gathered above, then click Add connection:
You can rename the connection and choose whether it is shared with your
organization or kept personal to you.
| Secret Name | Value |
|---|---|
WOOCOMMERCE_STORE_URL | Your store URL |
WOOCOMMERCE_CONSUMER_KEY | Your REST API consumer key |
WOOCOMMERCE_CONSUMER_SECRET | Your REST API consumer secret |
Security
- Credentials are encrypted at rest with AES-256
- Use Read permissions so the key cannot modify your store
- Connect over HTTPS so credentials are not sent in plain text
- The Consumer secret is shown only once; store it securely
- You can revoke the key anytime from WooCommerce > Settings > Advanced > REST API
- Never share your keys or commit them to source control