Mattermost Channel Configuration
Mattermost channels support private chat and group chat scenarios, and in group chats, the session context is divided based on Thread (building) .
Step 1: Obtain vouchers
- Log in to your Mattermost account and go to the System Console .
- Find Integrations → Bot Accounts and create a new bot account.
- Grant the robot the necessary permissions (for example
Post all), and after successful creation, copy and save the generated Access Token .
Step 2: Configure the front-end page
Go to the front-end page → Channels , find the Mattermost card, and click Configure:
- Enable : Turn on the switch.
- URL : Enter the full address of your Mattermost server (for example
https://mattermost.example.com). - Bot Token : Enter the Access Token you just obtained .
Other optional settings (adjust as needed):
- Show Typing : When enabled, the bot will display “Typing…” when replying.
- Thread Follow Without Mention : When enabled, the bot will continue to reply in group chat comments even if you don’t @ it.
Note: The default reply policy for private and group chats is “open” (allow all). If you need to restrict access to specific users, you can select a whitelist (allowlist) in the policy and fill in the allowed user IDs.