question

chad-linton7287 avatar image
chad-linton7287 asked Phong Vu answered

Bot Integration with Glip

I'm looking for an overview on what is required to get a Bot to work with Glip.


I have done the following:

  1. Created an app in developer.ringcentral.com (sandbox) as type server/bot
  2. Created a bot in Heroku (Tried hubot and Litabot)

In both cases, I get an authentication failure. I think I need to authorize the bot first with the callback address, but this seems to be a chicken and egg problem!


The bot won't run because it can't authenticate, and I can't authorize the bot until it runs long enough to process the callback message.


I feel like I'm missing something simple to get it to work.


Any ideas / help would be appreciated!

integrations
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered
Hi Chad,

Did you follow the instructions to set the configuration for your bot from here https://github.com/tylerlong/hubot-glip?

Currently, we don't have example code for Hubot and Litabot. But there is a tutorial for Botkit ( https://ringcentral-tutorials.github.io/botkit-watson-bot-nodejs-demo/) and the configuration and authentication is pretty the same. Please have a look at the tutorial to see if you can find what is wrong with your project.

Let me know if that does help.

+ Phong
1 |3000

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