Sign in to Codex

Logging in to use Codex and GPT models.

Command

codex login
1

Run the command below in the Codespace terminal.

2

A new browser tab opens automatically.

3

Enter the Codex credentials or use SSO.

4

Once authenticated, return to the terminal.