Skip to main content

Cloudflare R2

The Cloudflare R2 connector lets you connect to your Cloudflare account using an API token. The destination is currently under development: credentials can be validated, but loading data is not yet supported.

Setup

Before configuring the connector, you’ll need:

  • A Cloudflare Account ID (hexadecimal string)
  • A Cloudflare API token with permission to access R2

Find your Account ID

Your Cloudflare Account ID is available in the Cloudflare dashboard (for example, in the right-side panel on many account pages). The connector requires the Account ID to be a hexadecimal value (0–9, a–f). Whitespace is trimmed and letters are treated case-insensitively.

Create an API token

Create an API token in Cloudflare:

  1. Go to My Profile → API Tokens
  2. Create a token that can access R2 (at minimum, it must be able to list R2 buckets for the account)
  3. Copy the token value

Authentication

This connector authenticates to Cloudflare using:

  • Bearer token authentication via the Cloudflare API

During credential validation, the connector calls:

GET https://api.cloudflare.com/client/v4/accounts/{account_id}/r2/buckets

If the request succeeds, authentication is considered valid.

Configuration

FieldTypeRequiredDescription
account_idstringYour Cloudflare Account ID. Must be a hexadecimal string (0–9, a–f).
api_tokenstringCloudflare API token used to authenticate requests.

Streams / Data loading

This is a destination connector. Data loading to Cloudflare R2 is not yet supported (the connector will return an error indicating loading is still in development).