Build apps

Connect Diakrin from ChatGPT and Codex

Add Diakrin to ChatGPT or Codex and sign in with your company account.

Deployment
BYOC
Release stage
Early access

Any employee whose company uses Diakrin can add Diakrin to ChatGPT or Codex and sign in once with their company account; the assistant then saves app ideas and builds them under your company's rules.

Before you start

You needExampleComes from
A Diakrin company accountyou@acme.exampleYour company's Diakrin organization; ask IT to invite you
ChatGPT or CodexChatGPT Business, Codex CLIYour OpenAI plan; workspace admins may need to allow connectors
The Diakrin addresshttps://api.diakrin.com/mcpAlways this address for the Diakrin cloud

Add Diakrin in ChatGPT

  1. Add Diakrin from the ChatGPT plugin directory when it is listed there, or (where your workspace allows custom connectors) add a connector with the address https://api.diakrin.com/mcp.
  2. Ask for an app, for example "Use Diakrin to create an app that tracks my team's tasks".
  3. Your browser opens the Diakrin sign-in. Sign in with your company account and select Allow.

You should see ChatGPT save your idea and give you a console link to it. In a chat without a code editor, ChatGPT stops at the saved, prepared app and the console link; building the code happens in a coding agent such as Codex.

Add Diakrin in Codex

The Diakrin plugin brings the Diakrin connector, the Diakrin skill and Diakrin's local engine, which runs your app on your computer. Add Diakrin's marketplace:

sh
codex plugin marketplace add Diakrin/diakrin-cli

Install the plugin:

sh
codex plugin add diakrin@diakrin

You should see "Added plugin diakrin from marketplace diakrin". Then sign in:

sh
codex mcp login diakrin

Your browser opens the Diakrin sign-in; select Allow. You should then see the Diakrin tools in Codex.

In the Codex app, sign in from Plugins: choose Diakrin, select Connect Diakrin and approve the page in your browser. Start a new chat after you sign in: a chat that was already open does not see the sign-in.

Keep Diakrin up to date in Codex

Diakrin's local engine updates itself, at most once a day; you do nothing. To get a new version of the plugin, refresh the marketplace:

sh
codex plugin marketplace upgrade diakrin

Then install the plugin again:

sh
codex plugin add diakrin@diakrin

You should see "Added plugin diakrin from marketplace diakrin". codex plugin list shows the installed version.

What the assistant can do

  • Save, prepare, build and update the apps you own or manage (most employees: only their own), and read their Preview state.
  • Publish only when you ask, with your company's real groups and approvals.
  • It cannot change company settings, reach another company or change someone else's app.

Disconnect

In the Diakrin console, open your AI tool connection card and find Connected assistants. Select Disconnect next to ChatGPT or Codex. Its next call is refused; connect again any time.

If it fails

SymptomCauseFix
The sign-in page says the request expiredThe sign-in waited more than 10 minutesStart again from ChatGPT or Codex
Codex still asks you to sign in after you selected AllowThe chat started before you signed inStart a new chat, or restart Codex
"Unverified app" on the consent screenA tool on your computer registered itselfContinue only if you just started it
The assistant says you cannot change the appThe app belongs to someone elseAsk its owner, or create your own app
The assistant asks you to connect againYou disconnected it, your account was disabled or you left the companySign in again, or ask IT

Next

Install the CLI for terminal work: Install and use the Diakrin CLI.

Next stepInstall and use the Diakrin CLI →