Mattermost for Botkube Cloud
Prerequisites​
- Botkube Cloud account which you can create here for free.
Create a Botkube Cloud Instance with Mattermost​
Follow the steps below to install Botkube in your Mattermost instance.
-
Go to Botkube Cloud Web App and create a new instance.
You can do it by clicking "Create an Instance" button on Home Page or under this link Create an Instance
-
Fill in the
Instance Display Name
and clickNext
button. -
Click
Add platform
dropdown, and selectMattermost
option. -
Follow the Mattermost instructions for creating a bot account. When creating the bot account, use the following details:
-
Username —
Botkube
noteYou can also use a custom username for your bot. Just remember that you'll need to provide this username during a later step of the Botkube installation.
-
Description —
Botkube helps you monitor your Kubernetes cluster, debug critical deployments and gives recommendations for standard practices by running checks on the Kubernetes resources.
. -
Icon — You can download the Botkube icon from this link.
-
-
Paste the bot name in the form
-
Past the token in the form
-
Add Botkube to a channel
Make sure that the newly created bot account is added to your Mattermost team by following these instructions.
Add Botkube user created to the channel you want to receive notifications in.
-
Add plugins you want to enable in your Botkube instance and click
Next
button. -
Include optional
default aliases
anddefault actions
and clickCreate
button to create Botkube Cloud instance. -
Follow the instructions in the summary page to deploy Botkube into your environment.
Clean up​
Remove Botkube from Mattermost Team​
- Deactivate or remove Botkube user from Mattermost Team. Login as System Admin, in the Menu proceed to System console -> Users -> botkube -> Deactivate.
- Archive Channel created for Botkube communication if required.
Remove Botkube from Kubernetes cluster​
-
Go to Botkube Cloud instances page and click
Manage
button of the instance you want to remove. -
Click
Delete instance
button, type instance name in the popup and clickDelete instance
.cautionRemember to execute the displayed command to completely remove Botkube and related resources from your cluster.