Skip to content

en usage platforms mattermost

langbot-docs-sync[bot] edited this page Sep 9, 2026 · 1 revision

Mattermost

Note

The screenshots below use the Chinese interface. Follow the corresponding menu items and fields described in the text.

Create a bot account

Log in to your Mattermost instance (self-hosted or hosted by Mattermost). Click the Mattermost icon in the upper-left corner and select Integrations from the menu.

Open Integrations from the Mattermost menu

On the Integrations page, select Bot Accounts in the left menu, then click Add Bot Account in the upper-right corner.

Open Bot Accounts and add a bot account

Choose a username for the bot.

Enter the bot username

Set the role to Member (administrator-related features are not currently supported). Select post:all if you need direct messages, or select only post:channels if you only need public channels. Then click Create Bot Account in the lower-right corner.

Select the bot role and posting permissions

Click the button to copy the token. It is shown only once, so save it securely. Then click Done in the lower-right corner.

Copy the bot token before completing account creation

Configure the bot in LangBot

Open LangBot Cloud or your self-hosted LangBot instance and follow the red arrows in the screenshot below:

  • Hover over the Bots tab on the left and click the + icon that appears.
  • Enter a name in the Bot Name field.
  • Open the platform adapter dropdown and select Mattermost.
  • Enter the address of your Mattermost instance and the token for the bot account you just created.
  • (Optional) Disable streaming output if your pipeline or AI provider does not support it.
  • Click Submit in the upper-right corner to open the bot editing page.

Add a Mattermost bot and enter the instance address and token in LangBot

Bind an existing pipeline, configure routing if needed, and click Save in the upper-right corner.

Bind a pipeline and save the Mattermost bot configuration

LangBot Documentation

Home

简体中文
指南
开发者
文章
API 参考
Other pages
English
Guides
Developers
Articles
API Reference
Other pages
日本語
ガイド
開発者
記事
API リファレンス
Other pages

Clone this wiki locally