Skip to content

Commit 3fb19f3

Browse files
committed
Updating dashboard instructions.
1 parent 5aef8da commit 3fb19f3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/content/docs/d1/get-started.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ For example: `CI=true npm create cloudflare@latest d1-tutorial --type=simple --g
9090

9191
<Steps>
9292
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
93-
2. Go to your account > **Workers & Pages** > **Overview**.
93+
2. Go to your account > **Compute (Workers)** > **Workers & Pages**.
9494
3. Select **Create**.
95-
4. Select **Create Worker**.
95+
4. Under **Start from a template**, select **Hello world**.
9696
5. Name your Worker. For this tutorial, name your Worker `d1-tutorial`.
9797
6. Select **Deploy**.
9898
</Steps>
@@ -151,8 +151,8 @@ This creates a new D1 database and outputs the [binding](/workers/runtime-apis/b
151151
</TabItem> <TabItem label='Dashboard'>
152152

153153
<Steps>
154-
1. Go to **Storage & Databases** > **D1**.
155-
2. Select **Create**.
154+
1. Go to **Storage & Databases** > **D1 SQL Database**.
155+
2. Select **Create Database**.
156156
3. Name your database. For this tutorial, name your D1 database `prod-d1-tutorial`.
157157
4. (Optional) Provide a location hint. Location hint is an optional parameter you can provide to indicate your desired geographical location for your database. Refer to [Provide a location hint](/d1/configuration/data-location/#provide-a-location-hint) for more information.
158158
5. Select **Create**.
@@ -217,7 +217,7 @@ You can also bind your D1 database to a [Pages Function](/pages/functions/). For
217217
You create bindings by adding them to the Worker you have created.
218218

219219
<Steps>
220-
1. Go to **Workers & Pages** > **Overview**.
220+
1. Go to **Compute (Workers)** > **Workers & Pages**.
221221
2. Select the `d1-tutorial` Worker you created in [step 1](/d1/get-started/#1-create-a-worker).
222222
3. Select **Settings**.
223223
4. Scroll to **Bindings**, then select **Add**.
@@ -298,7 +298,7 @@ After correctly preparing your [Wrangler configuration file](/workers/wrangler/c
298298
Use the Dashboard to create a table and populate it with data.
299299

300300
<Steps>
301-
1. Go to **Storage & Databases** > **D1**.
301+
1. Go to **Storage & Databases** > **D1 SQL Database**.
302302
2. Select the `prod-d1-tutorial` database you created in [step 2](/d1/get-started/#2-create-a-database).
303303
3. Select **Console**.
304304
4. Paste the following SQL snippet.
@@ -375,9 +375,9 @@ After configuring your Worker, you can test your project locally before you depl
375375
You can query your D1 database using your Worker.
376376

377377
<Steps>
378-
1. Go to **Workers & Pages** > **Overview**.
378+
1. Go to **Compute (Workers)** > **Workers & Pages**.
379379
2. Select the `d1-tutorial` Worker you created.
380-
3. Select **Edit Code**.
380+
3. Select the **Edit code** icon (**\<\/\>**).
381381
4. Clear the contents of the `worker.js` file, then paste the following code:
382382

383383
```js
@@ -491,7 +491,7 @@ To deploy your Worker to production using Wrangler, you must first repeat the [d
491491
</TabItem> <TabItem label='Dashboard'>
492492
<Steps>
493493

494-
1. Go to **Workers & Pages** > **Overview**.
494+
1. Go to **Compute (Workers)** > **Workers & Pages**.
495495
2. Select your `d1-tutorial` Worker.
496496
3. Select **Deployments**.
497497
4. From the **Version History** table, select **Deploy version**.
@@ -545,7 +545,7 @@ npx wrangler d1 delete prod-d1-tutorial
545545
</TabItem><TabItem label='Dashboard'>
546546

547547
<Steps>
548-
1. Go to **Storages & Databases** > **D1**.
548+
1. Go to **Storages & Databases** > **D1 SQL Database**.
549549

550550
2. Select your `prod-d1-tutorial` D1 database.
551551

@@ -576,7 +576,7 @@ npx wrangler delete d1-tutorial
576576
</TabItem> <TabItem label='Dashboard'>
577577

578578
<Steps>
579-
1. Go to **Workers & Pages** > **Overview**.
579+
1. Go to **Compute (Workers)** > **Workers & Pages**.
580580

581581
2. Select your `d1-tutorial` Worker.
582582

0 commit comments

Comments
 (0)