Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 2.01 KB

quickstart.md

File metadata and controls

46 lines (27 loc) · 2.01 KB

Quickstart

Note: The steps below assume you have a working WebEx account & Nodejs 12+

1. Fetch repo & install dependencies

git clone https://github.com/valgaze/speedybot-starter
cd speedybot-starter
npm run setup

2. Set your bot access token

Once you have the bot's token, save it to settings/config.json under the token field

3. Boot your Bot

npm start

If all went well, it should look something like this: image

4. Run a "healthcheck" with the bot

To make sure all is well, add your bot from Step 1 in a 1-1 chat session and tell it "healthcheck"-- if everything is configured properly you should see something like this:

image

5. Extend

  • From here, you can edit settings/handlers.ts and make your own handlers (& integrate with other services)

  • See how to use $uperpowers to give your bot extra capabilities (get/set conversational contexts, store data, retrieve files, 3rdparty integrations, etc)

  • Use the How-To doc to see how to use "special words" to intercept file-uploads/attachments, submit data from a card, etc

  • Look into Adaptive Cards and other rich chat components: https://developer.webex.com/docs/api/guides/cards

  • See the resources for further reading & inspiration