App, CLI, IDE, web, or mobile control, and how to sign in
After this, you'll be able to sign in to Codex on the surface you pick, choose between a personal and a work account, and explain when to use the app, CLI, IDE extension, web/cloud, or mobile remote control.
Pick the wrong Codex surface and you fight the tool all day.
Never written code? You don't need to. You describe the change, Codex makes it, and this track teaches you to check it.
Codex is one coding agent (an AI helper that takes steps on its own) that works from five surfaces. The right surface depends on where the code lives and how much review you want.
| Ready | Needs work |
|---|---|
| Job fit | |
| The selected surface can access the code | The task is still vague |
| Proof | |
| The selected surface can run or collect the needed proof | The result is assumed |
| Risk | |
| Low | Breaks when the chosen surface cannot see the code or cannot run the proof command |
| Next move | |
| Continue | Clarify first |
Use Ready only when the proof is visible.
Use the app for chats and diffs (before-and-after lists of changed lines), with a browser preview built in. Use the CLI (Codex in a text-only command window) when you live in the terminal. Use the IDE extension (Codex inside a code editor) when you want Codex reading the files already open beside you.
Where you sit and where the code runs are separate choices. App, CLI, IDE, web, and mobile are where you sit. Local (your own computer), a worktree (a separate copy of the project), or the cloud (OpenAI's computers) is where the code actually runs, and app, CLI, web, or mobile can all point at a cloud environment (a saved setup for running your project).
Use web to start or check a cloud task from a browser. Use mobile remote control when a host (the computer running the task) is already running, or to start a cloud task away from your desk.
The mistake is picking a surface out of habit. A one-file fix is CLI or IDE work, and a feature needing a browser check and staged commits (changes you picked for the next saved snapshot) belongs in the app. A long job can run in the cloud, if your plan includes it and that environment is ready.
In Claude Code and Antigravity: Claude Code is one agent behind a terminal, a desktop app, editor extensions, the web and a phone app. Run claude in a project folder and log in with a Claude plan. Antigravity has a desktop app and a command line tool, and you sign in with a Google account.
Skip this block if Codex already opens on your computer and you are signed in. Menu names can shift when the app updates, so look for the closest match.
No account yet? Sign up free at chatgpt.com first.
On your first message the app asks you to choose ChatGPT or Codex, so choose Codex. Start a new chat, choose Choose project at the bottom of the message box, and pick codex-practice. Once it shows under the message box, you are in Codex. Ask: What is in this folder?
If Codex names hello.txt, it can see your folder. If not, pick codex-practice itself, not the folder around it.
Ask Codex: Is Git installed on this computer? Then turn this folder into a Git project and tell me its status. The app may offer to do this for you, so say yes, and approve once if it asks.
If Git is missing: on a Mac, a box may pop up offering to install command line developer tools, so click Install. On Windows, download Git for Windows from git-scm.com and click Next through the installer. Then ask Codex again.
On Linux, ask Codex which install command your system uses, and approve it once.
Later lessons on changes and snapshots need step 6.
Sign in on each surface. One ChatGPT account works everywhere, but each surface starts sign-in in a different place.
codex login and choose Sign in with ChatGPT.Personal or work account? Sign in with the account that owns the work. Your own projects belong on your personal plan.
A company project belongs on your work account, often a workspace: a Business or Enterprise team account run by an admin who sets rules for everyone.
Not sure which one you are using? Open the profile menu in the app, or run codex login status in the terminal version. If you are practicing, use your personal account, and ask your admin before you open a work project.
The other path is an API key. The app calls it Sign in another way, and the IDE extension calls it Use API Key. An API key is a long secret password that lets a program bill your OpenAI developer account.
Usage then bills at developer rates instead of your plan, and it has no cloud features. You don't need one for this track, and you never paste one into a chat.
Signing out. In the terminal version run codex logout, and in the app choose Log out from the profile menu.
Codex may store your sign-in in a file called auth.json inside a hidden .codex folder on your computer. Treat that file like a password and never share it.
Check your plan before you pick a door. Free and Go (Go is a low-cost paid ChatGPT plan) include Codex in the desktop app, which is all this track needs.
The command line, the editor extension and cloud are listed under paid plans such as Plus on OpenAI's pricing page. Limits change often, so check the page first.
Later lessons use the built-in browser, plugins, subagents, goal mode and phone control. OpenAI's pages do not say which plans get each one. If a button is missing, check your plan on that pricing page, and treat the step as optional.
Other ways to use Codex (only if you use them). Any later step that needs one says "only if you use it."
Pick the smallest surface that can touch the code and show you proof.
Paste this into Codex
Task: [name one change you'd like made, or use your practice folder: add a second sentence to hello.txt] Repo location: [on my computer, GitHub (a website that stores repos), cloud environment, unknown] Review needed: [diff only, browser preview, tests, PR comments, mobile approval] Risk: [low, medium, high] Account I'm signed in with: [personal, work, unknown] Choose the best Codex surface: app, CLI, IDE extension, web/cloud, or mobile remote control. Give me the reason, the first step I should take in plain words, what proof I should require before accepting the work, and whether my account fits this work.
What a good response looks like
Use the Codex app. Your task is a new Wedding flowers page, which people will see and click, so you want a browser preview and a diff (the list of changed lines) before anything is saved. The code is on your computer, which the app can open directly, and the risk is low. First step: choose Choose project, pick your flower shop folder, and start a new chat. Proof to require: the page open in the in-app browser, plus the diff, with only the files you expect. Stage only what you accept. Account: this is your own shop, so your personal ChatGPT account fits. If the repo belonged to an employer, check with your admin first. Skip cloud for now. It needs a paid plan and a prepared environment, and a one-page change does not need it.
Check yours against
Use Codex to help you sign in to Codex on the surface you pick, choose between a personal and a work account, and explain when to use the app, CLI, IDE extension, web/cloud, or mobile remote control. Start with the exercise prompt and your real input. Ask for one draft, then check it against this proof: The selected surface can access the code (in the app, your project's name shows under Projects). Accept only the version you can verify yourself.
You can sign in on the surface you picked and say which account it uses
Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.
Without scrolling up, pick one task from your own work that Codex could do. Write which Codex surface you'd start in and what that surface has to be able to do for the task.
One good answer: 'Fix the wrong date on my gym's booking page. The Codex app, because it can open the project, run the test and show me the changes before I accept them.' If your reason is what the surface can touch, run and show, not which one sounds newest, you've got it.
Pick the surface from the task, and sign in with the account that owns the work. The right Codex surface is the one that can touch the repo, run the proof, and show you the diff.