Prerequisites
- A SaveMate account with a Professional plan
- A Cloudflare account with R2 enabled
- An R2 bucket and API token
Step 1: Create an R2 bucket
- Sign in to the Cloudflare Dashboard
- Navigate to R2 Object Storage in the sidebar
- Click Create bucket
- Enter a bucket name (e.g.,
savemate-videos) - Choose a location hint closest to you
- Click Create bucket
Step 2: Create an R2 API token
- In the Cloudflare Dashboard, go to R2 Object Storage
- Click Manage R2 API Tokens
- Click Create API token
- Configure the token:
- Token name:
SaveMate Uploader - Permissions: Object Read & Write
- Specify bucket(s): Select your SaveMate bucket only
- Token name:
- Click Create API Token
- Copy the Access Key ID and Secret Access Key
Step 3: Get your R2 endpoint
Your R2 S3-compatible endpoint follows this format:Step 4: Connect in SaveMate
Open Cloud Sync
Navigate to savemate.io/cloud-sync and sign in.
Enter your credentials
Fill in the connection form:
- Access Key ID — Your R2 API token access key
- Secret Access Key — Your R2 API token secret key
- Bucket name — Your R2 bucket name
- Endpoint — Your R2 S3-compatible endpoint URL
How uploads work
R2 uses the same multipart upload protocol as S3:- Files over 100MB are split into parts and uploaded in parallel
- Parts are 10MB each (minimum 5MB)
- Uploads can be paused and resumed
- Supports files up to 50TB
- Files under 100MB use a single direct upload
Why choose R2?
| Feature | AWS S3 | Cloudflare R2 |
|---|---|---|
| Storage cost | ~$0.023/GB/month | ~$0.015/GB/month |
| Egress (download) fees | $0.09/GB | Free |
| S3 API compatible | Native | Yes |
| Best for | AWS ecosystem users | Cost-sensitive storage |
Troubleshooting
Connection test fails
Connection test fails
Double-check that your endpoint URL follows the format
https://<ACCOUNT_ID>.r2.cloudflarestorage.com and that you selected the correct bucket when creating the API token.Permission denied
Permission denied
Ensure your R2 API token has Object Read & Write permissions and is scoped to the correct bucket.
Slow uploads
Slow uploads
R2 performance depends on the location hint you chose when creating the bucket. If uploads are consistently slow, consider creating a new bucket with a location hint closer to your physical location.