Install Commander on your Mattermost Instance

Mar 19, 2020 | Commander

copied

Nimbella Commander is your one-stop destination to create or run custom slash commands on Mattermost or Slack. It also has a development and runtime framework built in so you can create and build your custom plugins and publish it as a Command Set for everyone to use. Our command building functionality will not only allow your developers to quickly design commands, but to also import our premade Command Sets without having to handle any backend. This will help all of your Mattermost teams to communicate much more effectively.

csm install translate

This blog aims to help you to install Commander on your Mattermost instance. I assume you have already installed and setup Mattermost and you are the admin, so you have the ability to create slash commands.

  1. First, we need to add Commander as a slash command integration in Mattermost in order to use Commander. We can create a slash integration by clicking on the settings bar on the left side of your screen and then click on Integrations.

Create a slash integration

  1. Next, click on Slash Commands

Click on Slash Commands

  1. Click on the Add Slash Command button.

Add Slash Command

  1. You would need to add just 1 slash command. Name the slash command /nc . This slash command will be used to create, configure, and manage your Commander Account and run your custom commands. We add /nc like below. Note that the request URL needs to be https://apigcp.nimbella.io/api/v1/web/nc/portal/gateway\

    Once done, click on Save.

Add /nc

Click on Save

  1. That’s it! After saving, you should see that /nc is set up. Once this is done, click on “Back to Mattermost” to start using Commander.

Back to Mattermost

  1. Register your workspace with Commander by running /nc register 

Register workspace with Commander

  1. You can now go install your favorite Command Sets. 



Install Command Sets

  1. Once you’ve installed a Command Set, that code is yours to edit. You can edit the code by typing /nc command_code <command_name> 

Edit the code

  1. If there are certain commands you only want certain users to run, then you can type /nc command_runners <command_name> + @user1 + @user2 . Substituting for “user1” and “user2” the Mattermost names of your teammates that should have access to the Commands.

Add Command Runners

  1. You even have access to a log that can show you who is running your Command Sets. Type /nc command_log <command_name>  into Mattermost to run this functionality.

Show command log

For more information about Commander, visit our website. We’d also love to hear from you via our community Slack channel or on GitHub.

Recent Posts