How to interact Angular app with keycloak realm?

I have an angular app where a login component is present. I want upon entering the credentials of keycloak client it validates with the realm and navigate me to the designated area.
I am using Keycloak NPM to configure my angular app.
Can anyone help me?

Checkout this Article: