{"id":18045,"date":"2018-05-03T13:41:02","date_gmt":"2018-05-03T13:41:02","guid":{"rendered":"https:\/\/developer.kore.ai\/v7-1\/?post_type=docs&#038;p=13835"},"modified":"2019-09-06T11:35:55","modified_gmt":"2019-09-06T10:35:55","slug":"adding-ringcentral-glip-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-1\/docs\/bots\/channel-enablement\/adding-ringcentral-glip-channel\/","title":{"rendered":"Adding RingCentral Glip as a channel"},"content":{"rendered":"<p>To set up Ringcentral Glip as a channel, you will need to create an app on <a href=\"https:\/\/developers.ringcentral.com\/\">Ringcentral\u2019s Developer Portal<\/a> and enable a webhook for the platform to receive messages. To add RingCentral Glip as a channel for your bot, you will need to:<\/p>\n<ol>\n<li><b><\/b><b> Create RingCentral App<\/b>&#8211; To enable RingCentral as a channel for your Kore.ai bot, you will need to create an App on <em>RingCentral<\/em>. Sign up for a RingCentral account if you do not have one already.<\/li>\n<li><b> Get App details<\/b>&#8211; Navigate to Application credentials in the Apps tab to capture the Application Key and Application Secret for channel configuration.<\/li>\n<li><b> Create Extension-<\/b> Create a new extension for your bot in your RingCentral account.<\/li>\n<li><b> Authorize-<\/b> Authorize your account to generate a developer access token which enables Kore.ai bot platform to access Glip APIs.<\/li>\n<li><b> Apply for Production (Optional)- <\/b>Once you have developed your app on Sandbox environment and when your app is ready to work in production, you need to follow the RingCentral app graduation process.<\/li>\n<\/ol>\n<p><b>To add the RingCentral Glip channel:<\/b><\/p>\n<ol>\n<li>In the <b>Bots<\/b> section of the Bot Builder, click the Bot that you want to add the <em>RingCentral Glib<\/em> channel to.<\/li>\n<li>On the <b>Channels<\/b> tab, click the <b>RingCentral Glip<\/b> icon. The <b>RingCentral Glip<\/b> page gets displayed.<\/li>\n<li><a href=\"https:\/\/dev.botframework.com\/\">Login <\/a>to Ringcentral<strong> Developer Portal<\/strong> and navigate to <strong>My Apps<\/strong> section. Click on <strong>Create App<\/strong> button. Provide all the required details on the <strong>Create App &#8211; General Settings<\/strong> page and click on <strong>Next<\/strong> button.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13842\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-1.png\" alt=\"\" width=\"525\" height=\"272\" \/><\/a><\/li>\n<li>Enter additional information of the app in <strong>Create App &#8211; App Type &amp; Platform<\/strong> screen. Do note that the options selected on this page are not editable once saved. After selecting following options, click on <strong>Next<\/strong>.\n<ul>\n<li><strong>App Type<\/strong>\n<ul>\n<li><strong>Private<\/strong> &#8211; if you are developing an app for your own RingCentral account use<\/li>\n<li><strong>Public<\/strong> &#8211; if you are developing an app for many RingCentral accounts<\/li>\n<\/ul>\n<\/li>\n<li><strong>Platform Type<\/strong> &#8211; select \u2018Server\/Web\u2019 as the option<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13843\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-2.png\" alt=\"\" width=\"525\" height=\"250\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>You have to define the Permissions to be associated with this App. Select <strong>Webhook Subscriptions<\/strong> and <strong>Glip<\/strong> permissions. If you do not see Glip under permissions, get your app whitelisted by RingCentral.Copy the <strong>OAuth Redirect URI<\/strong> from the Configuration tab of RingCentral channel page and enter it in the <strong>OAuth Redirect URI<\/strong> field. Click on <strong>Create<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13853\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-3-1.png\" alt=\"\" width=\"525\" height=\"272\" \/><\/a><br \/>\nThis will complete the app creation process and you would be redirected to <strong>App Dashboard page<\/strong>.<\/li>\n<\/ol>\n<ol start=\"6\">\n<li>Navigate to the <strong>Credentials<\/strong> tab of your app information. Copy the <strong>Application Key<\/strong> and <strong>Application Secret<\/strong> and enter them in the <strong>Configuration<\/strong> tab of the RingCentral Glip channel page.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13845\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-4.png\" alt=\"\" width=\"500\" height=\"361\" \/><\/a><\/p>\n<div class=\"alert alert-info\"><strong>Note<\/strong>: Copy and paste Application Key and Application Secret in the Configurations tab, according to the environment selected by you.<\/div>\n<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>The bot has to be associated with a non-admin user on your Ringcentral account. For this, we have to a create a new extension (user) on your Ringcentral account. Login to Ringcentral account (<a style=\"background-color: #ffffff\" href=\"https:\/\/service.devtest.ringcentral.com\/\">Sandbox<\/a> | <a style=\"background-color: #ffffff\" href=\"https:\/\/service.ringcentral.com\/\">Production<\/a>), navigate to <strong>Users tab<\/strong> and select <strong>Add User<\/strong> option. From the <strong>Add Users and Phones<\/strong> screen, select <strong>Add Users without Phone<\/strong> option and follow the instructions.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-5-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13863\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-5-1.png\" alt=\"\" width=\"525\" height=\"271\" \/><\/a><\/li>\n<\/ol>\n<ol start=\"8\">\n<li>After completing the user creation, click on the <strong>Unassigned Extensions<\/strong> tab in Users screen. Click on any of the unassigned users and you will be navigated to user profile information page. Enter all the required information and click on \u2018<strong>Save<\/strong> <strong>&amp;<\/strong> <strong>Enable<\/strong>\u2019 button.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/Glip-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13847\" src=\"\/wp-content\/uploads\/sites\/12\/Glip-6.png\" alt=\"\" width=\"525\" height=\"212\" \/><\/a><\/p>\n<div class=\"alert alert-info\">\n<strong>Note<\/strong>: The email address provided for this newly created user will receive an introductory email with instructions to activate the user. Please make a note of the username and password you have set for this new user. You have to use these credentials to Authorize the bot from the \u2018Configuration\u2019 tab.\n<\/div>\n<\/li>\n<\/ol>\n<ol start=\"9\">\n<li>Bot has to be associated with a valid extension (user) on your Ringcentral account. Use the credentials of the new extension created in the previous step and <strong>Authorize<\/strong> the bot using the Configuration tab of Ringcentral Glip Channel page. This step will generate a developer access token which enables Kore.ai bot platform to access Glip API\u2019s.<\/li>\n<\/ol>\n<ol start=\"10\">\n<li>If you have developed your app in Sandbox environment, and when your app is ready to work in production, follow steps mentioned under <a style=\"background-color: #ffffff\" href=\"https:\/\/developer.ringcentral.com\/library\/getting-started.html#ApplyForProduction\">\u2018Apply for Production\u2019<\/a> section of Getting started guide of Ringcentral. Once your app is production ready, do note to update the Environment, Application Key, and Application Secret according to your production app in the \u2018Configuration\u2019 tab.<\/li>\n<\/ol>\n<ol start=\"11\">\n<li>In the <strong>Enable Channel<\/strong> section, select <strong>Yes <\/strong>and click on <strong>Save<\/strong> to enable channel.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>To set up Ringcentral Glip as a channel, you will need to create an app on Ringcentral\u2019s Developer Portal and enable a webhook for the platform to receive messages. To add RingCentral Glip as a channel for your bot, you will need to: Create RingCentral App&#8211; To enable RingCentral as a channel for your Kore.ai&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-18045","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/comments?post=18045"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18045\/revisions"}],"predecessor-version":[{"id":22455,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/18045\/revisions\/22455"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/media?parent=18045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/categories?post=18045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/tags?post=18045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}