Set up with an AI agent

Hand the setup to an AI coding agent such as Claude Code, Codex or Cursor. It deploys your server from the command line and walks you through the few Google Cloud steps only a person can click through.

Not using an agent? The three-step setup needs no terminal at all.

Before you start

The prompt

Copy this into your agent. Replace the value in angle brackets first.

Set up a self-hosted Echelon Inbox server for me. Echelon Inbox is an AI Gmail
client: a Cloudflare Worker that a Mac app connects to.

Follow these guides, in this order. Read each fully before acting:
- https://inbox.echelonone.io/docs/setup-google/  (I do these clicks; you guide me)
- https://inbox.echelonone.io/docs/setup-cli/     (you run these commands)
- https://inbox.echelonone.io/docs/setup-deploy/  (we finish together)

Who may sign in (comma-separated domains and/or addresses): <[email protected]>

How to work:
1. Check for git, Node.js 20+ and pnpm. If something is missing, tell me how to
   install it instead of installing system packages yourself.
2. Walk me through the Google Cloud steps one at a time with the exact links.
   Wait for me to paste back the OAuth client ID and client secret.
3. Clone the repository, run pnpm install, and run `wrangler login` (I will
   approve it in my browser). Create the Cloudflare resources and put the D1
   database_id into apps/worker/wrangler.jsonc.
4. Set the secrets with `wrangler secret put`, piping values in so they never
   appear in the chat, logs or files. Generate TOKEN_ENCRYPTION_KEY with
   `openssl rand -base64 32` and tell me to save it in my password manager.
5. Run `pnpm run deploy` in apps/worker. Open the server URL it prints and
   confirm its status page shows every check passing.
6. Tell me the redirect URI from that page to add to my Google OAuth client,
   and how to install the Mac app and point it at my server.
7. Only if I ask for instant new mail: follow the Terraform section of the
   setup-cli guide. It needs billing on the Google Cloud project, so ask first.

Ask before anything that costs money or deletes resources. Don't print secrets.
If a step fails, show me the error and your proposed fix.

What you'll do yourself

Read the commands your agent proposes before you approve them, especially anything that deletes resources. The setup only creates things.