To use CloudFlare R2 Storage , register to Wasabi and follow this documentation to get api details
Go to admin panel > CloudStorage, select Wasabi as your default storage driver, and add your api key details here, After saving the api key, click on sync local file to cloud to sync your existing local file to Cloud Storage