Git Product home page Git Product logo

webex-bot-starter-help-me-bot's Introduction

Webex-Bot-Starter

Starter kit and template for a simple Webex bot

For a more detailed walkthorugh, see the companion blog post here

This is a very simple Webex node.JS bot application that serves as a template to be further extended. It features the webex-node-bot-framework that simplifies development for Webex bots by abstracting away some of the complexity of the API calls and registering for events. Some parts of the app are taken from on the old sparkbotstarter template created by Victor Algaze.

Here is the bot in action:

git What we're making

Prerequisites:


Steps to get the bot working

  1. Create a Webex bot (save the API access token and username): https://developer.webex.com/my-apps/new/bot

  2. Sign up for nGrok, then connect and start it on your machine (save the port number and public web address): https://ngrok.com/download

  3. After installing ngrok, run it on your local machine to get a public ip address, eg ngrok http 3000 --region=eu

  4. Copy the ip address displayed in the ngrok window, ie: : https://1234.eu.ngrok.io

  5. Copy the .env.local file to a file called .env

  6. Edit .env with the following values:

  • BOTTOKEN - Set this to the token for your bot that you got in step 1
  • PORT - Set this to the port you set when you started ngrok in step 3 (ie: 3000)
  • WEBHOOKURL - Set this to the ip address that you copied in step 4
  1. Turn on your bot server with npm start

  2. Create a space in Webex

  3. Add the bot (by its username) to the space in Webex

webex-bot-starter-help-me-bot's People

Contributors

jpjpjp avatar fortunesmith avatar adamweeks avatar valgaze avatar tstatler avatar aaron-thecreator avatar bbender avatar isatishyadav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.