Build apps
Connect Diakrin from ChatGPT and Codex
Add Diakrin to ChatGPT or Codex and sign in with your company account.
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 need | Example | Comes from |
|---|---|---|
| A Diakrin company account | you@acme.example | Your company's Diakrin organization; ask IT to invite you |
| ChatGPT or Codex | ChatGPT Business, Codex CLI | Your OpenAI plan; workspace admins may need to allow connectors |
| The Diakrin address | https://api.diakrin.com/mcp | Always this address for the Diakrin cloud |
Add Diakrin in ChatGPT
- 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. - Ask for an app, for example "Use Diakrin to create an app that tracks my team's tasks".
- 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:
codex plugin marketplace add Diakrin/diakrin-cliInstall the plugin:
codex plugin add diakrin@diakrinYou should see "Added plugin diakrin from marketplace diakrin". Then sign in:
codex mcp login diakrinYour 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:
codex plugin marketplace upgrade diakrinThen install the plugin again:
codex plugin add diakrin@diakrinYou 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
| Symptom | Cause | Fix |
|---|---|---|
| The sign-in page says the request expired | The sign-in waited more than 10 minutes | Start again from ChatGPT or Codex |
| Codex still asks you to sign in after you selected Allow | The chat started before you signed in | Start a new chat, or restart Codex |
| "Unverified app" on the consent screen | A tool on your computer registered itself | Continue only if you just started it |
| The assistant says you cannot change the app | The app belongs to someone else | Ask its owner, or create your own app |
| The assistant asks you to connect again | You disconnected it, your account was disabled or you left the company | Sign in again, or ask IT |
Next
Install the CLI for terminal work: Install and use the Diakrin CLI.