Connectors
R2 Connector
Access documents stored in Cloudflare R2 buckets
How it works
This connector imports documents from a specified Cloudflare R2 bucket. Supported formats include:
- DOC / DOCX
- TXT
- …and more
Documents are updated every 1 day.
Setting up
Authorization
- Log into your Cloudflare Dashboard
- Navigate to R2 in the sidebar
- Click Manage R2 API Tokens
- Click Create API Token
- Give the token a name (e.g.,
HymalaiaR2Connector
) - Assign it Object Read Only permissions
- Click Create API Token
- Copy your:
- Access Key ID
- Secret Access Key (shown only once!)
- To find your Account ID, go to the Overview page — it’s visible in the URL or listed on that page
Indexing
- Navigate to the Admin Dashboard
- Select the R2 Connector
Step 1: Authenticate
- Enter your:
- R2 Access Key ID
- R2 Secret Access Key
- Account ID
- Click Update to save
Step 2: Select bucket
- Enter the R2 bucket you wish to index
- Click Connect to begin indexing
Understanding R2 Structure
Cloudflare R2 works similarly to Amazon S3:
- A bucket is like a folder
- It contains unlimited objects (files)
For more info, refer to the Cloudflare R2 documentation.