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:
- Create a RingCentral App.
- App Set Up on the Kore.ai XO Platform using the Application Key and App secret.
- Authorize a valid extension (user) of your RingCentral account to generate the developer access token, access the Glip APIs, and enable the channel.
- Test the integration.
- (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
- Log in to the RingCentral Developer Console.
- On the left menu, click Setup Wizard under Getting Started.
- In the Get started to create your first app panel, click Create your First App.
For Existing Users
- Log in to the RingCentral Developer Console.
- Click the Console button on the top left.
- In the Apps section, click Create App.
- Select REST API App under App Type to call the RingCentral REST API.
- Click Next.
- Enter all the required details on the Create App – REST API App Settings page and click Next.
- 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?
- (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.
- 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?
- On the Kore.ai XO Platform, copy the OAuth Redirect URI under the Configurations tab in the RingCentral Glip window.
- Paste the copied OAuth Redirect URI link in the Auth panel.
- In the Security panel, to define the permissions to associate with the app, follow the steps below:
- Select the Webhook Subscriptions, Read Accounts, and Team Messaging permissions from the dropdown list.
- 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:
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:
- On the RingCentral Developer Application Dashboard, click Credentials on the left menu.
- Under Application Credentials, click the copy icons for the Client ID and Client Secret (tap on click to see first) fields.
- On the Kore.ai XO Platform, navigate to Deploy > Channels and click RingCentral Glip.
- In the RingCentral Glip window, click the Configurations tab.
- Paste the copied Client ID to the Application Key input field, and the Client Secret to the Application Secret input field.
- Click Save.
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:
- Log in to your RingCentral Sandbox account.
- Click the Users tab.
- Click Users with Extension on the left menu.
- Click +Add User.
- On the Add Users and Phones dialog box, select Add Users without Phone, and follow the instructions on the page.
- Click Unassigned Extensions on the left menu.
- Click Add Unassigned Ext.
- On the user profile information page, enter all the required information.
- Click Save & Enable to enable the extension.
Step 3(a): Test the Validation
To access the admin portal from the Sandbox account screen and test the validation, follow the steps below:
- Go to the Sandbox Account section and click the link in the Team Messaging section.
- Navigate to Messages on the left menu.
- In the Direct Messages section, click the + icon to start a new DM with the virtual assistant.
- Find the virtual assistant using either the name or email address you used in Step 3.
- 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:
- In the RingCentral Glip window, click the Authorize button.
- In the Sign-in window, click Continue as
to sign in with the existing user’s account, or click Use Another Account. - Click Authorize on the Access Request page.
- Once the access token is obtained successfully, authorization is complete.
- On the Kore.ai XO Platform, select Yes for the Enable Channel option under the RingCentral Glip > Configurations tab.
- Click Save to enable the channel and Publish the Virtual Assistant. Learn more.
Step 4: Test the Integration
Please follow the steps given here to test the integration.
(Recommended) Step 5: Apply for Production
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:
Once your app is production ready, follow the steps below on the Kore.ai XO Platform:
- Navigate to Deploy > Channels > RingCentral Glip.
- Under the Configurations tab, select Production for Ringcentral Environment.
- 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.