Set up credentials
1
Open REST API settings
In your WordPress admin, go to WooCommerce > Settings > Advanced > REST API.
2
Add a new key
Click Add key.
3
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.
4
Generate the key
Click Generate API key. WooCommerce displays a Consumer key
(starts with
ck_) and a Consumer secret (starts with cs_).5
Copy your keys
Copy both values now. The Consumer secret is hidden once you leave the page.
6
Note your store URL
Your store URL is the base address of your site, for example
https://my-store.com.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
1
Open Integrations
In Adapt, go to Settings > Integrations.
2
Find WooCommerce
Search for WooCommerce and select it from the catalog.
3
Start the connection
Click Connect to open the connection form.
4
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.
5
Test the connection
Ask Adapt to list your most recent orders.
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