Setup & storage

How do I set up Aktar with Cloudflare R2?

Short answer

Create an R2 bucket and an API token with Object Read & Write permission, then choose Cloudflare R2 in Aktar and enter your Account ID, keys and bucket name. Aktar fills in the endpoint for you.

  1. In the Cloudflare dashboard, open R2 and create a bucket.
  2. Give the bucket a public address: connect a custom domain, or enable the r2.dev development URL.
  3. Create an R2 API token with Object Read & Write permission for that bucket and copy the Access Key ID and Secret Access Key.
  4. In Aktar, open Settings → Destinations → Add Destination, choose Cloudflare R2 and enter your Account ID, keys, bucket name and the public address as Public Base URL. Leave Region as auto.
  5. Click Test Connection, then Save.

The full walkthrough with screenshots of every field is in the Cloudflare R2 guide.

Read the setup guideHow to use Aktar with Cloudflare R2