start login

Log in via browser to connect a server

Log in via browser to connect a server

Usage

Terminal

start login
FlagTypeDefaultDescription
--serverstring—Skip server selection, connect to this server slug directly
--keystring—Skip browser, save this API key directly
--base-urlstring—Web origin override (default: https://start.chat)
--zero-urlstring—Sync origin override for --key

For a self-hosted browser login, pass its web origin with --base-url. The server returns and stores both its web and sync origins with the API key.

When importing a key directly for a custom web origin, --zero-url is required so the CLI cannot silently connect that key to the hosted sync service:

Terminal

start login --key sk_... --server team \
--base-url https://chat.example.com \
--zero-url https://sync.example.com