1

Install and verify OpenAI Codex on the host

npm install -g @openai/codex
codex --version
Jaidu launches the host-installed codex app-server command by default. Use Codex CLI 0.130.0 or newer for the current default model profile.
2

Follow the login instructions

Complete the authentication flow as prompted. Follow the authentication instructions from the OpenAI help centre to use Codex with your ChatGPT plan.Alternatively, Codex can be used via the OpenAI API by setting the OPENAI_API_KEY environment variable. For more details, see the OpenAI documentation
3

Select Codex from the control plane

Once authenticated, open the Jaidu control plane, choose a registered host, and select OpenAI Codex for a Main Chat or workspace thread.

Custom Configuration Directory

By default, Codex stores its configuration and conversation data in ~/.codex. If you have configured a custom location using the CODEX_HOME environment variable, Jaidu will automatically detect and use that location.
# Example: Using a project-specific Codex configuration
export CODEX_HOME=/path/to/custom/codex
This is useful for:
  • Project-specific Codex profiles
  • Separating work and personal configurations
  • Custom automation setups
After setting CODEX_HOME, start or reopen the relevant Main Chat or workspace thread from the control plane so the host-side Codex process picks up the new configuration directory.