Skip to main content

Codex guide

Connect Codex and review its first change

Sign in Codex on the workspace, complete a bounded fix, and verify what changed.

4 min readUpdated Start the guide

Start with a reproducible defect in an app you understand. The goal is to connect the intended Codex account, make a small correction, and inspect evidence before deciding whether to submit the work.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • An active workspace with an app and a ready runtime.
  • An owner who can enable Codex and complete its sign-in.
  • Codex access through the account or authentication method offered to your workspace, plus a safe test case.
A task conversation and composer in the Agent Dashboard.
The conversation keeps the brief, agent response and controls together. Claude Code example with sample data; controls vary by agent. Open full-size screenshot
Step 1 of 6

Enable Codex in the workspace

Open Settings, then Coding Agents, and turn on Codex. Check that the runtime is ready because the connection runs there. Your browser's ChatGPT session is not by itself proof that the workspace's Codex connection is authenticated.

Step 2 of 6

Complete the displayed authentication

Choose Authenticate in Browser and follow the provider flow. Return a code only if the panel asks for one. The Use Terminal option shows codex login when that path is needed. OpenAI distinguishes subscription sign-in from usage-based API access, so verify which account and billing path you are connecting.

Step 3 of 6

Check readiness and the selected account

Wait for Authenticated, then inspect the connection name and any usage message. When more than one prepared account is available, choose the intended one in New Task. Do not use a personal connection for work that your organization requires on a managed account.

Step 4 of 6

Create a small Codex task

Open Agents, choose + New task, select the App and Codex, and use a model the connection reports. Choose only an effort level available for that model. Create the task and ask it to diagnose before editing so you can correct a mistaken understanding early.

Step 5 of 6

Give Codex a testable finish line

Describe the observed failure, the expected behavior, and what must not change. Keep credentials and customer records out of the example. Answer questions and inspect command requests instead of approving everything to speed up the first run.

First Codex fix
The settings form shows success even when the display name is blank.
Find the validation path and explain the cause first. Then reject blank or whitespace-only names while keeping valid-name behavior unchanged.
Add a focused test if the project has an appropriate test setup. Report the result and remaining gaps. Do not submit or deploy.
Step 6 of 6

Review the code and the failed case

Read Changes, then inspect the relevant Checks. Try the original failure and a valid input in a supported preview. If Codex only reports success without evidence, ask for the exact command or behavior checked. Decide separately whether the reviewed result is ready for submission.

Check the result

  • Codex is authenticated on the intended workspace account.
  • The original failure and one valid case have been checked.
  • You have reviewed the diff and know whether submission or deployment remains outstanding.

Troubleshooting

A login in another browser did not authenticate this task.

Check the workspace's Coding Agents status and complete its displayed flow. A local or unrelated Codex session does not authenticate the runtime connection.

A model or effort is unavailable.

Use the current reported list and refresh the agent settings where offered. Account access and model support determine the choices; do not assume an API model catalog matches the task connection.

Availability and limits

  • OpenAI subscription and API authentication have different billing and account policies.
  • Model access, permission modes, and reasoning choices depend on the connected account and agent. A merged change is not necessarily live.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.