Connect Google Drive, R2, S3, and custom S3 mounts.
Exact connection fields, IAM permissions, custom HTTPS endpoints, root prefix selection, and bucket CORS policies required for direct browser uploads.
Connecting Google Drive & Workspace Shared Drives
Google Drive mounts use an isolated Drive OAuth 2.0 client with offline access so Tinjau can browse your selected folder, upload new revisions, and stream expiring authenticated previews for Mux proxy generation.
- 1
Open Storage setup
Go to Settings → Storage & drives → Switch storage destination (or /onboarding/storage) and pick Google Drive.
- 2
Authorize Google Drive
Click Connect Google Drive and approve access for the Google account that owns or has Manager/Content Manager access to the target folder or Shared Drive.
- 3
Pick your active Drive folder
After Google redirects back to Tinjau, use the Root Folder Picker to choose either a My Drive folder or a Team Shared Drive folder, then run the initial folder check.
Shared Drive permissions note
If a Shared Drive is missing in the picker or returns 403, confirm the connected Google account has at least Content Manager / Contributor permissions on that Shared Drive.
Connecting Cloudflare R2
Cloudflare R2 works with Tinjau using an R2 S3 API token with Object Read & Write permissions on your bucket. Tinjau automatically uses path-style addressing for R2.
- Bucket name: your exact R2 bucket name (e.g. your-source-media).
- Access Key ID & Secret Access Key: generated under Cloudflare Dashboard → R2 → Manage R2 API Tokens.
- Region: enter auto.
- Endpoint: required — enter your S3 API endpoint https://<cloudflare-account-id>.r2.cloudflarestorage.com (do not include the bucket name at the end of the URL).
- Root prefix: confirm or enter a prefix such as tinjau/ in the Root Picker.
Connecting Amazon S3
Create a scoped IAM user in AWS rather than attaching administrator keys. Restrict s3:ListBucket to your workspace prefix and object actions to that prefix only.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket"],
"Resource": "arn:aws:s3:::your-source-media",
"Condition": {
"StringLike": { "s3:prefix": ["tinjau/*"] }
}
},
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::your-source-media/tinjau/*"
}
]
}s3:ListBucket permission requirement
Tinjau tests connection access by listing your configured prefix. If the connection test returns 403 / storage_list_permission_denied, verify s3:ListBucket is allowed on the bucket ARN for the tinjau/ prefix.
Connecting Backblaze B2, Wasabi, DO Spaces, Hetzner & MinIO
Select the S3 connector in Tinjau and supply your provider’s custom HTTPS endpoint URL. Tinjau’s storage adapter automatically activates forcePathStyle whenever a custom endpoint is set, ensuring compatibility across self-hosted MinIO/NAS and global object clouds.
Backblaze B2: Endpoint https://s3.<region>.backblazeb2.com | Region e.g. us-west-004 Wasabi: Endpoint https://s3.<region>.wasabisys.com | Region e.g. ap-southeast-1 DO Spaces: Endpoint https://<region>.digitaloceanspaces.com | Region e.g. sgp1 Hetzner: Endpoint https://<region>.your-objectstorage.com | Region e.g. fsn1 MinIO / NAS: Endpoint https://minio.yourstudio.com | Region e.g. us-east-1
Required Bucket CORS Policy (Must Expose ETag)
Browser uploads go directly from the editor’s browser to your bucket using presigned URLs. You must allow every Tinjau origin where your workspace is accessed — including https://deck.tinjau.app, https://<slug>.tinjau.app, and any verified custom review domain — and expose the ETag header so multipart upload completion can verify part checksums.
[
{
"AllowedOrigins": [
"https://deck.tinjau.app",
"https://your-slug.tinjau.app",
"https://review.yourstudio.com"
],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],
"AllowedHeaders": ["*"],
"ExposeHeaders": ["ETag"],
"MaxAgeSeconds": 3600
}
]Include your workspace slug, storage provider, or hostname. Never share access keys, refresh tokens, or signed URLs via email.