Cloudflare R2
Cloudflare R2 is S3-compatible object storage with zero egress fees. Blober connects via the S3-compatible API.
Path format:
bucket-name/path/to/file.extCapabilities
Section titled “Capabilities”- ✅ Browse buckets and objects
- ✅ Upload files
- ✅ Download files
- ✅ Delete objects
- ✅ S3-compatible API
- ✅ Zero egress fees
Prerequisites
Section titled “Prerequisites”- A Cloudflare account (create one)
- R2 enabled on your account
- At least one R2 bucket
- API credentials with R2 access
Required Credentials
Section titled “Required Credentials”Account ID
Section titled “Account ID”- Option key:
accountId - Where to find: Cloudflare dashboard => Overview => right sidebar
- Format: 32-character hex string
- Example:
a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4
Access Key ID
Section titled “Access Key ID”- Option key:
accessKeyId - Format: 32 alphanumeric characters
- Example:
abc123def456ghi789jkl012mno345pq
Secret Access Key
Section titled “Secret Access Key”- Option key:
secretAccessKey - Format: 64-character string
- Example:
abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOP
Setup (Cloudflare Dashboard)
Section titled “Setup (Cloudflare Dashboard)”1. Create an R2 Bucket
Section titled “1. Create an R2 Bucket”- Go to Cloudflare Dashboard
- Select R2 from the sidebar
- Click Create bucket
- Enter a bucket name (lowercase, unique within your account)
- Click Create bucket
2. Create API Credentials
Section titled “2. Create API Credentials”- In R2 settings, click Manage R2 API Tokens
- Click Create API token
- Configure the token:
- Token name: Give it a descriptive name (e.g.,
blober-access) - Permissions: Object Read & Write (or as needed)
- Bucket scope: Specific bucket or all buckets
- Token name: Give it a descriptive name (e.g.,
- Click Create API Token
- Copy Access Key ID and Secret Access Key immediately (secret shown only once!)
3. Find Your Account ID
Section titled “3. Find Your Account ID”- Go to the Cloudflare dashboard
- Click on any domain or go to Overview
- The Account ID is in the right sidebar under “API”
- Copy the Account ID
4. Configure in Blober
Section titled “4. Configure in Blober”- In Blober, go to Workflows => New Workflow
- Select Cloudflare R2 as source or destination
- Enter:
- Account ID
- Access Key ID
- Secret Access Key
- Test by browsing your buckets