Set up DocsBot AI in Metorial for Claude, ChatGPT and Cursor
Share DocsBot AI with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 21 tools (10 read-only).
To give your team DocsBot AI in Claude, ChatGPT, Cursor and other AI clients, an admin shares the DocsBot AI integration in a Metorial portal, and each person connects with an API key. Agents can create and manage custom AI chatbots, discover accessible teams, inspect usage, and train bots on documentation, websites, and uploaded content. The integration has 21 tools, 10 read-only, 7 write and 4 destructive, plus 3 triggers.
What you'll learn
- How an admin shares DocsBot AI in a portal and how each person connects
- What DocsBot AI asks for when you connect, and where to find it
- How to keep the 10 read-only tools and reject the other 11
Before you start
- A portal with at least one access group
- An API key from DocsBot AI 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 Key | API token | token |
API Key
To connect, a person enters:
token: Your DocsBot API key. Generate one from the API Keys section of your DocsBot dashboard.
Setup settings
Setup also asks for:
teamId: Your DocsBot team ID. Found on the API page of your DocsBot dashboard.botId(optional): Default bot ID. If set, triggers and tools will use this bot by default.
Admin: share DocsBot AI 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 DocsBot AI. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from DocsBot AI.
Choose who gets it
Add the access groups that should see DocsBot AI. 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 DocsBot AI integration. Once it exists, check which groups have it:
Employee: connect DocsBot AI
In the portal
Open DocsBot AI in the catalog
Sign in to your portal and open DocsBot AI. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
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 DocsBot AI 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 10 read-only tools, such as get_bot and get_team, and lose the 7 write tools, such as create_bot or update_bot, and the 4 destructive tools, such as delete_bot or delete_source.
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 21 tools, minus any you rejected. list_bots takes no input. It lists all bots for a team selected with list_teams.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (10)
list_teams: Retrieve all teams accessible with the current API key.get_conversation: Retrieve full details of a conversation session including the complete message history, summary, sentiment, resolution/escalation status, and user metadata. NeedsbotIdandconversationId.list_sources: List a page of training sources for a bot. NeedsbotId.list_questions: Retrieve question and answer history for a bot. NeedsbotId.get_bot: Retrieve full details for a specific bot including its configuration, model, status, widget settings, labels, and usage statistics. NeedsbotId.get_upload_url: Get a presigned upload URL for uploading a file to use as a bot training source. NeedsbotIdandfileName.list_conversations: Retrieve paginated conversation sessions for a bot. NeedsbotId.list_bots: List all bots for a team selected with list_teams.get_team: Retrieve a team’s current usage and plan limits.get_source: Inspect a training source, including ingest progress, warnings, indexed URLs, FAQ pairs, and multi-file filenames.
Write tools (7)
rate_answer: Rate a bot's answer as positive, negative, or neutral (reset). NeedsbotId,answerIdandrating.create_source: Add a new training source to a bot. NeedsbotIdandtype.update_bot: Update an existing bot's settings including name, description, AI model, custom prompt instructions, privacy, widget appearance (color, icon, alignment), allowed domains, branding, support link, and UI labels. NeedsbotId.record_escalation: Mark an individual answer in question history as escalated to human support. NeedsbotIdandanswerId.create_bot: Create a new AI chatbot for a team selected with list_teams. Needsname,description,privacyandlanguage.ask_question: Send a question to a DocsBot AI agent and receive an answer with source citations. NeedsbotId,conversationIdandquestion.manage_source: Retry a failed training source or update its dashboard title without reindexing.
Destructive tools (4)
delete_question: Soft-delete a question from the bot's question history. NeedsbotIdandquestionId.delete_bot: Permanently delete a bot and all its associated sources and data. NeedsbotId.delete_conversation: Delete a conversation session and all its messages from a bot. NeedsbotIdandconversationId.delete_source: Delete a training source from a bot. NeedsbotIdandsourceId.
Triggers
DocsBot AI has 3 triggers, which fire on events in DocsBot AI:
new_questions: Triggers when new questions are asked to a bot.inbound_webhooknew_conversations: Triggers when new conversation sessions are created with a bot.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use DocsBot AI there
- Tool permissions: tool filters and what employees see
- DocsBot AI on metorial.com: the integration overview