Create BlueJeans meetings on Mattermost using Commander
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.
One such Command Set we have written is BlueJeans. The BlueJeans Command Set allows you to create, manage, list, and cancel BlueJeans meetings. Here, I will show you how to install and use the BlueJeans Command Set on Mattermost. I assume you have already installed and set up Commander on Mattermost and if you’ve not, you can follow the instructions on how to install it here
- In order to use BlueJeans Command Set, you need to have a BlueJeans account enabled in order to run the BlueJeans commands. You would need to send an email to their support. You would be receiving 2 keys which you will be feeding to Commander as bluejeansAppKey and bluejeansAppSecret. How to do that is described in detail below.
/nc csm_install bluejeansto install BlueJeans Command Set.
- See the commands installed within your Command Sets by running
/nc csm_info bluejeans. You can also run
/nc command_listto list all the commands installed in your Default App.
- Next, we need to let BlueJeans commands know about the BlueJeans API keys. Specifically, the API keys you generated earlier for the BlueJeans API will be encrypted (outside of Mattermost) and attached to the slash command. To do this, type
/nc secret_createto bring up the Nimbella Secret Creator. We’re creating the secrets outside of Mattermost so that Mattermost will only see encrypted strings and not your API keys. When you run the secret command, you will see an output that looks like this:
- Click on the Secret Creator link to be redirected to the page which encrypts your API keys.
- Add your bluejeansAppKey and bluejeansAppSecret from Step 1 to the fields in the Secret Creator as illustrated in the following figure. Next, click the “Make Secrets” button to generate the commands you’ll need to copy and paste into your Mattermost prompt.
- After clicking the “Make Secrets” button, the commands you’ll need to run on your Mattermost page will appear. Copy each command one at a time and paste them into Mattermost. This will take your Application Key and Application Secret and apply them to your nc app. (Note: I have stripped the secret. It's usually pretty long)
- Now you can create a BlueJeans meeting by running the
/nc bluejeans_createcommand as shown below. The command also accepts optional parameters to specify invitees and date and of the meeting. Note that the date format is “mm/dd/yy” and the time is in UTC.
Once the meeting is created, you will get an email about it
- You can list all the meetings with
- You can also cancel the meetings with
/nc bluejeans_cancel <meeting-id> <cancellation message>. Both meeting ID and cancellation message is required
If and when the meeting is canceled, you will receive an email about it.
- We also have a helper command
/nc bluejeanswhich lists all the above commands with usage.
- Once you’ve installed a Command Set, that code is yours to edit. You can edit the code by typing
/nc command_code bluejeans_create
Click on “edit the code” link above. Change the code and press save. Re-run the command to see your changes take effect. I changed by
bluejeans_create command to just print a message
- You can also revert your changes or update your Command Set to get the latest changes by running
/nc csm_update bluejeans
- If you want only certain users to run the bluejeans command, 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
- You even have access to a log that can show you who is running your Bluejeans Commands. Type
/nc command_log <command_name>into Mattermost to run this functionality
There you have it. You now have the ability to create and manage your BlueJeans meeting.
To see what else you can do with Commander, you can look at our Resources (Resource link to tutorials/blogs and Videos). For more information about Commander, visit our website. We’d also love to hear from you via our community Slack channel or on GitHub.
- How to Manage your Netlify Website from Slack?
- How to Build a Serverless Slack Command in minutes
- A Serverless Cloud for Stateful Applications
- A Template for Creating a Serverless OCR App
- 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
- Get your DigitalOcean Billing Info in Slack with Nimbella Commander
- Get live Coronavirus stats in Slack with Nimbella Commander
- Create BlueJeans meetings on Mattermost using Commander
- Get your AWS billing info in Slack with Nimbella Commander
- Get your Datadog billing info in Slack with Nimbella Commander
- Serverless Slack Apps and Slash Commands
- How to use Slack Effectively with Nimbella Commander?
- A Template to Build a Serverless Chat App
- 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