Skip to main content
The self-hosting setup CLI is different from the public API CLI. It creates deployment configuration and can guide provider setup; it does not manage an existing inbox through the public API.

Start the wizard

Run the latest setup wizard with:
The interactive wizard asks which deployment target and providers you want to configure. Review generated files before committing or deploying them because they can contain environment-specific values.

Setup commands

The CLI includes dedicated flows for:
  • Local or Docker-based setup
  • Google OAuth, required APIs, and Gmail Pub/Sub
  • AWS deployment
  • Terraform generation and deployment
  • Vercel deployment
Run the CLI with --help, or a command followed by --help, for the flags supported by the installed version:

Automation guidance

Interactive setup is recommended for a first deployment. For repeatable environments:
  1. Run the wizard in a disposable or staging workspace.
  2. Review the generated configuration and identify secrets.
  3. Move secrets into your deployment’s secret manager.
  4. Commit only safe templates and infrastructure files.
  5. Use the generated output as the basis for your normal deployment pipeline.
Never place OAuth client secrets, database credentials, encryption keys, or AI-provider keys in source control.