Skip to content

Adding Glip by RingCentral as a Channel

The Kore.ai XO Platform now allows you to add Glip by RingCentral as a messaging channel to your Virtual Assistants (VAs).

With the Glip integration, you can achieve the following:

  • Configure the Glip Sandbox account for testing the integration.
  • Set up the REST API and the authorization flow for events and conversations.
  • Enable Webhook Subscriptions, Read Accounts, and Team Messaging API permissions.
  • Link the app to the Kore.ai XO Platform using the app’s credentials.
  • Authorize the VA for the existing/new Glip Sandbox account user.

After the integration, you can do the following:

  • Keep track of virtual assistant conversations.
  • Listen to new messages from Glip or other sources.
  • Have VAs post and respond to messages in Glip conversations.
  • Have VAs handle incoming notifications from your apps into Glip teams so you don’t have to check different sites for updates.

To start the integration, you must register an application on RingCentral to gain access to the API and to integrate RingCentral into the Kore.ai XO Platform. To set up Glip as a channel, you must create an app in RingCentral’s Developer Portal and enable a webhook for the platform to receive messages.

The steps to add the channel are summarized below:

  1. Create a RingCentral App
  2. App Set Up on the Kore.ai XO Platform using the Application Key and App secret
  3. Authorize a valid extension (user) of your RingCentral account to generate the developer access token, access the Glip APIs, and enable the channel
  4. Test the integration
  5. (Recommended) Apply for Production

Step 1: Create a RingCentral App

To enable Glip as a channel for your Kore.ai Virtual Assistant, you must create an application in the Sandbox environment (using a sandbox account) with the steps below:

For New Users

  1. Log in to the RingCentral Developer Console.
  2. On the left menu, click Setup Wizard under Getting Started.
  3. In the Get started to create your first app panel, click Create your First App.

For Existing Users

  1. Log in to the RingCentral Developer Console.
  2. Click the Console button on the top left.
  3. In the Apps section, click Create App. RingCentral developer Console

  4. Select REST API App under App Type to call the RingCentral REST API. RingCentral REST API

  5. Click Next.

  6. Enter all the required details on the Create App – REST API App Settings page and click Next.

  7. Enter the values to the following fields on the App Properties (internal-use only) page:

    • App Name
    • App Description (optional)
    • Primary Contact
    • Select the relevant option for Do you intend to promote this app in the RingCentral App Gallery? app properties
  8. (Optional) In the App Card panel, enter the values for the given fields to configure how your application will be presented within our App Gallery.

  9. In the Auth panel, enter the values for the following fields to select the authentication method your app will use:

    • Select 3-legged OAuth flow authorization code.
    • Select Server-side web app (most common) or Client-side web app based on your app type for From what type of app will you be calling the API? OAuth flow

    • On the Kore.ai XO Platform, copy the OAuth Redirect URI under the Configurations tab in the RingCentral Glip window. ringcentral glip configuration

    • Paste the copied OAuth Redirect URI link in the Auth panel.

      Note

      The OAuth Redirect URI now includes the streamid in the API request to identify the virtual assistant being accessed. When an incoming request is qualified with this identifier, it helps with traceability, troubleshooting, and remediation at the network level during anomalies like malicious calls or unusual bot activity.

    • Select Yes for Issue refresh tokens?

  10. In the Security panel, to define the permissions to associate with the app, follow the steps below:

  11. Select the Webhook Subscriptions, Read Accounts, and Team Messaging permissions from the dropdown list. webhook subscriptions

  12. Click Create. Your App is created successfully and the system redirects to the App Dashboard page.

If you do not have a Sandbox Account to test your app in the Sandbox environment, follow the steps below:

  • In the following dialog window, click Next. sandbox account

  • Setup the Password for your Sandbox Account.

Tip

The OAuth Redirect URI now includes the **_streamid_** in the API request to identify the virtual assistant being accessed. When an incoming request is qualified with this identifier, it helps with traceability, troubleshooting, and remediation at the network level during anomalies like malicious calls or unusual bot activity.

Step 2: Application Set up on the Kore.ai XO Platform

After creating the app for the Sandbox/Production environment, you need to configure the app’s credentials on the Kore.ai XO Platform using the Client ID and Client Secret from the RingCentral Glip Application Dashboard to link the app. To set the credentials, follow the steps below:

  1. On the RingCentral Developer Application Dashboard, click Credentials on the left menu. ringcentral developer application

  2. Under Application Credentials, click the copy icons for the Client ID and Client Secret (tap on click to see first) fields. application credentials

  3. On the Kore.ai XO Platform, navigate to Channels & Flows > Channels > Digital > All and click RingCentral Glip.

  4. In the RingCentral Glip window, click the Configurations tab.

  5. Paste the copied Client ID to the Application Key input field, and the Client Secret to the Application Secret input field.
  6. Click Save.

    save  app

Step 3: Authorize Extension (user) of your RingCentral Sandbox Account

The virtual assistant on the Kore.ai XO Platform must be associated with the extension (user) on your RingCentral account to access the Glip API via the developer access token. To enable this, you should authorize the virtual assistant with an existing or new extension user’s credentials. To add a new (non-admin) user, follow the steps below:

  1. Log in to your RingCentral Sandbox account.
  2. Click the Users tab.
  3. Click Users with Extension on the left menu.
  4. Click +Add User.user extension
  5. On the Add Users and Phones dialog box, select Add Users without Phone, and follow the instructions on the page.
  6. Click Unassigned Extensions on the left menu.
  7. Click Add Unassigned Ext. unassigned extension
  8. On the user profile information page, enter all the required information.

    Note

    Please provide a meaningful name like Travel Bot or HR Assistant to the virtual assistant inside Teams Messaging.

  9. Click Save & Enable to enable the extension.

    Note

    If you receive an account activation email on your registered email address, please note the username and password to authorize the virtual assistant on the Kore.ai XO Platform.

    Alternatively, select the “pre-assigned credentials” option and just provide/save the password.

Step 3(a): Test the Validation

To access the admin portal from the Sandbox account screen and test the validation, follow the steps below:

  1. Go to the Sandbox Account section and click the link in the Team Messaging section. team messaging
  2. Navigate to Messages on the left menu.
  3. In the Direct Messages section, click the + icon to start a new DM with the virtual assistant.
  4. Find the virtual assistant using either the name or email address you used in Step 3.
  5. Send the virtual assistant an opening message, such as “Hello” or “good afternoon”. The VA should respond based on the default behavior configured for Dialog Tasks.

Step 3(b): Channel Setup on the Platform

On the Kore.ai XO Platform, navigate to RingCentral Glip > Configurations and follow the steps below:

  1. In the RingCentral Glip window, click the Authorize button. authorize app

  2. In the Sign-in window, click Continue as to sign in with the existing user’s account, or click Use Another Account. use another account

  3. Click Authorize on the Access Request page.

  4. Once the access token is obtained successfully, authorization is complete. access request

  5. On the Kore.ai XO Platform, select Yes for the Enable Channel option under the RingCentral Glip > Configurations tab.

  6. Click Save to enable the channel and Publish the Virtual Assistant. Learn more enable ringcentral

Step 4: Test the Integration

Please follow the steps given here to test the integration.

Once your app is tested in the Sandbox environment and ready for production, follow the RingCentral app graduation process mentioned here to apply for production after meeting all the graduation requirements for your app as shown below:

apply for production

Once your app is production ready, follow the steps below on the Kore.ai XO Platform:

  1. Navigate to Channels & Flows > Channels > Digital > All > RingCentral Glip.
  2. Under the Configurations tab, select Production for Ringcentral Environment.
  3. Follow these steps to complete the configuration.

Congratulations! You have now completed the Glip by RingCentral channel enablement. To learn how to enable other business messaging channels, click here.