Skip to main content

Usage

Authenticate with ElizaOS Cloud using browser-based OAuth flow. On successful authentication, your API key is stored locally for use with other commands.

Options

Examples

Basic Login

Without Browser

Custom Cloud Instance

Extended Timeout

Authentication Flow

  1. Start: CLI initiates authentication request
  2. Browser: Opens login page (or displays URL if --no-browser)
  3. Authenticate: Complete login in browser (OAuth/credentials)
  4. Callback: Browser sends token back to CLI
  5. Store: API key is stored in ~/.elizaos/credentials

Environment Variable

Instead of logging in, you can set the API key directly:
Or use the ELIZA_CLOUD_URL environment variable:

Credential Storage

After successful login, credentials are stored at:
  • Linux/macOS: ~/.elizaos/credentials
  • Windows: %USERPROFILE%\.elizaos\credentials

Troubleshooting

Browser Doesn’t Open

Timeout Issues

Network Issues

If behind a proxy or firewall, ensure the cloud URL is accessible:
  • deploy: Deploy after authentication
  • containers: Manage containers (requires auth)