Skip to content

First Setup ​

The first time you open the proxy there are no accounts, so the console shows a Create Admin Account screen at /setup.

Create the admin account ​

  1. Open http://localhost:8080 (or your deployment URL).
  2. Enter a username and password. The password must be 8–72 characters with at least one uppercase letter, one lowercase letter, one digit, and one special character.
  3. Submit. The account is created with the admin role, and you are signed in immediately.

Notes:

  • Setup is rate-limited (5 requests/minute by IP) and can only run once: if an admin already exists, it returns 400 setup_complete.
  • You chose the password yourself, so there is no forced password change. Accounts an admin creates later must change their password at first sign-in.

Then do these three things ​

StepWhereWhy
1. Add a providerProvidersNo models exist until a provider and its models are configured
2. Check models and pricingModels & PricingModel names are what clients send; pricing drives cost tracking and budgets
3. Create an API keyAPI KeysClients authenticate with API keys; console logins do not work on /v1/*

Optional next steps: enable smart routing for the virtual models auto/fast/best, wire up MCP servers, or configure tracing to Langfuse, OpenTelemetry or LangSmith for your account (Account → Preferences).

Sessions and security ​

  • Console sessions are JWTs valid for 24 hours. There is no refresh token, so sign in again when one expires. POST /api/auth/logout ends the session and deactivates its playground keys.
  • Failed sign-ins lock the username after 5 attempts for 15 minutes (configurable defaults; see Server Settings).
  • The JWT secret and the provider-key encryption key are generated on first run and stored in the database. Keep the database: losing it means losing both. See Upgrades & Backups.

MIT licensed