~/.codex/config.toml (or a project-level .codex/config.toml):
auth = "oauth" is the default for streamable HTTP servers, so the bare url block above is all you need.)
Try it
A headed agent already has your working session in context, so the standout first task is turning that into content. Ask Codex to list your workspaces, then hand it the transcript:Authenticate with an API key instead
For CI or a headless run without a browser, Codex can send a scoped API key as a bearer token instead. Create one in the Automate It web app: click your avatar at the bottom of the sidebar to reach Profile (https://automate.it.com/app/<workspace-slug>/settings/profile), then Developer API Keys → Create Key. Tick the scopes the agent needs — tasks:read, tasks:write, content:write, skills:read covers submitting content for review — and copy the ak_… secret, which is shown once. See API keys & scopes for the full table.
Point Codex at it through an environment variable so the key stays out of the config file: