Install Codex CLI
Install Codex CLI globally withnpm:
Configure ApiGo API
Important: clear OpenAI environment variables before use Before configuring, clear the following OpenAI-related environment variables so they do not override your ApiGo settings:
OPENAI_BASE_URLOPENAI_API_KEY
Choose an integration method
- Manual configuration
- Edit Codex’s config file at
.codex/config.tomland add:
- Set
APIGO_API_KEYto your platform key. - Launch Codex CLI with the configured profile:
