AWS connectivity with google and facebook login

I have an app that logs in through facebook and google using ngcordova… Now I need to configure it to use the AWS services for authentication… I am trying to implement it with no success… Please can anyone help me in understanding how to start on it and what needs to be added where to get ID from AWS…

I am new to ionic please consider it so any help will be much appreciated…