How to configure a new user in grafana

I want to define another new user in grafana besides the admin user using the configuration and not the UI so the user will be set before the first run.
I want it so I don’t need to define this user from scratch using the UI every time I deploy my grafana on a different environment.

Hi @JacA,

Have you explored using Grafana’s HTTP API for admin actions like this? There is the Global User endpoint that you can use to create a new user: