This guide will help you create a free Cloudflare account and configure the storage needed for the slideshow app. You will need a credit card for identity verification, but the free tier includes 10GB of storage which is free forever.
1. Go to dash.cloudflare.com/sign-up and create an account.
2. Once logged in, look at the sidebar on the left. Locate and click R2.
3. You will see a prompt to enable R2. Click "Enable R2" (or "Purchase R2 Plan").
1. After enabling R2, click the button that says Create bucket.
2. Bucket Name: Enter a unique name (e.g.,
my-slideshow-videos). It must be all lowercase.
3. Location: Leave this as "Automatic".
4. Click Create Bucket.
1. You should now be looking at your new bucket's settings. Click the Settings tab near the top.
2. Scroll down to the Public Access section.
3. Find the area labeled R2.dev subdomain and click "Allow Access".
4. Type "allow" in the confirmation box and confirm.
5. Copy the URL that appears (e.g.,
https://pub-12345.r2.dev). This is your
Public Bucket URL.
1. Click "R2" in the far left sidebar to go back to the main R2 overview.
2. On the right side of the screen, look for a link that says Manage R2 API Tokens. Click it.
3. Click the blue Create API Token button.
4. Token Name: Enter "Slideshow App".
5. Permissions: Select Object Read & Write.
6. Click Create API Token.
83002...).
Enter these three values, plus the Public Bucket URL from Step 3, into the Slideshow application.