Codex App
Prerequisites
Step 1: Set the API key
Replace sk-xxx with your JoyToken API key:
Codex reads the variable named by env_key. Keep the key out of config.toml and start the app from a shell where this variable is available.
Step 2: Configure the provider
In Codex App, open Settings > Configuration > Open config.toml. Add the following top-level settings and provider definition to ~/.codex/config.toml:
Provider and authentication settings must be in the user-level config. Codex ignores model_provider and model_providers in project-level .codex/config.toml files.
Step 3: Start Codex App
Quit any running Codex App process, then open the project from the shell where JOY_TOKEN_API_KEY is set:
Step 4: Verify
Send Reply with exactly: pong. A successful response includes pong.
