Connect Codex to ChatBotKit
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in ChatBotKit
A preset of real ChatBotKit operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect ChatBotKit
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in. Codex connects when a session starts — run codex, or restart a running one (in the Codex app, Restart).
Run this in your terminal. The Codex app shares its config, so it gets the server too
<your-link> is your personal server URL — setup mints it for you.
Tools Codex gets
ChatBotKit
25 toolsList one page of bots; reuse the returned cursor for the next page.
Fetch a bot by its ID.
Create a bot with optional model and knowledge configuration.
Update supplied bot fields; omitted fields stay unchanged.
Delete the specified bot.
List one page of conversations; reuse the returned cursor for the next page.
Fetch a conversation by its ID.
Create a conversation initialized from an existing bot.
Send a user message and receive the generated response; may use ChatBotKit credits.
List one page of messages from a conversation.
Delete the specified conversation.
List one page of datasets; reuse the returned cursor for the next page.
Fetch a dataset by its ID.
Create a knowledge dataset.
Search a dataset for matching knowledge records.
List one page of contacts; reuse the returned cursor for the next page.
Fetch a contact by its ID.
Create a contact with the supplied profile fields.
Update supplied contact fields; omitted fields stay unchanged.
Delete the specified contact.
List one page of records in a dataset.
Fetch a record from the selected dataset.
Add text to a dataset as a knowledge record.
Replace the text and optional source of a knowledge record.
Delete a record from the selected dataset.
About Codex
Frequently asked questions
More ways to connect
More tools for Codex
Use ChatBotKit with other agents
Open your Codex agent in one click.
NoClick runs Codex for you with ChatBotKit wired in as tools. Connect your account and run.