How to create new user and grant view access him only view access?

i deployed the grafana dashboards by using helm charts. now i need to automate how to create a new user and provide only view access to that user by using helm charts.

Advance Thanks.!!