To integrate 6sense with S3, you must first set up bucket policy permissions. The following is a step-by-step guide for setting these up. For a full list of instructions, see integrating 6sense with AWS S3.
Create Bucket Policy
From Services, go to S3 and click on Buckets.

Select the bucket you want to provide access to.
In the Properties tab, please make a note of the Amazon Resource Name (ARN).

Click on Permissions and click on Edit in front of Bucket Policy.

For better control, you can use the AWS Policy Generator.

6sense requires the following permissions: ListBucket, PutObject and PutObjectAcl.
Once in the policy generator, the Principal would be ARN of the role that 6sense has provided you and Resource would be the ARN of the bucket that you just made a note of. Select S3 as the AWS service.Required permissions can be found in the Actions dropdown.

Please make sure that you add the two permissions as two different statements as shown above. For PutObject, if you want to provide us with permissions to a specific folder, please check this link, otherwise the ARN would look like {arn_of_bucket}/*.
Click on Generate Policy, copy the generated policy and paste it in the dialogue box.
