How to give Quick Sight permissions to AWS IoT Analytics database?

Take a look at the linked documentation there. It is also here: Accessing AWS resources - Amazon QuickSight