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
Use agent setup for local tools. Remote MCP clients sign in through OAuth and refresh access tokens automatically.VM Application Access
Workspace credentials manage resources; a VM traffic token or browser session authenticates protected application ports. The terminal and enabled desktop are protected by default. The CLI handles browser authentication automatically:X-Beam-VM-Token, not the workspace API token. See VM networking for SDK and MCP access, revocation, and private port forwarding.
VMs and sandboxes receive no automatic workspace token. If a guest needs workspace API access, explicitly bind a BETA9_TOKEN or BEAM_TOKEN secret; these are plaintext opt-ins. Other runtime secrets use brokered placeholders.