Skip to content

Commit eb7c729

Browse files
committed
Added api token information
1 parent 7158748 commit eb7c729

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,22 @@ To use Pipelines, you will need:
3434
### 1. Enable Pipelines
3535
TODO
3636

37-
## 1. Set up an R2 bucket to use as a destination
37+
## 1. Set up an R2 bucket and get your API tokens.
3838

39-
Pipelines are built to ingest data and store it in an R2 bucket. Create a bucket by following the [get started guide for R2](r2/get-started/).
39+
Pipelines are built to ingest data and store it in an R2 bucket. Create a bucket by following the [get started guide for R2](r2/get-started/). Save the bucket name for the next step.
4040

41-
Save the bucket name for the next step.
41+
Secondly, make sure to get your R2 API tokens to use in the next step. Follow the guide linked [here](r2/api/s3/tokens/), and make sure to save your Secret Access Key and Access Key IDs.
4242

4343
## 2. Create a Pipeline
4444

4545
To create a Pipeline using Wrangler, run the following command in a the terminal, and specify:
4646

4747
- The name of your Pipeline
4848
- The name of the R2 bucket you created in step 1
49+
- The R2 API credentials from Step 1
4950

5051
```sh
51-
npx wrangler pipelines create [PIPELINE-NAME] --r2 [R2-BUCKET-NAME]
52+
npx wrangler pipelines create [PIPELINE-NAME] --r2 [R2-BUCKET-NAME] --access-key-id [ACCESS-KEY-ID] --secret-access-key [SECRET-ACCESS-KEY]
5253
```
5354

5455
When choosing a name for your Pipeline:

0 commit comments

Comments
 (0)