Sign In
beam login --browserless and open the printed link on another device.
Credentials are saved in ~/.beam/config.ini.
Named Contexts
Save credentials under a name and select that context when running commands:beam config select production to change the default context, or beam config create to connect to a self-hosted gateway.
CI and Server-side SDKs
Save an API token asBEAM_TOKEN in your CI secrets. The Python SDK and CLI use it for the default context:
--json returns JSON and disables prompts. Check the exit status for failures.
For TypeScript, set beamOpts.token on the server. Keep tokens out of source control and browser code.
Coding Agents
Runbeam setup agent to connect your coding agent. It can guide you through browser login using the login and login_status tools. See agent setup.