Skip to content

Connect Codex

The Codex command line and editor extension use the same setup. Edits to document text and databases wait for your review, by default.

  • Codex on your computer.
  • Stuga open in a browser on the same computer.
  1. In Stuga, open Settings → Your AI agents. Under App, choose Codex.

  2. Copy the command under Run once in Terminal:, with its copy button, and run it in Terminal.

    Copy it from Stuga: it carries your Stuga’s address. It holds no key.

  3. Your browser opens Stuga’s approval page. Choose the workspaces and the access, then Allow.

  4. Restart Codex when the command finishes.

To check, ask Codex to find a document in Stuga. Edits wait for review by default; a document or database set to Let AI edits apply directly applies them at once.

In Your AI agents, open Uninstall from Codex. It shows two commands:

  • Disconnect this node removes this Stuga and keeps Stuga’s instructions for Codex, for when you use more than one Stuga.
  • Remove Stuga completely removes those instructions too.

Neither ends Codex’s access: revoke the connection under Connected agents, then restart Codex.