Skip to content

Commit d90ab76

Browse files
committed
Pushing changes for Workers AI docs
1 parent 0223c10 commit d90ab76

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

src/content/docs/workers-ai/get-started/dashboard.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99

1010
---
1111

12-
import { Render } from "~/components"
12+
import { Render, DashButton } from "~/components"
1313

1414
Follow this guide to create a Workers AI application using the Cloudflare dashboard.
1515

@@ -21,12 +21,12 @@ Sign up for a [Cloudflare account](https://dash.cloudflare.com/sign-up/workers-a
2121

2222
To create a Workers AI application:
2323

24-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
25-
2. Go to **Compute (Workers)** and **Workers & Pages**.
26-
3. Select **Create**.
27-
4. Under **Start from a template**, select **LLM App**. After you select your template, an [AI binding](/workers-ai/configuration/bindings/) will be created for you in the dashboard.
28-
5. Review the provided code and select **Deploy**.
29-
6. Preview your Worker at its provided [`workers.dev`](/workers/configuration/routing/workers-dev/) subdomain.
24+
1. <DashButton url="/?to=/:account/workers-and-pages" />
25+
2. Select **Create application**.
26+
3. Under **Select a template**, select **LLM Chat App**.
27+
4. Select **Deploy**.
28+
5. Name your Worker, then select **Create and deploy**.
29+
5. Preview your Worker at its provided [`workers.dev`](/workers/configuration/routing/workers-dev/) subdomain.
3030

3131
## Development
3232

src/content/docs/workers-ai/get-started/rest-api.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ head:
99
description: Use the Cloudflare Workers AI REST API to deploy a large language model (LLM).
1010
---
1111

12+
import { DashButton } from "~/components"
13+
1214
This guide will instruct you through setting up and deploying your first Workers AI project. You will use the Workers AI REST API to experiment with a large language model (LLM).
1315

1416
## Prerequisites
@@ -21,16 +23,15 @@ You need your API token and Account ID to use the REST API.
2123

2224
To get these values:
2325

24-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
25-
2. Go to **AI** > **Workers AI**.
26-
3. Select **Use REST API**.
27-
4. Get your API token:
26+
1. <DashButton url="/?to=/:account/ai/workers-ai" />
27+
2. Select **Use REST API**.
28+
3. Get your API token:
2829
1. Select **Create a Workers AI API Token**.
2930
2. Review the prefilled information.
3031
3. Select **Create API Token**.
3132
4. Select **Copy API Token**.
3233
5. Save that value for future use.
33-
5. For **Get Account ID**, copy the value for **Account ID**. Save that value for future use.
34+
4. For **Get Account ID**, copy the value for **Account ID**. Save that value for future use.
3435

3536
:::note
3637

src/content/partials/workers/dash-creation-next-steps.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
{}
33
---
44

5-
import { TabItem, Tabs, PackageManagers } from "~/components";
5+
import { TabItem, Tabs, PackageManagers, DashButton } from "~/components";
66

77
### Dashboard
88

99
Editing in the dashboard is helpful for simpler use cases.
1010

1111
Once you have created your Worker script, you can edit and deploy your Worker using the Cloudflare dashboard:
1212

13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
14-
2. Select **Workers & Pages**.
15-
3. Select your application.
16-
4. Select **Edit Code**.
13+
1. <DashButton url="/?to=/:account/workers-and-pages" />
14+
2. Select your application.
15+
3. Select **Edit Code**.
1716

1817
![Edit code directly within the Cloudflare dashboard](~/assets/images/workers/workers-edit-code.png)
1918

0 commit comments

Comments
 (0)