MetorialDocs

Set up Sendbird AI Chatbot in Metorial for AI agents

Share Sendbird AI Chatbot with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 11 tools (4 read-only).

To give your team Sendbird AI Chatbot in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Sendbird AI Chatbot integration in a Metorial portal, and each person connects with an API token. Agents can create, configure, and manage AI-powered chatbots within Sendbird applications. The integration has 11 tools, 4 read-only, 6 write and 1 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Sendbird AI Chatbot in a portal and how each person connects
  • What Sendbird AI Chatbot asks for when you connect, and where to find it
  • How to keep the 4 read-only tools and reject the other 7

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: Sendbird API token (master or secondary). Found in Dashboard > Settings > Application > General > API tokens.

Setup settings

Setup also asks for:

  • applicationId: The Sendbird Application ID. Found in Dashboard > Settings > Application > General. This is case-sensitive and used to construct the API base URL.

Admin: share Sendbird AI Chatbot 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 Sendbird AI Chatbot. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Sendbird AI Chatbot.

Choose who gets it

Add the access groups that should see Sendbird AI Chatbot. 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 Sendbird AI Chatbot integration. Once it exists, check which groups have it:

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

Employee: connect Sendbird AI Chatbot

In the portal

Open Sendbird AI Chatbot in the catalog

Sign in to your portal and open Sendbird AI Chatbot. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (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 "sendbird ai chatbot"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Sendbird AI Chatbot 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 "sendbird ai chatbot"
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 4 read-only tools, such as get_bot and list_bots, and lose the 6 write tools, such as create_bot or update_bot, and the destructive tool delete_bot.

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

metorial tools lists the 11 tools, minus any you rejected. list_bots takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (4)

  • get_bot: Retrieves detailed information about a specific bot by its user ID, including identity, callback URL, and channel invitation settings. Needs botUserId.
  • list_bots: Lists all bots in your Sendbird application with pagination support.
  • list_bot_channels: Lists group channels a bot has joined, including empty and hidden channels.
  • get_message: Retrieves a message from a group channel by its ID, including text, sender, type, and creation time.

Write tools (6)

  • send_bot_message: Sends a text message from a bot to a specific channel. Needs botUserId, channelUrl and message.
  • update_bot: Updates an existing bot's configuration, identity, or AI settings. Needs botUserId.
  • manage_bot_channels: Join or leave channels for a bot. Needs botUserId and action.
  • generate_ai_reply: Generates a non-streaming reply through the existing Sendbird AI chatbot replies API. Needs botUserId and messages.
  • create_bot: Creates a new bot in your Sendbird application. Needs botUserId and botNickname.
  • manage_typing_indicator: Start or stop a typing indicator for a bot in a group channel. Needs channelUrl, botUserId and action.

Destructive tools (1)

  • delete_bot: Permanently deletes a bot from your Sendbird application. Needs botUserId.

Triggers

Sendbird AI Chatbot has 2 triggers, which fire on events in Sendbird AI Chatbot:

  • message_events: Triggers when messages are sent, updated, or deleted in channels.
  • channel_events: Triggers on channel lifecycle and membership events, including channel creation, removal, property changes, freeze/unfreeze, user joins, leaves, invitations, and invitation declines.

Next steps