Connect OpenAI Codex (UI)
Prerequisites
Step 1: Open LLM Integrations

Step 2: Sign In to OpenAI

Step 3: Authorize Codex

Step 4: Copy the Callback URL

Step 5: Paste the URL in Genie

Step 6: Connected

Tips
Last updated
This guide walks you through connecting OpenAI Codex to your Genie server using the dashboard UI. Once connected, Genie uses your ChatGPT account to power AI interactions.
A Genie account with a running server
An OpenAI account with a ChatGPT subscription
Go to your Genie dashboard → Settings → Server. Scroll down to LLM Integrations and select the Codex tab. Click Connect Codex CLI.

A new tab opens to the OpenAI login page. Enter your email and password, or use one of the social login options (Google, Apple, Microsoft).

After signing in, you will see a consent page. This explains that Codex will be linked to your ChatGPT account and will use your plan's rate limits. Click Continue.

Your browser redirects to a localhost URL. This will show a connection error — this is expected on remote servers.
Copy the full URL from your browser's address bar. It contains the authorization code needed to complete the setup.

Go back to the Genie settings tab. Paste the callback URL into the input field and click Connect.

All steps show green checkmarks. You will see the message: "Codex CLI connected — your server is ready!"

Your server is now using OpenAI Codex for AI interactions.
The localhost connection error in Step 4 is expected — just copy the URL from the address bar
Codex uses your ChatGPT plan's rate limits and training preferences
You can also set up Codex via the terminal — see Set Up OpenAI Codex
To verify the connection, go to Chat and send a message to Genie
Last updated