You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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**.
94
94
3. Select **Create**.
95
-
4.Select**Create Worker**.
95
+
4.Under**Start from a template**, select **Hello world**.
96
96
5. Name your Worker. For this tutorial, name your Worker `d1-tutorial`.
97
97
6. Select **Deploy**.
98
98
</Steps>
@@ -151,8 +151,8 @@ This creates a new D1 database and outputs the [binding](/workers/runtime-apis/b
151
151
</TabItem> <TabItemlabel='Dashboard'>
152
152
153
153
<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**.
156
156
3. Name your database. For this tutorial, name your D1 database `prod-d1-tutorial`.
157
157
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.
158
158
5. Select **Create**.
@@ -217,7 +217,7 @@ You can also bind your D1 database to a [Pages Function](/pages/functions/). For
217
217
You create bindings by adding them to the Worker you have created.
218
218
219
219
<Steps>
220
-
1. Go to **Workers & Pages** > **Overview**.
220
+
1. Go to **Compute (Workers)** > **Workers & Pages**.
221
221
2. Select the `d1-tutorial` Worker you created in [step 1](/d1/get-started/#1-create-a-worker).
222
222
3. Select **Settings**.
223
223
4. Scroll to **Bindings**, then select **Add**.
@@ -298,7 +298,7 @@ After correctly preparing your [Wrangler configuration file](/workers/wrangler/c
298
298
Use the Dashboard to create a table and populate it with data.
299
299
300
300
<Steps>
301
-
1. Go to **Storage & Databases** > **D1**.
301
+
1. Go to **Storage & Databases** > **D1 SQL Database**.
302
302
2. Select the `prod-d1-tutorial` database you created in [step 2](/d1/get-started/#2-create-a-database).
303
303
3. Select **Console**.
304
304
4. Paste the following SQL snippet.
@@ -375,9 +375,9 @@ After configuring your Worker, you can test your project locally before you depl
375
375
You can query your D1 database using your Worker.
376
376
377
377
<Steps>
378
-
1. Go to **Workers & Pages** > **Overview**.
378
+
1. Go to **Compute (Workers)** > **Workers & Pages**.
379
379
2. Select the `d1-tutorial` Worker you created.
380
-
3. Select **Edit Code**.
380
+
3. Select the **Edit code** icon (**\<\/\>**).
381
381
4. Clear the contents of the `worker.js` file, then paste the following code:
382
382
383
383
```js
@@ -491,7 +491,7 @@ To deploy your Worker to production using Wrangler, you must first repeat the [d
491
491
</TabItem> <TabItemlabel='Dashboard'>
492
492
<Steps>
493
493
494
-
1. Go to **Workers & Pages** > **Overview**.
494
+
1. Go to **Compute (Workers)** > **Workers & Pages**.
495
495
2. Select your `d1-tutorial` Worker.
496
496
3. Select **Deployments**.
497
497
4. From the **Version History** table, select **Deploy version**.
0 commit comments