How to connect S3 with QuickSight?

image

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