Configure Amazon S3 bucket as storage in Chatwoot
ACTIVE_STORAGE_SERVICE='amazon' S3_BUCKET_NAME= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_REGION=
{ "Version": "2012-10-17", "Id": "Policyxxx", "Statement": [ { "Sid": "Stmtxxx", "Effect": "Allow", "Principal": { "AWS": "your-user-arn" }, "Action": [ "s3:DeleteObject", "s3:GetObject", "s3:ListBucket", "s3:PutObject" ], "Resource": [ "arn:aws:s3:::your-bucket-name", "arn:aws:s3:::your-bucket-name/*" ] } ] }
Edit
AllowedOrigin
[ { "AllowedHeaders": [ "*" ], "AllowedMethods": [ "PUT", "POST", "DELETE", "GET" ], "AllowedOrigins": [ "<add-your-domain-here eg: https://app.chatwoot.com>" ], "ExposeHeaders": [ "Origin", "Content-Type", "Content-MD5", "Content-Disposition" ], "MaxAgeSeconds": 3600 } ]