Skip to content

Commit 0443982

Browse files
Updates navigation (#25709)
* Updates navigation * Updates rules template * Apply suggestions from code review Co-authored-by: Pedro Sousa <[email protected]> --------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent 5df284a commit 0443982

File tree

16 files changed

+144
-94
lines changed

16 files changed

+144
-94
lines changed

src/content/docs/analytics/graphql-api/getting-started/authentication/api-token-auth.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar:
55
order: 21
66
---
77

8+
import { DashButton } from "~/components";
9+
810
Cloudflare recommends API tokens as the preferred authentication method with Cloudflare APIs. This article walks through creating API tokens for authentication to the GraphQL Analytics API.
911

1012
For more details on API tokens and the full range of supported options, refer to [Creating API tokens](/fundamentals/api/get-started/create-token/).
@@ -18,15 +20,11 @@ To create an API token for authentication to the GraphQL Analytics API, use this
1820

1921
## Access the Create API Token page
2022

21-
To access the **Create Custom Token** page, follow these steps:
22-
23-
1. Log in to your Cloudflare account and select _My Profile_ from the user account drop-down list.
24-
25-
![User account drop-down menu](~/assets/images/analytics/account-profile.png)
23+
1. In the Cloudflare dashboard, go to the **Account API tokens** page.
2624

27-
2. In your user profile page, select the **API Tokens** tab.
25+
<DashButton url="/?to=/:account/api-tokens" />
2826

29-
3. In the **API Tokens** page, select **Create Token**.
27+
2. Select **Create Token**.
3028

3129
![API Tokens tab](~/assets/images/analytics/user-profile-api-tokens-tab.png)
3230

src/content/docs/argo-smart-routing/get-started.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ head: []
77
description: Learn how to enable Argo Smart Routing in the Cloudflare dashboard.
88
---
99

10-
import { Render, TabItem, Tabs } from "~/components";
10+
import { Render, TabItem, Tabs, DashButton } from "~/components";
1111

1212
<Render file="smart-shield-callout" product="smart-shield" />
1313

@@ -17,10 +17,12 @@ Argo Smart Routing is a one-click solution to speed up your global traffic.
1717

1818
To enable [Argo Smart Routing](https://dash.cloudflare.com/?to=/:account/:zone/traffic) in the dashboard:
1919

20-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
21-
2. Go to **Traffic** > **Argo Smart Routing**.
22-
3. For **Argo Smart Routing**, switch the toggle to **On**.
23-
4. Provide your billing information.
20+
1. In the Cloudflare dashboard, go to the **Argo Smart Routing** page.
21+
22+
<DashButton url="/?to=/:account/:zone/traffic" />
23+
24+
2. For **Argo Smart Routing**, switch the toggle to **On**.
25+
3. Provide your billing information.
2426

2527
- If you do not have a [billing profile](/billing/create-billing-profile/), enter your billing information.
2628

src/content/docs/automatic-platform-optimization/get-started/activate-cf-wp-plugin.mdx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
After you [change your nameservers](/automatic-platform-optimization/get-started/change-nameservers/), activate the Cloudflare WordPress plugin.
1012

1113
## Prerequisites
@@ -54,13 +56,15 @@ To create the connection between WordPress and Cloudflare, you will create an AP
5456

5557
## Create the API token from Cloudflare
5658

57-
1. Open your Cloudflare dashboard.
58-
2. Select **My Profile** from the top of the page.
59-
3. Select **API Tokens** > **Create Token**.
60-
4. Locate **WordPress** from the list and select **Use template**.
61-
5. Select **Continue to summary** at the bottom of the page.
62-
6. On the **WordPress API token summary** page, select **Create Token**. Your API token displays.
63-
7. Select the **Copy** button to copy your token. You will need to paste the token in the next section.
59+
1. In the Cloudflare dashboard, go to the **Account API tokens** page.
60+
61+
<DashButton url="/?to=/:account/api-tokens" />
62+
63+
2. Select **Create Token**.
64+
3. Locate **WordPress** from the list and select **Use template**.
65+
4. Select **Continue to summary** at the bottom of the page.
66+
5. On the **WordPress API token summary** page, select **Create Token**. Your API token displays.
67+
6. Select the **Copy** button to copy your token. You will need to paste the token in the next section.
6468

6569
:::note
6670

src/content/docs/data-localization/how-to/cloudflare-for-saas.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 5
66
---
77

8-
import { TabItem, Tabs } from "~/components";
8+
import { TabItem, Tabs, DashButton } from "~/components";
99

1010
In the following sections, we will give you some details about how to configure Cloudflare for SaaS with Regional Services and Customer Metadata Boundary.
1111

@@ -15,9 +15,11 @@ To configure Regional Services for both hostnames [proxied](/dns/proxy-status/)
1515

1616
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
1717

18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select an account and zone.
19-
2. Go to the **Custom Hostnames** tab.
20-
3. Follow these steps to [configure Cloudflare for SaaS](/cloudflare-for-platforms/cloudflare-for-saas/start/getting-started/).
18+
1. In the Cloudflare dashboard, go to the **Custom Hostnames** page.
19+
20+
<DashButton url="/?to=/:account/:zone/ssl-tls/custom-hostnames" />
21+
22+
2. Follow these steps to [configure Cloudflare for SaaS](/cloudflare-for-platforms/cloudflare-for-saas/start/getting-started/).
2123

2224
</TabItem>
2325

src/content/docs/data-localization/metadata-boundary/get-started.mdx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 2
66
---
77

8-
import { Details, APIRequest } from "~/components";
8+
import { Details, APIRequest, DashButton } from "~/components";
99

1010
You can configure the Metadata Boundary to select the region where your logs and analytics are stored via API or dashboard.
1111

@@ -15,9 +15,11 @@ Currently, this can only be applied at the account-level. If you only want the M
1515

1616
To configure Customer Metadata Boundary in the dashboard:
1717

18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
19-
2. Go to **Manage Account** > **Configurations**.
20-
3. In **Customer Metadata Boundary**, select the region you want to use. You have the option to select `EU` or `US`. If you want to select both regions, select `Global` instead.
18+
1. In the Cloudflare dashboard, go to the **Settings** page.
19+
20+
<DashButton url="/?to=/:account/configurations" />
21+
22+
2. In **Customer Metadata Boundary**, select the region you want to use. You have the option to select `EU` or `US`. If you want to select both regions, select `Global` instead.
2123

2224
## Configure Customer Metadata Boundary via API
2325

@@ -71,6 +73,9 @@ Here is an example request using cURL to delete regions:
7173

7274
To view or change your Customer Metadata Boundary setting:
7375

74-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
75-
2. Go to **Manage Account** > **Configurations** > **Preferences**.
76+
1. In the Cloudflare dashboard, go to the **Settings** page.
77+
78+
<DashButton url="/?to=/:account/configurations" />
79+
80+
2. Go to **Preferences**.
7681
3. Locate the **Customer Metadata Boundary** section.

src/content/docs/data-localization/regional-services/get-started.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ head:
88
content: Get Started — Regional Services
99
---
1010

11-
import { Details, APIRequest } from "~/components";
11+
import { Details, APIRequest, DashButton } from "~/components";
1212

1313
:::note
1414

@@ -22,6 +22,10 @@ You can use Regional Services through the dashboard or via API.
2222

2323
To use Regional Services, you need to first create a DNS record in the dashboard:
2424

25+
1. In the Cloudflare dashboard, go to the **DNS** page.
26+
27+
<DashButton url="/?to=/:account/:zone/dns" />
28+
2529
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select an account and domain.
2630
2. Go to the **DNS** tab.
2731
3. Follow these steps to [create a DNS record](/dns/manage-dns-records/how-to/create-dns-records/).

src/content/docs/health-checks/get-started.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,22 @@ sidebar:
66

77
---
88

9-
import { Render } from "~/components";
9+
import { Render, DashButton } from "~/components";
1010

1111
<Render file="smart-shield-callout" product="smart-shield" />
1212

1313
This guide will get you started with creating and managing configured Health Checks.
1414

1515
## Create a Health Check
1616

17-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
18-
2. Go to **Traffic** > **Health Checks**.
19-
3. Select **Create** and fill out the form, paying special attention to:
17+
1. In the Cloudflare dashboard, go to the **Health Checks** page.
18+
19+
<DashButton url="/?to=/:account/:zone/traffic/health-checks" />
20+
21+
2. Select **Create** and fill out the form, paying special attention to:
2022
* The values for **Interval** and **Check regions**, because decreasing the **Interval** and increasing **Check regions** may increase the load on your origin server.
2123
* **Retries**, which specify the number of retries to attempt in case of a timeout before marking the origin as unhealthy.
22-
4. Select **Save and Deploy**.
24+
3. Select **Save and Deploy**.
2325

2426
## Manage Health Checks
2527

src/content/docs/health-checks/health-checks-analytics.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ sidebar:
66

77
---
88

9-
import { AvailableNotifications, Render } from "~/components"
9+
import { AvailableNotifications, Render, DashButton } from "~/components"
1010

1111
<Render file="smart-shield-callout" product="smart-shield" />
1212

1313
Once you have set up a standalone Health Check including notification emails, use Health Check Analytics to debug possible origin issues.
1414

1515
To access health check analytics:
1616

17-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.
18-
2. Go to **Traffic** > **Health Check Analytics**.
17+
1. In the Cloudflare dashboard, go to the **Health Check Analytics** page.
18+
19+
<DashButton url="/?to=/:account/:zone/traffic/health-check-analytics" />
1920

2021
<Render file="health-checks-analytics" product="smart-shield" />
2122

src/content/docs/logs/instant-logs.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 116
66
---
77

8-
import { FeatureTable, APIRequest } from "~/components";
8+
import { FeatureTable, APIRequest, DashButton } from "~/components";
99

1010
Instant Logs allows Cloudflare customers to access a live stream of the traffic for their domain from the Cloudflare dashboard or from a command-line interface (CLI). Seeing data in real time allows you to investigate an attack, troubleshoot, debug or test out changes made to your network. Instant Logs is lightweight, simple to use and does not require any additional setup.
1111

@@ -15,13 +15,13 @@ Instant Logs allows Cloudflare customers to access a live stream of the traffic
1515

1616
## Instant Logs via Cloudflare Dashboard
1717

18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select the [zone](/fundamentals/concepts/accounts-and-zones/#zones) you want to use with Instant Logs.
18+
1. In the Cloudflare dashboard, go to the **Instant Logs** page.
1919

20-
2. Go to **Analytics & Logs** > **Instant Logs**.
20+
<DashButton url="/?to=/:account/:zone/analytics/instant-logs" />
2121

22-
3. Select **Start streaming**.
22+
2. Select **Start streaming**.
2323

24-
4. (optional) Select **Add filter** to narrow down the events to be shown.
24+
3. (optional) Select **Add filter** to narrow down the events to be shown.
2525

2626
Fields supported in our [HTTP requests dataset](/logs/logpush/logpush-job/datasets/zone/http_requests/) can be used when you add filters. Some fields with additional subscriptions required are not supported in the dashboard, you will need to use CLI instead.
2727

src/content/docs/logs/logpush/logpush-job/custom-fields.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 8
66
---
77

8-
import { APIRequest } from "~/components";
8+
import { APIRequest, DashButton } from "~/components";
99

1010
The HTTP requests dataset includes most standard log information by default. However, if you need to capture additional request or response headers or cookies, you can use custom fields to tailor the logs to your specific needs
1111

@@ -262,12 +262,14 @@ If you are a Cloudflare Access user, as of March 2022 you have to manually add t
262262

263263
## Enable custom fields via dashboard
264264

265-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select the domain you want to use.
266-
2. Go to **Analytics & Logs** > **Logpush**.
267-
3. In the **Custom log fields** section, select **Edit Custom Fields**.
268-
4. Select **Set new Custom Field**.
269-
5. From the **Field Type** dropdown, select _Request Header_, _Response Header_ or _Cookies_ and type the **Field Name**.
270-
6. When you are done, select **Save**.
265+
1. In the Cloudflare dashboard, go to the **Logpush** page.
266+
267+
<DashButton url="/?to=/:account/:zone/analytics/logs" />
268+
269+
2. In the **Custom log fields** section, select **Edit Custom Fields**.
270+
3. Select **Set new Custom Field**.
271+
4. From the **Field Type** dropdown, select _Request Header_, _Response Header_ or _Cookies_ and type the **Field Name**.
272+
5. When you are done, select **Save**.
271273

272274
## Limitations
273275

0 commit comments

Comments
 (0)