Install Loop in Codex
Add Patronage Loop to Codex, sign in through your browser, and start working in the right Loop Project.
Start installation- Host
- Codex app and CLI
- Sign-in
- Browser authentication
- Project scope
- One active Project per connection
- Credentials
- Never paste keys into chat
Before you start
Update Codex to the current version.
Use a Loop account with access to at least one Project.
Confirm that your organization allows the Patronage plugin marketplace.
Install Loop
Run these commands in your shell to add the Patronage marketplace, install Loop, and start browser authentication.
codex plugin marketplace add patronage/loop-plugin --ref maincodex plugin add patronage-loop@loop-plugincodex mcp login patronage-loop- 01
Open Plugins
In Codex, open the plugin marketplace and add patronage/loop-plugin if the Patronage marketplace is not already listed.
- 02
Install Loop
Open Patronage Loop and install patronage-loop@loop-plugin. The plugin adds the Loop skill and remote connection together.
- 03
Authenticate
The login command opens browser authentication. In Codex Desktop, choose Authenticate when prompted.
Connect your Loop account
- 01
Sign in to Loop
Continue in the browser with the Loop account your team invited.
- 02
Choose a Project
If you can access several Projects, choose the one this connection should use. Loop selects your only accessible Project automatically.
- 03
Review the connection
Confirm the requesting application, selected Project, and requested access, then choose
Allow connection.
Each connection keeps its own Project
Changing the active Project in one agent does not change Loop admin or another Claude, Codex, or Cursor connection.
Verify the connection
Ask the agent: “Show me the marketing Projects available in Loop and tell me which one is active.” Setup is complete when the response lists your accessible Projects and names the active one.
Confirm the active Project before asking the agent to run a workflow or prepare a change.
Revoke access
Sign in at https://loop.patronage.com/admin/profile and open Agent Connections. Find this connection and choose Revoke. Loop denies its next request. You can reconnect later through the same browser authorization flow.
How Codex connects
The plugin supplies the Loop endpoint and reviewed OAuth client identity. Codex selects an available loopback callback port for each sign-in, so no setup script, fixed callback-port preference, or API key is required.
Troubleshooting
The browser does not open
Run
codex mcp login patronage-loop, then complete the browser flow.Authentication fails
Update Codex and retry the browser flow. Do not replace browser authentication with a copied key.
You signed out but the connection still appears in Loop
codex mcp logout patronage-loopclears local credentials. Revoke the Agent Connection in Loop when you need to stop it server-side.
Install Loop somewhere else
Claude Desktop
Install the Patronage Loop plugin, connect your Loop account, and choose the Project Claude should use.
Read guideClaude Code
Install the Loop plugin from Patronage’s Claude Code marketplace, authenticate in your browser, and confirm the active Project.
Read guideCursor
Install Patronage Loop from the Cursor Marketplace, authenticate in your browser, and confirm the Project Cursor should use.
Read guideReady to put Loop to work?
See how Loop gives your agents governed access to marketing tools, workflows, approvals, and activity history.