question

shreyas-vathul8252 avatar image
shreyas-vathul8252 asked Tyler Liu answered

Hubot on Heroku integrated with Glip

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




getting started
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Tyler Liu avatar image
Tyler Liu answered
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


1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys