1
Export your API key
2
Add the server
GECKO_API_KEY in the environment’s secrets. The
server is stateless, so ephemeral sandboxes reconnect with no session state.
Ask Codex to list your Gecko repositories to confirm the connection.
Troubleshooting
Calls fail with an authentication error
Calls fail with an authentication error
Confirm
GECKO_API_KEY is set in the environment Codex actually runs in
(shell profiles don’t reach Codex Cloud; use the environment’s secrets),
and that the key still exists under Settings > API Keys. Keys
are revoked the moment they’re deleted.Reads work but triage or tickets fail
Reads work but triage or tickets fail
An API key can do exactly what its owner’s role allows, no more. If the
key owner’s role lacks triage or ticket permissions, those tools return
permission errors while reads keep working. See
Teams & permissions.