Mattermost¶
Create bot¶
-
Go to menu (3×3 dots) > System Console > Integrations > Bot Accounts:
- set Enable Bot Account Creation to
Trueand press Save
- set Enable Bot Account Creation to
-
Go to menu (dots 3x3) > Integarations > Bot Accounts:
- click Add Bot Account
- set Username to "impulse"
- optionally set our logo as the Bot Icon
- set Display Name to "IMPulse"
- set Role to "System Admin"
- click Create Bot Account
- copy the "Token" and use it as the
MATTERMOST_ACCESS_TOKENenvironment variable (see step 2.3 here) - click Done
Configure bot¶
- Go to menu (dots 3x3) > System Console > User Management > Teams:
- press on your Team
- press the button Add Members
- type "impulse" in search, select it and press the button Add
- press the button Save
Configure channels¶
-
To use IMPulse bot in private channels you must add it manually. Run this command in all necessary private channels:
/invite @impulse -
Users listed in
messenger.admin_usersmust be present in all channels defined inroute. -
Users mentioned in
messenger.chainsshould be added to their respective channels.To simplify this, you can add all
messenger.usersto all channels from therouteblock. -
We highly recommend configuring notification preferences for
messenger.usersin theirroutechannels:- select the channel in main list and press on it
- click the View Info icon (
i) in the top right, click Notifications Preferences - in the "Notify me about..." choose "Mentions, direct messages, and keywords only"
- click Save.