Complete S3 setup · Cloudflare R2
Cloudflare R2 Setup Guide
Configure R2 bucket, API token, CORS, and ShrimpSend settings.
Open R2
Build → Storage & databases → R2 object storage → Overview in the Cloudflare Dashboard.

S3 API endpoint
Copy S3 API from Account details; use API token → Manage to create keys.

API token
Create User API token with Object Read & Write on your bucket.

Create bucket
+ Create bucket on the Overview page.


CORS
Bucket → Settings → CORS policy → Edit. Paste:

[
{
"AllowedOrigins": [
"https://shrimpsend.com",
"https://www.shrimpsend.com"
],
"AllowedMethods": [
"GET",
"PUT",
"POST",
"DELETE",
"HEAD"
],
"AllowedHeaders": [
"*"
],
"ExposeHeaders": [
"ETag",
"Content-Length"
],
"MaxAgeSeconds": 86400
}
]

ShrimpSend settings
Settings → S3 or S3 settings in the cloud relay session. Endpoint = S3 API, Region = auto, Path-style on.

Troubleshooting
403 → token scope and Path-style. Upload failures → CORS Origins.