Cloudflare R2 guide
Create an account on Cloudflare.
Ensure that your domain is added to Cloudflare and verified with nameserver records at your domain registrar. Your domain must be hosted through Cloudflare; otherwise, you cannot use R2 and the Cloudflare CDN to host your images.
While R2 is not free, it does have a generous free tier. See the Cloudflare R2 pricing page for details.
Create bucket.Create Bucket.Settings.Domain Access and select Connect Domain.Continue.Connect domain.This connects your domain to the R2 bucket and makes the objects in that bucket accessible through the selected domain.
Manage R2 API Tokens in the upper-right corner of the dashboard.Create API token.R2 Token text to edit your API token name.Permissions, select Read or Edit for your token.Create API Token.Access Key ID and Secret Access Key for the next step.Destinations, select Destination settings.Amazon S3 and select it.Access Key ID and Secret Access Key in the first two boxes.Endpoint:, enter <ACCOUNT_ID>.r2.cloudflarestorage.com. You can find your account ID on the right-hand side of your Dashboard.Region: to auto.Bucket name:.Upload path: to your preferred path.Use custom domain: to the domain that you selected when creating the bucket.Set public-read ACL on file.Destinations, select Image uploader: and change it to File uploader -> Amazon S3.Now you are ready to use Cloudflare R2 in ShareX!