MetorialDocs

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

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

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:

metorial-admin portals access list <portal-id> --type provider_template --search "docsbot ai"

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

metorial catalog search "docsbot ai"
metorial setup <catalog-item-id>

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.

metorial list "docsbot ai"
metorial client list
metorial install <client-identifier> <integration-id>

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 list "docsbot ai"
metorial tools <integration-id>
metorial call <integration-id> list_bots -d '{}'

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. Needs botId and conversationId.
  • list_sources: List a page of training sources for a bot. Needs botId.
  • list_questions: Retrieve question and answer history for a bot. Needs botId.
  • get_bot: Retrieve full details for a specific bot including its configuration, model, status, widget settings, labels, and usage statistics. Needs botId.
  • get_upload_url: Get a presigned upload URL for uploading a file to use as a bot training source. Needs botId and fileName.
  • list_conversations: Retrieve paginated conversation sessions for a bot. Needs botId.
  • 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). Needs botId, answerId and rating.
  • create_source: Add a new training source to a bot. Needs botId and type.
  • 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. Needs botId.
  • record_escalation: Mark an individual answer in question history as escalated to human support. Needs botId and answerId.
  • create_bot: Create a new AI chatbot for a team selected with list_teams. Needs name, description, privacy and language.
  • ask_question: Send a question to a DocsBot AI agent and receive an answer with source citations. Needs botId, conversationId and question.
  • 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. Needs botId and questionId.
  • delete_bot: Permanently delete a bot and all its associated sources and data. Needs botId.
  • delete_conversation: Delete a conversation session and all its messages from a bot. Needs botId and conversationId.
  • delete_source: Delete a training source from a bot. Needs botId and sourceId.

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_webhook
  • new_conversations: Triggers when new conversation sessions are created with a bot.

Next steps