Cloudflare R2 Integration

Estimated reading: 3 minutes 232 views

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.

Afm Cloudflare R2 Integration step 1

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

Afm Cloudflare R2 Integration step 2

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.

Afm Cloudflare R2 Integration step 3

3. Create R2 Bucket

Inside your Cloudflare dashboard:

  • Click + Add and select R2 Object Storage.
Afm Cloudflare R2 Integration step 4
  • 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.
Afm Cloudflare R2 Integration step 5

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.
Afm Cloudflare R2 Integration step 6
  • Now, once the directory is created, you can see your directory in the table.
Afm Cloudflare R2 Integration step 7
  • Locate the S3 API section on the right sidebar. Copy the Endpoint URL.
Afm Cloudflare R2 Integration step 8

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:

Afm Cloudflare R2 Integration step 9
  • Set the required permissions (ensure Read and Write access is enabled).
  • Choose the token duration (for example, Forever).
  • Click Create User API Token.
Afm Cloudflare R2 Integration step 10

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”.

Afm Cloudflare R2 Integration step 11

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

Afm Cloudflare R2 Integration step 12

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.

Share this Doc

Cloudflare R2 Integration

Or copy link

CONTENTS
Scroll to Top