> For the complete documentation index, see [llms.txt](https://claimlane-docs.gitbook.io/claimlane-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://claimlane-docs.gitbook.io/claimlane-docs/troubleshooting-and-faqs/step-by-step-guide-woocommerce-api-credentials.md).

# Step‑by‑Step Guide: WooCommerce API Credentials

### What you’ll send back to us <a href="#h_e5bbcd86fd" id="h_e5bbcd86fd"></a>

Please send the following items once you’ve completed the steps below:

1. Store URL (base URL): <https://yourstore.com>
2. Consumer Key (from WooCommerce REST API)
3. Consumer Secret (from WooCommerce REST API)
4. Environment: Production or Staging
5. *(Optional but helpful)* WooCommerce version and WordPress version

Security tip: Share keys via a secure channel (e.g., 1Password/Bitwarden share link or encrypted email). Avoid sending keys in plain text chat.

***

### Step 1 — Confirm your access level <a href="#h_7a20decd90" id="h_7a20decd90"></a>

You’ll need to be a WordPress Administrator or Shop Manager on the store. If you’re not, please ask your site admin to complete the steps or to promote your user temporarily.

***

### Step 2 — Create a dedicated integration user (recommended) <a href="#h_29fb954d38" id="h_29fb954d38"></a>

This keeps access separate and easy to revoke later.

1. In WordPress Admin, go to Users → Add New.
2. Set Username (e.g., integration-api).
3. Enter an email you control.
4. Set Role to Shop Manager (or Administrator if your security policy requires it for API write actions).
5. Click Add New User.

You can skip this and use your own admin user, but a dedicated user is cleaner for auditing and revocation.

***

### Step 3 — Generate WooCommerce REST API keys <a href="#h_ed1df7e82c" id="h_ed1df7e82c"></a>

1. Go to WooCommerce → Settings → Advanced → REST API.
2. Click Add key.
3. Description: Integration – (Your Company Name)
4. User: Select the dedicated user from Step 2 (or your own admin/shop manager user).
5. Permissions: Choose Read/Write.
6. Click Generate API key.
7. Copy both values now:
   * Consumer key
   * Consumer secret

Important: You’ll only see the secret once. Store it securely right away.

***

### Step 4 — Send the credentials securely <a href="#h_7f7469c7aa" id="h_7f7469c7aa"></a>

Share the following with us:

* Store URL (e.g., <https://yourstore.com>)
* Consumer key
* Consumer secret
* Environment (Production/Staging)

Secure sharing options:

* Password manager share link (1Password, Bitwarden, LastPass)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://claimlane-docs.gitbook.io/claimlane-docs/troubleshooting-and-faqs/step-by-step-guide-woocommerce-api-credentials.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
