On the machine where you ran the installer, the one-step setup is in [Use with your agent](https://docs.hermitbox.dev/v0.2.0/agents.md):
it needs no key. This page is for a remote install.

1. Install the [hermitbox CLI](https://docs.hermitbox.dev/v0.2.0/connect/cli.md) on the machine running Codex.
2. Start Codex with `HERMITBOX_API_URL` and `HERMITBOX_API_KEY` in its private environment.
3. Merge this into `~/.codex/config.toml`, restart, and ask for project defaults, a sandbox,
   hello and cleanup. Supply an image only for a container default.

```toml
[mcp_servers.hermitbox]
command = "hermitbox"
args = ["mcp"]
env_vars = ["HERMITBOX_API_URL", "HERMITBOX_API_KEY"]
```

The [Codex reference](https://learn.chatgpt.com/docs/extend/mcp?surface=cli) also documents
project `.codex/config.toml` in trusted projects. `env_vars` passes named values without storing
the key. Host policy and [tier limits](https://docs.hermitbox.dev/v0.2.0/tiers.md) remain in force.
