bt login creates or updates a saved Braintrust login profile. A profile stores credentials and connection details, while organization and project context are selected separately. One profile can be used with every organization its credentials can access.
After logging in, use bt switch to select your active organization and project. Use bt profiles to list, rename, or delete saved profiles.
In an interactive terminal, bt login prompts you to choose OAuth or API key authentication. OAuth is selected by default.
Flags
bt login also accepts credential-related global flags, such as --profile, --api-url, and --app-url. It does not accept --org or --project; select those with bt switch.