Follow Botkit's instructions to create a Webex Teams bot. (During this tutorial, you will create bot credentials at Webex for Developers and remix https://glitch.com/~botkit-cisco-webex-teams to create a hosted bot.)
After creating a hosted bot on glitch.com, edit its .env
file to look like this:
access_token="{bot-access-token from https://developer.webex.com}"
public_address="{hosted-bot-instance, e.g., https://mattnorri-sidebar-bot.glitch.me}"
secret="{any secret of *your* choosing, e.g., keno-redolent-fare-city}"
The secret
is one of your own choosing used to validate payloads. Although a functional bot does not require validating payloads, it is a good practice, so Glitch requires a secret
.
- Open Webex Teams.
- Create a space.
- Add the bot to the space by searching for its email address.
After creating a space with the bot, type it a message in that space by "@mentioning" it.
- Botkit's Get Started guide
- Webex for Developers' bot overview
- Webex for Developers' API reference
- Botkit's
WebexAdapter