Urlbox

Saving to S3

Persist renders directly into your own cloud storage bucket.

Configure Urlbox to upload every render straight to your bucket — Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean Spaces, Backblaze B2, or Azure Blob Storage.

Choose your provider

How it works

  1. Create a bucket with your provider and an access key that can write to it. Each guide above walks through this step by step.
  2. Add the bucket name, region, endpoint and credentials to your project's storage settings in the dashboard.
  3. Pass use_s3: true on a render. Urlbox uploads the file to your bucket, and the renderUrl in the response points to it there.

Set s3_path to choose the file name and folder, or s3_bucket to save to a different bucket for a single request. Renders saved to your own bucket don't expire after 30 days the way Urlbox-hosted renders do. See Saving to S3 for the full set of options, including private bucket mode.

On this page