Default admin user via environment variables?


Is there a way to create a default admin user from the environment variables.
I use docker and I would like to run the container with a default user already setup.


Hi @Romain1
No, but you can use the API to complete the setup:
Have a search in the forum for examples

Top uses the API we need at least 1 user to get an API key right? So I believe there will be no way to create a default user from the api if we don’t have a user already.

@Romain1 No, almost everything you can do in the Metabase interface (including the setup), you can do with the API.
The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.