What is Nimbella Commander?
Nimbella Commander allows you to build serverless apps and APIs for Slack (or for use as Slack slash commands). As a user, you don’t have to worry about hosting a server for your apps since we host your code on the Nimbella cloud, and because of Nimbella’s built-in security features, you don’t have to worry about securing your code or API keys. You can focus on writing your code and app logic.
How to Install Nimbella Commander?
To install Nimbella Commander, simply search Nimbella Commander into the apps tab in Slack and select it. Once you’re done, you’re ready to start creating custom commands or add command-sets!
What are command-sets?
Command-sets are a collection of pre-built commands. You can find our command-sets on our Github page.
Here is all the functionality you get with our DigitalOcean command-set:
droplet_ip - List IP addresses of a droplet.
droplet_list - Lists the droplets under your account.
droplet_status - Shows the current status of a droplet.
droplet_snap - Snapshots a droplet.
droplet_power - Command to turn a droplet on and off.
droplet_reboot - Command to reboot a droplet.
To install all these commands at once, run the
csm_install command for DigitalOcean.
/nc csm_install do
How to fetch my DigitalOcean billing info on Slack?
In order to display your DigitalOcean bill in Slack, you’ll need to run 7 commands, which includes setting up the
billing command-set and attaching your DigitalOcean API key. Check out our 7 step tutorial to learn how to do that!
Read in detail - How to Fetch your Digital Ocean Billing Info on Slack?
Can I edit the code I install?
All code that you install into Commander is yours to edit. To edit any DO command you’ve installed, just run the
/nc command_code command_name
How to create your own custom Slack Commands?
If you don’t want to use pre-built commands and would like to create your own. Then run the command_create command. This lets you create the command and its name. It even gives you a link you click to start editing the code
/nc command_create new_command
Read in detail - How to Build a Serverless Slack Command in minutes?