Skip to main content

Install Codex CLI

Install Codex CLI globally with npm:

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_URL
  • OPENAI_API_KEY

Choose an integration method

  1. Edit Codex’s config file at .codex/config.toml and add:
  1. Set APIGO_API_KEY to your platform key.
  2. Launch Codex CLI with the configured profile: