Set up ChatBotKit in Metorial for Claude, ChatGPT and Cursor
Share ChatBotKit with your team in Claude, ChatGPT and Cursor through Metorial: API secret key sign-in, 14 tools (4 read-only).
To give your team ChatBotKit in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ChatBotKit integration in a Metorial portal, and each person connects with an API secret key. Agents can build, manage, and deploy AI chatbots and conversational agents. The integration has 14 tools, 4 read-only, 2 write and 8 destructive, plus 1 trigger.
What you'll learn
- How an admin shares ChatBotKit in a portal and how each person connects
- What ChatBotKit asks for when you connect, and where to find it
- How to keep the 4 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- An API secret key from ChatBotKit for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Secret Key | API token | apiSecretKey |
API Secret Key
To connect, a person enters:
apiSecretKey: ChatBotKit API secret key (starts with sk-)
Setup settings
Setup also asks for:
runAsUserId(optional): Optional child user ID for Partner API impersonation (X-RunAs-User-ID header)
Admin: share ChatBotKit in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose ChatBotKit. For how members connect, choose Each person connects so everyone enters their own API secret key, or Shared connection to enter one API secret key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from ChatBotKit.
Choose who gets it
Add the access groups that should see ChatBotKit. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user ChatBotKit integration. Once it exists, check which groups have it:
Employee: connect ChatBotKit
In the portal
Open ChatBotKit in the catalog
Sign in to your portal and open ChatBotKit. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API secret key (apiSecretKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your ChatBotKit connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 4 read-only tools, such as get_task and list_models, and lose the 2 write tools, such as send_message or conversation_feedback, and the 8 destructive tools, such as manage_bot or manage_space.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 14 tools, minus any you rejected. list_resources needs resourceType, so replace the placeholders. It lists resources across ChatBotKit: bots, conversations, datasets, skillsets, contacts, memories, integrations, files, spaces, secrets, tasks, or blueprints.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (4)
list_messages: Retrieve the message history for a conversation. NeedsconversationId.get_task: Inspect a background task, including execution status, outcome, schedule and associated bot or contact.list_models: Discover available AI models, their identifiers, providers and token limits before configuring a bot or sending a completion.list_resources: List resources across ChatBotKit: bots, conversations, datasets, skillsets, contacts, memories, integrations, files, spaces, secrets, tasks, or blueprints. NeedsresourceType.
Write tools (2)
conversation_feedback: Submit upvote or downvote feedback on conversations or individual messages. NeedsconversationIdandvote.send_message: Send a message in a conversation and optionally receive the bot's response. Needstext.
Destructive tools (8)
manage_dataset: Create, update, delete, or fetch datasets. Needsaction.manage_integration: Create, update, delete, or fetch integrations (deployment channels). Needsaction.manage_space: Create, update, delete, or fetch spaces. Needsaction.manage_skillset: Create, update, delete, or fetch skillsets and their abilities. Needsaction.manage_conversation: Create, update, delete, or fetch conversations. Needsaction.manage_contact: Create, update, delete, fetch, or ensure contacts. Needsaction.manage_memory: Create, update, delete, fetch, or search memories. Needsaction.manage_bot: Create, update, delete, or fetch ChatBotKit bots. Needsaction.
Triggers
ChatBotKit has 1 trigger, which fire on events in ChatBotKit:
chatbotkit_events: Receives webhook events from ChatBotKit including bot activity, conversation events, and integration operations.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use ChatBotKit there
- Tool permissions: tool filters and what employees see
- ChatBotKit on metorial.com: the integration overview