Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 15 additions & 12 deletions src/content/docs/fundamentals/setup/find-account-and-zone-ids.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,32 @@ sidebar:

Once you [set up a new account](/fundamentals/setup/account/) and [add your domain](/fundamentals/setup/manage-domains/add-site/) to Cloudflare, you may need access to your zone and account IDs for API operations.

To find your zone and account IDs:
## Copy your Account ID

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
2. From the **Accounts** page, locate your account.
3. Select the menu button at the end of the account row.
![Screenshot of the Overview page with the API section highlighted](~/assets/images/fundamentals/get-started/overview-account-id.png)

2. Select your account and domain.
4. Select **Copy account ID**.

3. On the **Overview** page (the landing page for your domain), find the **API** section.
## Copy your Zone ID

![Screenshot of the Overview page with the API section highlighted](~/assets/images/fundamentals/get-started/dash-overview-api-highlighted.png)

4. The **API** section contains your **Zone ID** and **Account ID**. To copy these values for API commands or other tasks, select **Click to copy**.
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
2. From the **Accounts** page, locate and select your account.
3. From the **Overview** page for your account, locate the **API** section towards the bottom of the page.

![Screenshot of the API section on the Overview page of a zone](~/assets/images/fundamentals/get-started/dash-overview-api-close-view.png)
![Screenshot of the Overview page with the API section highlighted](~/assets/images/fundamentals/get-started/dash-overview-api-highlighted.png)

For more guidance on setting up API tokens and using the API, refer to our [Cloudflare API Documentation](/fundamentals/api/).
4. Under **Zone ID** select **Click to copy**. You can also find your **Account ID** under the **API** section.

## Find account ID (Workers and Pages)

You can also find your account ID within the **Workers & Pages** section of your account:
You can also find your account ID from the **Workers & Pages** section of your account.

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
2. Select your account.
3. Go to **Workers & Pages**.
4. The **Account details** section contains your **Account ID**. To copy these values for API commands or other tasks, select **Click to copy**.
3. Go to **Workers & Pages**. The **Account details** section contains your **Account ID**.
4. To copy the Account ID, select **Click to copy**.

![Screenshot of the Workers & Pages Overview page with the account ID section highlighted](~/assets/images/fundamentals/get-started/workers-account-id.png)
![Screenshot of the Workers & Pages Overview page with the account ID section highlighted](~/assets/images/fundamentals/get-started/workers-account-id.png)
Loading