The first application account is created through step-by-step terminal prompts. You then sign in and manage records in the browser. This application account is separate from the generator's Account sign-in.
First browser sign-in
- Complete initial setup using one of the paths below.
- Wait for the application backend and interface to start.
- Open the admin address and enter the username and password you chose.
- Open a module and create your first record.
Required operator bootstrap
An empty application has no administrator or default password. An operator creates its first owner in a terminal; there is no public superadmin registration form.
Local development:
- Configure the model in Generator UI and run Generate.
- In a terminal, open the generated project root containing Makefile.
- Run one command:
make dev
- Wait for
stage=initial-superadminand theLogin [superadmin]:prompt. - Enter a username and press Enter. An empty answer keeps
superadmin. - At
Password (12–128 UTF-8 bytes):, enter a password. Characters are hidden. - At
Confirm password:, enter the password again. - After
Initial superadmin created., wait forstage=runtimeand open the printed admin address.
The password must contain 12–128 UTF-8 bytes and differ from the username. ASCII characters use one byte each; some other characters use several bytes.
Prod-local or a VPS after a successful Deploy:
- Open a terminal on the machine running the backend. Use SSH for a VPS.
- List running backend containers:
docker ps --filter label=com.docker.compose.service=backend --format 'table {{.Names}}\t{{.Image}}'
- Choose the container for your project and environment. Replace
BACKEND_CONTAINERwith its name:
docker exec -it BACKEND_CONTAINER admin bootstrap-superadmin --if-needed
- Answer Login, Password and Confirm password in the same order as the local procedure.
- Open the HTTPS admin address and sign in with those credentials.
BACKEND_CONTAINER is a placeholder to replace, not a literal container name. The command uses the selected container's database and secret configuration. CI does not create the initial owner automatically.
What to do after first sign-in
Initial superadmin already exists. No account was created. means an active superadmin already exists: repeating the command does not change it. If accounts exist without an active superadmin, bootstrap reports an authorization-state error. An operator must recover access; do not delete accounts to force bootstrap to run again.
Automation can use --password-file with a private file accessible inside the process/container. This is an additional operator path, not part of ordinary first startup. Do not pass passwords as command arguments or environment variables.
Continue with the generated admin. Configure entity permissions in Generator UI → Access. See runtime settings for environment configuration.