Create first user at install

I’m looking for a way to add the first user automatically for a new install without using UI to do that.
Is it possible ?
Or/And configure LDAP also without UI

1 Like

Hi @bolivier
Yes, use the API - I would recommend that you read this:
And search the forum, since there’s multiple examples.
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.

I’ve read it but my pb is for the first user just after a fresh install.
as no user provided I’m not able to get a token and so on not able to use api
I want to be able to suppress the step
where you inform metabase for the first uset

@bolivier POST /api/setup/ token

Thanks a lot this help me !