Skip to main content
Authenticate with Motus Cloud. Opens a browser-based OAuth flow and stores your credentials in ~/.motus/credentials.json. You only need to run this once: credentials persist across sessions.

Usage

motus login [options]

Options

FlagDefaultDescription
--api-urlhttps://api.lithosai.cloudMotus Cloud API endpoint URL. Can also be set via the LITHOSAI_API_URL environment variable.
For CI environments where a browser is unavailable, set the LITHOSAI_API_KEY environment variable instead of running motus login. The environment variable takes precedence over the stored credential file.

Examples

Log in to Motus Cloud

motus login

Log in to a custom API endpoint

motus login --api-url https://api.staging.lithosai.cloud

CI authentication via environment variable

export LITHOSAI_API_KEY=your-api-key
motus deploy myapp:agent