Skip to main content
From a fresh install to running your first workflow. If you haven’t installed the CLI yet, start with Installation.

1. Authenticate

This opens your browser for Clerk SSO / magic-link sign-in and stores your session locally. For CI or headless environments, use an API key instead — see Authentication.

2. Select an organization

3. Select a project

Your default org and project are saved to ~/.machina/config.json and used for every subsequent command. Override per-command with --project.

4. Explore and run

Run machina with no arguments to open the interactive REPL — the same commands without the machina prefix, with tab completion and history.

Next up