Cloudflare R2 Integration
The Cloudflare R2 Integration in Advanced File Manager allows you to connect your WordPress website with Cloudflare’s secure and scalable cloud storage. This feature enables you to upload, manage, organize, and access your files directly from your WordPress dashboard while storing them safely in Cloudflare R2.
It is designed to provide reliable performance and cost-effective storage, making it an excellent solution for websites that handle large volumes of files.
If you are using the Pro version, you can quickly connect Cloudflare R2 and start managing your cloud files seamlessly through Advanced File Manager.
Enabling Cloudflare R2 Integration in Advanced File Manager
Follow the steps below to connect Cloudflare R2 with your website:
1. Enable Cloudflare R2
In your WordPress dashboard, go to:
Advanced File Manager > Integration > Cloudflare R2
Check the “Enable” option.

Before proceeding, ensure that the Cloudflare R2 library is installed and activated on your site if required.

2. Access Cloudflare Dashboard
Visit the Cloudflare Dashboard and log in to your account.
If you do not have an account yet, create one before proceeding.

3. Create R2 Bucket
Inside your Cloudflare dashboard:
- Click + Add and select R2 Object Storage.

- Choose Create Bucket.
- Enter a unique name for your bucket (for example: my-file-manager-bucket).
- Select the location and default storage type according to your preference.
- Click Create Bucket.

After creating the bucket, copy the Bucket Name, you will need it during the setup process.
4. Get Endpoint URL
From the R2 overview or bucket settings page:
- Locate the S3 API section in the below where you just created the directory.

- Now, once the directory is created, you can see your directory in the table.

- Locate the S3 API section on the right sidebar. Copy the Endpoint URL.

Note: Do not include the bucket name in the Endpoint URL.
5. Create API Tokens
To allow secure communication between your website and Cloudflare R2:
- Go to Manage R2 API Tokens.
- Click Create API Token.

- Set the required permissions (ensure Read and Write access is enabled).
- Choose the token duration (for example, Forever).
- Click Create User API Token.

Note: Once created, copy the Access Key ID and Secret Access Key immediately, as the Secret Key will not be shown again.
Configure in Advanced File Manager pCloud integration
Return to the Cloudflare R2 settings in Advanced File Manager and enter the following details:
- Endpoint URL – Paste the Endpoint URL from Step 4.
- Bucket Name – Enter the Bucket Name from Step 3.
- Access Key ID – Paste from Step 5.
- Secret Access Key – Paste from Step 5.
Click “Save Changes”.

Your Cloudflare R2 integration is now successfully configured. You can begin managing your cloud-stored files directly from Advanced File Manager.

If you encounter any issues during setup, please contact our Support Team. Our experts will troubleshoot your problem and provide a prompt resolution. We are committed to delivering excellent customer service and ensuring a smooth integration experience.