### Configure Amazon S3 in wp-config.php Source: https://fluentboards.com/docs/fluentboards-integration-with-amazon-s3 Add these PHP definitions to your wp-config.php file to enable Amazon S3 storage for FluentBoards. Replace placeholder values with your actual S3 credentials and bucket information. The region and bucket name should match your AWS setup. ```php ```php // Amazon S3 Configuration define('FLUENT_BOARDS_CLOUD_STORAGE', 'amazon_s3'); define('FLUENT_BOARDS_CLOUD_STORAGE_REGION', 'your-region'); // us-east-1 define('FLUENT_BOARDS_CLOUD_STORAGE_ACCESS_KEY', '********************'); define('FLUENT_BOARDS_CLOUD_STORAGE_SECRET_KEY', '********************'); define('FLUENT_BOARDS_CLOUD_STORAGE_BUCKET', 'your-bucket-name'); // change with your bucket name define('FLUENT_BOARDS_CLOUD_STORAGE_SUB_FOLDER', 'site-name'); // optional ``` ``` -------------------------------- ### Define Cloudflare R2 settings in wp-config.php Source: https://fluentboards.com/docs/fluentboards-integration-with-cloudflare-r2 Add these constants to wp-config.php to define Cloudflare R2 settings for FluentBoards. Values defined here override the plugin's configuration form. Replace placeholders with your actual credentials and bucket details. ```php // CloudFlare R2 Configuration define('FLUENT_BOARDS_CLOUD_STORAGE', 'cloudflare_r2'); define('FLUENT_BOARDS_CLOUD_STORAGE_ACCOUNT_ID', 'ACCOUNT_ID'); // like: 1718cb5a51e65c8f19e8sahdakh763 define('FLUENT_BOARDS_CLOUD_STORAGE_ACCESS_KEY', 'ACCESS_KEY_HERE'); define('FLUENT_BOARDS_CLOUD_STORAGE_SECRET_KEY', 'SECRET_KEY_HERE'); define('FLUENT_BOARDS_CLOUD_STORAGE_BUCKET', 'BUCKET_NAME'); define('FLUENT_BOARDS_CLOUD_STORAGE_PUBLIC_URL', 'https://pub-SOME_RANDOM_STRINGS.r2.dev'); // You can use the r2 custom domain too define('FLUENT_BOARDS_CLOUD_STORAGE_SUB_FOLDER', 'my-folder-name'); // optional ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.