# Use ChatGPT with Jobwright

Install Codex, sign in with ChatGPT, then choose ChatGPT in Jobwright without sharing provider credentials.

Canonical page: https://www.jobwright.io/docs/agents/chatgpt/
Markdown source: https://www.jobwright.io/docs/agents/chatgpt.md

Install Codex, sign in with ChatGPT, then select ChatGPT in Jobwright.

## Before you start

- Your ChatGPT plan must include Codex access, or you must use another sign-in method that Codex offers.
- Install the agent in the same operating-system environment as Jobwright. A Windows install cannot use an agent that exists only in WSL.

## Install the agent

### Windows

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
```

### macOS and Linux
```bash
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```

## Sign in with the provider

Run Codex. On first launch, choose Sign in with ChatGPT and finish the provider flow in your browser.
```bash
codex
```

## Connect it to Jobwright

Open Jobwright. Open Settings, then Local agents. Select Rescan and choose ChatGPT. Continue after the agent shows Ready.

> Jobwright does not receive the provider password, API key, access token, payment details, or recovery codes. Complete sign-in in the provider tool.

[Open the official setup guide](https://developers.openai.com/codex/cli)
