How to connect ionic to aws iot?

I am really new to ionic but I am asked to connect the ionic app to aws iot server.
Can anyone give me some advices to solve this? Thanks.