> Use Revdoku to publish sites and demos generated by Codex, then share them on revdoku.site or a custom domain — with password gates and visitor analytics for client work.

# Publish websites from Codex with Revdoku

Connect Codex to Revdoku once, then ask it to build, publish, and update your website. This works in Codex inside the ChatGPT desktop app for macOS and Windows, in Codex CLI, and in the IDE extension.

## 1. Create a Revdoku account first

Go to [`https://app.revdoku.com`](https://app.revdoku.com/users/sign_up?utm_source=revdoku.com&utm_medium=connect-guide&utm_campaign=codex), create an account, and sign in before connecting Codex.

![Sign in or sign up at app.revdoku.com](/assets/codex/01-create-revdoku-account.webp)

## 2. Connect Codex to Revdoku

Pick how you use Codex:

- **[ChatGPT desktop settings](#21-add-revdoku-in-chatgpt-desktop):** add Revdoku once as an MCP server for Codex.
- **[Paste the connection message](#22-paste-the-connection-message):** the simplest way in a local Codex chat or CLI.
- **[Codex command line](#23-codex-command-line):** add Revdoku with one command, or paste the same message.

Codex web and cloud chats do not read MCP configuration from your local Codex host. Use Revdoku there only when the Revdoku plugin is available and enabled for your ChatGPT workspace; otherwise connect through the desktop app, CLI, or IDE extension.

### 2.1 Add Revdoku in ChatGPT desktop

In the ChatGPT desktop app, open Codex and add Revdoku once in settings, the same idea as connecting any other MCP server.

1. Open Codex and click **Settings** at the bottom of the sidebar.

![Open Settings in Codex](/assets/codex/codex-01-settings.webp)

2. Click **Settings** again in the menu.

![Click Settings in the menu](/assets/codex/codex-02-settings-menu.webp)

3. Under **Integrations**, open **MCP servers**. This is where outside apps like Revdoku connect.

![Open MCP servers in Codex settings](/assets/codex/codex-03-mcp-servers-nav.webp)

4. Click **Add server**. Enter the name `Revdoku`, choose **Streamable HTTP**, and paste `https://app.revdoku.com/mcp` as the address. Click **Save**.

![Add the Revdoku server](/assets/codex/codex-04-add-server-form.webp)

5. Find **Revdoku** in the list, click **Authenticate**, and approve the sign-in to your Revdoku account.

![Authenticate Revdoku](/assets/codex/codex-05-authenticate.webp)

6. Open a new chat, add **Revdoku** from the **+** menu, or just type `publish with Revdoku`.

For a full walkthrough, see the [ChatGPT desktop Codex guide](/codex-desktop/).

### 2.2 Paste the connection message

The quickest guided setup: paste a ready-made connection message into a local Codex desktop or CLI chat.

1. In the Revdoku app, click **New** (or the **+** button on mobile) and choose **Copy Instructions for AI**.

![Copy Instructions for AI in the Revdoku app](/assets/codex/codex-00-copy-instructions.webp)

2. Paste it into a new Codex chat and send.

![Paste the instructions into a new Codex chat](/assets/codex/codex-06-paste-instructions.webp)

3. Codex connects to your Revdoku account and confirms.

![Codex connected to Revdoku](/assets/codex/codex-07-connected.webp)

### 2.3 Codex command line

Add Revdoku in the terminal and sign in:

```bash
codex mcp add revdoku --url https://app.revdoku.com/mcp
codex mcp login revdoku
```

A sign-in window opens in your browser, so there is no key or password to paste. If you want Codex to publish files straight from your own computer, install the small Revdoku helper instead:

```bash
curl -fsSL https://revdoku.com/install.sh | bash
~/.revdoku/bin/revdoku login
```

Full walkthrough: [Codex command line guide](/codex-terminal/).

> **You've connected Revdoku.** Now just ask **`publish to Revdoku`** and your AI publishes it as a live URL.

## What to ask Codex

Once connected, just say what you want:

- **Publish a report:** "Create a one-page report website and publish it."
- **Publish a game:** "Build a small browser game, put it on Revdoku, and give me the link."
- **Publish charts:** "Turn this data into an interactive dashboard and publish it."
- **Keep it private:** "Publish it with a password" or "Require visitors to verify their email."
- **Update a site:** "Change the existing Revdoku site and keep the same link."

## Cross-check the published site from ChatGPT

Once Codex publishes to Revdoku, the same bucket can be inspected from ChatGPT if Revdoku is connected there too. Ask ChatGPT to summarize the publishing workflow, inspect files, or check analytics while Codex continues building locally.

![ChatGPT outlines a Revdoku publishing workflow for an AI-generated site](/assets/codex/chatgpt-revdoku-publish-workflow-magic-stories.webp)

**Ready to publish?** [Create a Revdoku account](https://app.revdoku.com/users/sign_up?utm_source=revdoku.com&utm_medium=connect-guide&utm_campaign=codex) · [See use cases](/cases/) · [Revdoku vs ChatGPT Sites](/compare/chatgpt-sites/)

## Takeaway

Create your Revdoku account first, then connect Codex in ChatGPT desktop, the CLI, or the IDE extension and ask it to publish. Codex web/cloud requires a workspace-enabled Revdoku plugin. Later changes keep the same link.

---

[View the canonical page](https://revdoku.com/codex/) · [Browse llms.txt](https://revdoku.com/llms.txt)
