Users & sign-in
Create accounts, invite your team, reset passwords, understand sign-in lockouts and set up single sign-on on a self-hosted Future AGI instance.
In this page
A self-hosted instance manages its own accounts. This page covers creating them from the installer, the command line or the UI, sending invites and password resets by email or without it, what happens after too many failed sign-ins, and single sign-on.
The installer creates the first account. After that, use create_user, sign-up in the UI, or team invites. Without email, an administrator resets passwords with reset_password. Ten failed sign-ins lock an email address for an hour, unless an administrator clears the lock.
Create accounts
./bin/install asks for the first account’s email, name and password; press Enter at the email prompt to skip it. With -y it reads FAGI_ADMIN_EMAIL, FAGI_ADMIN_NAME and FAGI_ADMIN_PASSWORD instead, and skips the account unless all three are set. See Installer flags.
To create an account later, run create_user in the container that runs the API. It asks for the email, full name and password:
docker compose exec app python manage.py create_user # Standalone
docker compose exec backend python manage.py create_user # Distributed
kubectl -n futureagi exec -it deploy/futureagi-backend -c backend -- python manage.py create_user # Helm
To script it, pass the email and name as flags and pipe the password in. A password on the command line can be read by every process in the container, which in Standalone includes code evals:
printf '%s\n' "$PASSWORD" | docker compose exec -T app python manage.py create_user \
--email you@example.com \
--name "Your Name"
The password must pass the sign-up rules: at least 8 characters, not a common password, and not all digits. Then sign in at http://localhost:3000.
Other ways to add people:
- Sign-up in the UI. Anyone who can reach the instance can create an account on the sign-up page.
- Team invites. Invite people from the app’s settings. With email set up, the invite is emailed. Without it, the invite dialog returns a link for each invitee to share yourself.
- Helm. Set
bootstrap.admin.existingSecretto a Secret with the keysemail,nameandpassword, and the bootstrap job creates the first account if no account with that email exists. See Create the first account.