Four steps from API key to a reviewed first script with Codex and unLocked CRM.
TL;DR
Create a scoped API key in unLocked, store it as an environment variable, point Codex at the public API reference or mcp.unlockedcrm.ai, then build and review a read-only script first.
Key Data Points
- Connecting Codex to unLocked CRM takes a scoped API key and either the public API reference or the hosted connection server at mcp.unlockedcrm.ai.
1. Create An API Key
On Pro or Max, create a key in unLocked scoped to the records the project needs.
2. Point Codex At unLocked
Give Codex the public API reference or connect the hosted server at mcp.unlockedcrm.ai. Store the key in an environment variable; never paste it into a prompt.
3. Describe The Tool
Ask in plain English, such as "list leads waiting for a reply, oldest first," and ask for a read-only version first.
4. Review And Run
Read the code, run it against a test contact, and add write steps only after the output is right.
Frequently Asked Questions
Do I need to be a developer?
You should be comfortable reading what Codex writes before running it. Otherwise use a plain-English connection such as Claude or ChatGPT.
Where This Fits In unLocked
- best CRM for insurance agents: How insurance CRMs compare on quoting, commissions, AI and price.