How to Manage your Netlify Website from Slack?
We use Netlify at Nimbella to host our website. We have found the flow, integration, and ease of use are fantastic. We also use Netlify forms and we realized that we wanted to view the submissions without leaving Slack.
Our co-founder started building Slack apps to enable authorized Nimbella employees to use Slack commands for actions such as managing hostnames, managing SSL certificates, checking on or rebooting servers, etc. These capabilities were implemented as apps on Nimbella’s serverless platform. He discovered the need to write our own code to deal with things like parsing command parameters, creating a command logging system, managing secret keys for accessing APIs, and handling user access control. Knowing that users outside of Nimbella would have similar needs, we developed Nimbella Commander, a system that does all these things for developers. Using Nimbella commander, developers don’t have to manage servers to write commands that work with Slack or several other messaging systems. Developers can just write code and it runs automatically on the Nimbella Serverless Cloud platform. By removing the need to host a server and associated infrastructure, Nimbella accelerates creating functionality.
In addition, Nimbella Commander frees up even more developer time by handling security, parameters parsing, and secrets management. Personally, I really liked Nimbella Commander from my beginning as an intern. In a few hours, I built a Slack Slash command to show real-time usage of cloud resources. In those few hours, I was able to focus solely on my app logic such as how to calculate usage based on the run time of our resources.
Here’s a screenshot of a Slack command we built to show all form submissions made by our customers.
This is very useful for us. And naturally, once you get a hang of something, you want to do more. So we built a few more Slack commands for fun.
Nimbella Commander has a concept called command sets which are bundles of related commands. The bundles make it easier to distribute and install the commands.
As an aid to other developers, we combined all commands related to Netlify into a command set and uploaded it to our registry (a GitHub repo).
I’ll walk you through the simple steps to install and use the commands in your Slack workspace. First, add Nimbella Commander to your workspace and run
/nc csm_install netlify .
Next, for the Netlify commands to work, you need to create a secret named
netlifyToken with our Netlify Personal Access Token. In order to keep your Netlify Access Token secure, we will encrypt it outside of Slack. That way your Access Token isn’t public when you apply it to Commander
/nc secret_create to bring up the link to Secret Creator.
Then add your Netlify Personal Access Token and click Make Secrets.
Finally, click “Clipboard Copy” to copy the command provided by Secret Creator and paste it in your Slack workspace and the secret is created.
You now have the ability to use the Netlify Command Set in your Slack! Here are a few more commands you can run with the Netlify Command Set.
/nc list_deploys lists all deployments of a website.
/nc list_sites lists all sites under your account. It also shows a preview image of your site on the side.
If you’re interested in using this Command Set or building your own, then visit the Netlify Command Set page to learn more about the usage of commands.
Thanks for reading! Please send any questions or feedback to firstname.lastname@example.org.
Written by Satya (satyarohith.com)
- How to optimize Kubernetes costs with Nimbella
- Step by step guide on how to port from AWS to Nimbella
- How to build and improve your serverless APIs
- Simplifying Kubernetes For Developers
- FaaS Wars Season 2 - Step By Step Instructions
- What is Nimbella and what does it offer?
- Results and Feedback of FaaS Wars - May the FaaS Be with You!
- 28 Serverless Gurus and experts One Must Follow in 2021
- The Faas Wars Alert!
- CI/CD pipeline with GitHub Actions
- How to deploy Node.js functions on Nimbella
- Kick-Start Your Serverless Journey
- AWS re:Invent Serverless Highlights
- Opportunities in the Wake of the AWS Juggernaut
- FaaS Wars: Serverless & Virtual Robot Competition
- #DeveloperIPL Online Hackathon Results & Feedback on Nimbella's Integration for Postman
- How to connect to the 3rd party database such as MySQL at Nimbella (example in Java)
- What can you do with the Nimbella Workbench?
- Deploy your Shopify Storefront to Nimbella
- Not All Serverless Platforms Are Created Equal
- Nimbella + Netlify: Uplevel Your Development Speed
- How we learned to Jamstack, Our Caputron Story.
- Commander for Microsoft Teams - Your Custom Bot that runs on your Command!
- How to Build a Stateful Cloud App on Nimbella vs. AWS
- Starter Kit and Resources to Build a Serverless Cloud Application
- How to Build Serverless Slack Apps and Commands
- How to Set up your Serverless Environment and Get Started in Less than 2 Minutes!
- How to Quickly Deploy Stateful Serverless Apps with Nimbella?
- What is Serverless Computing? 3 reasons to start now
- How to Build a Serverless Slack App in Minutes.
- How to Manage your Netlify Website from Slack?
- How to Build a Serverless Slack Command in minutes
- How to Build a Stateful Serverless Cloud Web Application?
- How to Create an Optical Character Recognition (OCR) Application?
- Development at the Speed of Innovation – Nimbella, the Serverless Cloud
- Software Security Features on Enterprise Serverless Slack Apps Enabled by Nimbella Commander
- Coronathon India’s first demo day has 18 projects to help fight COVID-19
- See the time in different cities on Slack with Nimbella Commander
- Greet your friends in their native language in Slack with Nimbella Commander
- Install Commander on your Mattermost Instance
- How to Fetch your Digital Ocean Billing Info on Slack?
- How to Stay Updated with Coronavirus Statistics on Slack?
- Create BlueJeans meetings on Mattermost using Commander
- How to Fetch your AWS Billing Info on Slack?
- Get your Datadog billing info in Slack with Nimbella Commander
- Serverless Slack Apps and Slash Commands
- How to use Slack Effectively with Nimbella Commander?
- How to Create a multi-user Chatroom Hosted on Serverless Cloud?
- Using Docker actions, running Golang, and other fun things with OpenWhisk
- The duality between serverless functions and APIs
- Serverless HTTP handlers with OpenWhisk
- Serverless functions in your favorite language with OpenWhisk
- Run Swiftly: precompiled Swift actions
- Performance debugging for serverless functions using the Cloud Shell
- Locally debugging OpenWhisk actions
- Composing functions into applications
- A Serverless Composition of Functions
- The Serverless Contract
- The dawn of the Cloud Computer
- Security and Serverless Functions