Hubot on Heroku integrated with Glip

  • 1
  • Question
  • Updated 4 months ago
I am using the hubot-glip adapter to build a chatbot. Based on tutorials provided on hubot and https://github.com/tylerlong/hubot-glip, I have 

  1. Confirmed that the hubot runs locally on my machine using .\bin\hubot
  2. used heroku CLI to push app to heroku, and added heroku config variables using heroku config:set HUBOT_GLIP_APPKEY=BXy.... etc. All four variables in the link above were added 
  3. Signed up for a ring central developer account and created a new project app. Now have access to client key and secret.
  4. The tutorial in https://ringcentral-tutorials.github.io/botkit-watson-bot-nodejs-demo/#5 was not very detailed, and also uses the botkit adapter (and not hubot), so I Was not able to follow along
What are my next steps? I want to chat with my bot that is running on Heroku by adding the bot to the Glip UI; how do I do this? 

Running .\bin\hubot -a glip locally gives me:

 ERROR No saved token detected. You need to add the bot to Glip first.

Where do I add this token? And what token do I add - the ringcentral API key and secret?

Your help will be greatly appreciated.

Thanks,
Shreyas
Photo of Shreyas Vathul

Shreyas Vathul

  • 70 Points
  • totally lost; HELP!

Posted 5 months ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 5,342 Points 5k badge 2x thumb
Hi Shreyas,

Please follow this guide: http://ringcentral-api-docs.readthedocs.io/en/latest/glip_bots/

Since you are using heroku, you can ignore the ngrok part and replace urls from ngrok with urls from heroku.

Please leave messages if you have difficulty following the guide above.

Best Regards,

Tyler