> ## Documentation Index
> Fetch the complete documentation index at: https://docs.octen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatGPT and Codex

> Add Octen to ChatGPT, the Codex app, and the Codex CLI.

For AI agents: [docs.octen.ai/integrations/chatgpt-codex.md](https://docs.octen.ai/integrations/chatgpt-codex.md)

ChatGPT and the Codex app install Octen from one shared plugin directory.

> [card] [Get API Key](https://octen.ai/platform/api-keys)
>
> Create a key from the API Platform.

> [card] [GitHub](https://github.com/Octen-Team/octen-skills)
>
> View the plugin source.

## ChatGPT and the Codex App

Plugins installed from the directory work in ChatGPT on the web, desktop, and mobile, and in Codex in the ChatGPT desktop app.

**1. Find Octen**

Open the **Plugins** tab, search for Octen, and open its details.

**2. Install the plugin**

Click **+** to install the plugin, then connect Octen when prompted.

**3. Confirm the install**

Octen appears in the **Installed** row. Start a new chat and ask for something that needs the live web, or type `@` to call Octen directly.

## Codex CLI

### Skills Plugin

**1. Install the plugin**

```bash theme={null}
codex plugin marketplace add Octen-Team/octen-skills
codex plugin add octen@octen-plugins
```

**2. Set your API key**

The skills read your key from `OCTEN_API_KEY`. Export it in your shell profile (`~/.zshrc` or `~/.bashrc`):

```bash theme={null}
export OCTEN_API_KEY="your-api-key"
```

Or set it in `~/.codex/config.toml` as shown in [Octen Skills](https://docs.octen.ai/integrations/octen-skills.md#api-key).

**3. Confirm the install**

```bash theme={null}
codex plugin list
```

`octen@octen-plugins` shows as `installed, enabled`. Start a new Codex session to load the skills.

The plugin bundles the seven [Octen Skills](https://docs.octen.ai/integrations/octen-skills.md#skills).

### Hosted MCP Server

> [!NOTE]
>
> You'll need an Octen API key first. Create one from the [API Platform](https://octen.ai/platform/api-keys).

Add the hosted server:

```bash theme={null}
codex mcp add octen --url https://mcp.octen.ai/mcp
```

Codex opens the Octen sign-in in your browser. On the Octen consent page, choose the account and API key the connection uses, then click **Allow**. If the sign-in does not finish, run `codex mcp login octen`.

To use an API key instead of signing in, export it in your shell profile (`~/.zshrc` or `~/.bashrc`) and point Codex at the variable:

```bash theme={null}
export OCTEN_API_KEY="your-api-key"
codex mcp add octen --url https://mcp.octen.ai/mcp --bearer-token-env-var OCTEN_API_KEY
```

Confirm the server:

```bash theme={null}
codex mcp list
```

`octen` shows as `enabled`. Its auth is `OAuth` after you sign in, `Bearer token` with an API key, and `Not logged in` before you finish the sign-in.

The server exposes every [Octen MCP tool](https://docs.octen.ai/integrations/octen-mcp-server.md#tools). To run it locally with `npx` instead, see [Run It Locally](https://docs.octen.ai/integrations/octen-mcp-server.md#run-it-locally).

***

Last modified on November 24, 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.