Appearance
Cloudflare R2 storage
Cloudflare R2 is a storage provider for files. You can connect it to WeWeb so your project can manage Public and Private files.
Setup in Cloudflare
- Create an R2 bucket (or two, if you want separate public/private buckets).
- Create API credentials for R2.
- Copy your:
- Account ID
- Access Key ID
- Secret Access Key
Connect Cloudflare R2 in WeWeb
- Go to the
Integrationstab. - Open
Cloudflareand add a connection. - For each environment you use (
Editor,Staging,Production), fill in:Account IDAccess Key IDSecret Access Key
- Save the connection.
Select Cloudflare R2 as your storage provider
- Go to
Data & API→Storage. - Select
Cloudflare. - Select the connection you created.
- Set:
Private Bucket NamePublic Bucket Name(Optional)
- Click
Continueto finish setup.
Common pitfalls
Access denied (403)
- Make sure the bucket name(s) match exactly.
- Make sure the API credentials have permission to read and write files.

