Skip to content

Commit acd9f21

Browse files
authored
Merge pull request #121 from candidexmedia/patch-1
2 parents fd3042d + 12da51b commit acd9f21

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

pages/configuration/r2.mdx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,31 @@ Create a new Bucket.
2525

2626
<img src="https://github.com/user-attachments/assets/f679ff9f-1a9c-4d09-b663-2fa2baadea93" />
2727

28-
Create your R2 Token by clicking "Manage R2 API Tokens"
28+
Create your R2 Token by going to R2 Object Storage:
2929

30-
<img src="https://github.com/user-attachments/assets/f47e0b90-834f-4c18-abe0-a89b62ca6458" />
30+
<img src="https://i.imgur.com/yVJwVBb.png" />
31+
32+
Click on the API dropdown, and select [Manage API tokens](https://dash.cloudflare.com/?to=/:account/r2/api-tokens):
33+
34+
<img src="https://i.imgur.com/PmzyGeQ.png" />
35+
36+
Copy your Account ID for later, and click on "Create an API token":
37+
38+
<img src="https://i.imgur.com/hvsGnWI.png" />
39+
40+
Create an Account API token:
41+
42+
<img src="https://i.imgur.com/MvZsYfC.png" />
3143

3244
Under "Permissions" choose "Object Read & Write" and under "Specify bucket(s)" search for your created Bucket.
3345

3446
<img src="https://github.com/user-attachments/assets/30991d43-9920-47d4-9c53-bde619974009" />
3547

36-
After the R2 Token was created, copy your "Access Key ID" and "Secret Access Key"
48+
After the R2 Token is created, copy your "Access Key ID" and "Secret Access Key":
3749

3850
<img src="https://github.com/user-attachments/assets/d4b4218f-fe20-47ec-937a-0d516fa74c64" />
3951

40-
Copy the information respectfully into your .env environment.
52+
Paste the respective information into your .env environment.
4153

4254
```dotenv
4355
CLOUDFLARE_ACCOUNT_ID="accountId"

0 commit comments

Comments
 (0)