Help Center

Amazon S3 configuration

Written by Miguel Michelson


For file storage to work, mainly for file uploads (images, videos & files) you will need to setup an Amazon S3 bucket and configure properly on your env vars.
Here, the tricky part is that you will need to configure the Amazon bucket to permit direct uploads, so the Chaskiq platform will be able to upload files directly from the browser.
For this to happen you need to enter the Amazon console , go to bucket and look for the CORS policies on the permissions tab

   "AllowedHeaders": [ "Authorization"],        
   "AllowedMethods": ["GET"],        
   "AllowedOrigins": ["*" ],        
   "ExposeHeaders": [],        
   "MaxAgeSeconds": 3000   
    "AllowedHeaders": ["*"],        
    "AllowedMethods": [ "PUT", "POST"],        
    "AllowedOrigins": ["*"],        
    "ExposeHeaders": [],        
    "MaxAgeSeconds": 3000    

Then look for this article in which it shows the policy format:

That's all , have a happy uploading!