How to connect S3 with Quick Sight?

image

Creating a dataset using Amazon S3 files - Amazon QuickSight. Also did you provide the mentioned permissions?