Create Your Own Trello Bot Integrated with Webex
Create Your Own Trello Bot Integrated with Webex
Follow the instructions in this article to create your own Trello bot for Webex.
anchorPrerequisites
anchorTo get started with your Trello bot, you will need access to a few developer resources:
- Trello Account: You'll need Trello account: https://trello.com/
- Cisco Webex Account: You'll need a Webex developer account if you don't have one already. You can create one on the Webex Developer Portal: https://developer.webex.com/
- Node.js: To create the Webex bot, you'll be leveraging the Webex Node Bot framework. Make sure you've got Node.js installed on your platform of choice.
anchorBuild the Bot
anchorOnce you have your accounts set up and Node.js installed, follow these steps to create your own Trello bot
- Login to the Power-Up Admin Portal, select New and enter the following details:
- Power-up name: Enter a name for your power-up.
- Select Workspace: Choose a workspace.
- Iframe connector URL: Enter a URL HTML that Trello loads as a hidden iframe and uses to communicate with your power-up.
- Email: Enter an support email address.
- Support contact: Enter the name for the power-up support contact.
- Author: Enter the author of the power-up.
- Select Create.
- On the API key page, select Generate to generate a new API key and make note of the following information:
- API key: Keep your API Secret safe. Since your API Key is public for any client-side applications, there is no way to reset it.
- Allowed Origins: Specify the origins (e.g. https://example.com) that your application is allowed to redirect back to following the authorization flow. Trello prevents redirects to any origin not specified here.
- Secret: If you want to use OAuth 1 authorization, you'll need this secret.
- Log in to Webex for Developers.
- Create your Webex bot at: https://developer.webex.com/my-apps/new/bot.
- Note down the Bot's Access Token, which you'll use to make API requests.
anchorUse the Webex Node Bot Framework
anchorTo simplify the creation of your bot, you can use the Webex Node Bot Framework available on GitHub. This framework provides a robust and easy to use platform for handling bot interactions:
For any queries related to bot framework you can join the following Webex space: Webex-Node-Bot-Framework Support.
anchorAdditional Resources
anchorFor more information on Trello and Webex, see:
- Trello Documentation: https://developer.atlassian.com/cloud/trello/.
- Webex API Documentation: https://developer.webex.com/docs.