Getting an access token with the social provider

Hello everyone, i’m new to keycloak and forgive me for my lack of experience but i need your help.
How can i get an access token with the an external provider like microsoft or google…
Thanks