Hi @sugandha18
Thanks for the reply. I found some similar posts which might be helpful for you e.g.
1- Automatic login to grafana from web application
2- Automatic Authentication using Grafana API - Stack Overflow (seems a bit different but the concept/idea is the same).
3- Automatic login by token url · Issue #3752 · grafana/grafana · GitHub (some good comments there with workarounds, ideas, and solutions).
And for knowing the configuration, please read the documentation:
I hope this helps.