You'll get the Cloudflare R2 Integration settings in Settings > App settings > Integration > Cloudflare R2.
You must purchase R2 before you can generate an API token.
Please follow the steps below to get the credentials:
In the Cloudflare dashboard, go to the R2 object storage page.
If you don't have any bucket, create by following this:
Follow this and create a bucket:
Now go to the R2 object storage page again and click on manage API token button:
Create an account API token:
Configure options:
Then you'll get the required credentials.
Add this credentials to the integration settings and click on Save & authorize.
If everything is correct it'll show a success message and the status will be Authorized.
That's all! You've successfully integrate with Cloudflare R2. Now all files will be uploaded into Cloudflare R2 Cloud Storage.