Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Pre-Requisites

For VSM to receive data from Genesys Cloud you will need an VSM Virtual Collector Administered. Details on adding a VSM Virtual Collector can be found here

The order of administration is as follows:

  1. Create VSM Virtual Collector
  2. Configure the Genesys Org
  3. Add the Genesys Org to the VSM Configuration
  4. Configure Amazon Event Bridge

Genesys Org Configuration

VSM uses Genesys API to collect data from Genesys Cloud. The following information is required to add Genesys Cloud to VSM:

  • Client ID
  • Shared Secret
  • Base URL

In order to obtain the required fields the following steps need to be executed on Genesys Org. 

  • Create Custom Role
  • Create an OAuth Client
  • Authorize New Client

Create Custom Role

Browse to Genesys Cloud org

Click the 'Admin' button

Image Added


Under People & Permissions, click on 'Roles /Permissions'

Image Added


Click on the 'Add Role' button

Image Added


The Role Details tab will appear

Image Added

Fill in Role Details as per table below

FieldValueMandatory/Optional
NameUse descriptive name of the Role e.g. 'VSM Role'Mandatory
DescriptionEnter Description of the Role e.g. 'VSM Role for Genesys'Optional

Image Added

Once you have added a role name and description click on the 'Permissions' tab

Image Added

Check the boxes for the following Permissions:

  • Alerting > Alert > View
  • Alerting >Rule >View
  • Analytics > Conversation Detail > View
  • Analytics > Data Export > View
  • Analytics > Queue Observation > View
  • Analytics > Speech and Text Analytics Aggregates > View
  • Analytics > Tab Configurations > View
  • Analytics > User Detail > View
  • Analytics > User Observation > View
  • Analytics > View Configurations > View
  • Billing > Subscription > View
  • Presence > Source > View
  • Presence > userPrimarySource > View
  • Routing > Queue > View
  • Routing > Utilization > View
  • Routing > Wrap-up Code > View
  • Telephony > PCAP > View
  • Telephony > Plugin > All
  • Telephony > Station > All Permissions


Image Added

Once you have selected the permissions click on the 'Change Membership' button at the bottom. 

Note

The new Role needs to be assigned to a user before it becomes available for selection within the OAuth administration used later in this document. This user assignment can be removed once administration of OAuth is complete.


Image Added


The 'Change Membership for Role' window will appear

Image Added

In the Search box type the username of any existing user (you can use the username of administrator making the current changes)

Image Added

Check the check box next to the user then click the 'Save' button at the bottom of the form

Image Added

Click  the 'Save' button to save changes to the custom Role

Image Added

Create an OAuth Client

Browse to Genesys Cloud org

Click the 'Admin' button

Under Integrations, click 'OAuth'

Click the 'Add Client' button

The Client Details tab appearswill appear

Image RemovedImage Added

Fill in the Client Details as per table below

FieldValueMandatory/Optional
App NameUse descriptive name of the app. This name is shown when someone authorizes this OAuth client. e.g. 'Virsae Genesys'Mandatory
DescriptionEnter Description of the APP e.g. 'VSM for Genesys'Optional
Token DurationEnter Value between 300 and 172800 Seconds, default is Accept the default value of 86400Mandatory
Grant TypesClient CredentialsMandatory



Click on the 'Roles

Image Removed

' tab, a list of roles will be shown. Scroll to find the Role created in previous steps.

Image Added

Assign the custom role created in previous steps (e.g. 'VSM Role' in this guide) Change the 'IntegrationServer' role to Assigned by clicking the switch to the right. No other roles are required to be assigned.

Image RemovedImage Added

Click on the 'Save' button then select the 'Client Details' tab


On the resulting screen copy the 'Client Details' tab you should now see a 'Client ID' and 'Client Secret', this is to detail will be used to onboard Genesys Org into VSM

Additional Details can be found here

Click on Authorized Application

, make a note of these strings for latter user.

Image Added

On the left hand side navigation menu click on 'Authorized Applications'

at the top right Click on the ' Click on (plus) Authorize a Client' button

Image Removed

Image Removed

Image Added


In the 'Client ID' field enter Enter the 'Client ID' captured during the previous steppreviously, then click on 'Authorize Client'

Click on Authorize Client


Under Scope check the following onlyAfter clicking the 'Authorise Client' button the 'Scope' options will be presented. Under 'Scope' check the following, no other items are required to be checked:

  • devices:readonly
  • dialog

...

  • :readonly
  • geolocation:readonly
  • license:readonly
  • locations:readonly

process-authorization:readonly

  • quaity:readonly
  • routing:readonly
  • telephony:readonly
  • users:readonly
  • alerting:readonly
  • analytics:readonly
  • architect:readonly
  • assitstants:readonly
  • conversation:readonly
  • messaging-platform:readonly
  • presence:readonly
  • user-basic-info
  • stations:readonly


The App will show now approved

Image Removed

Once the Scope is selected click the 'Approve' button.

The state for your app will now show 'Approved'. The Genesys setup is now complete.

Image Added


Remove Custom Role from User (Optional)

If you wish to remove the role assigned to the user earlier in this document follow these steps:

Browse to Genesys Cloud org

Click the 'Admin' button

Image Added


Under People & Permissions, click on 'Roles /Permissions'

Image Added


In the Search box type the name of the custom role created earlier ((e.g. 'VSM Role' in this guide)

Image Added

Image Added


Click on the 3 dots under Actions and  click Change Membership

Image Added


Uncheck check box next to the user

Image Added

Click Save


Image Added


You are now ready to add the Genesys cloud configuration to the VSM Web Portal. After this has been added there is a subsequent step to administer the Amazon Event bridge. 

Web Portal Web Portal Configuration

Add Genesys Cloud

...

Select the Vendor Genesys and Service Pure Cloud Service

Web Portal - Add Genesys Cloud Field Description

FieldValue
VendorGenesys
ServicePure Cloud Service
Friendly NameFriendly Name for Genesys Cloud
Client ID

Client ID displayed under the added application 

Base URL

Use URL Based on your org Location as below

RegionURL
US East (Virginia)https://api.mypurecloud.com
US West (Oregon)https://api.usw2.pure.cloud
Canada (Central)https://api.cac1.pure.cloud
Europe (Ireland)https://api.mypurecloud.ie
Europe (London)https://api.euw2.pure.cloud
Europe (Frankfurt)https://api.mypurecloud.de
Asia Pacific (Mumbai)https://api.aps1.pure.cloud
Asia Pacific (Tokyo)https://api.mypurecloud.jp
Asia Pacific (Seoul)https://api.apne2.pure.cloud
Asia Pacific (Sydney)https://api.mypurecloud.com.au



Shared Secret

Client Secret displayed under the added application

...

When you have completed the form click 'Add'.

Genesys Equipment ID

Note
titleGenesys Equipment ID

Once the Genesys Service has been added click on the Copy button next to Genesys Cloud instance to copy Equipment ID and save it to Notepad, this is required for Amazon Event Bridge Configuration

Image Added


The VSM Web Portal Configuration now now complete. Now you must administer the Amazon Event Bridge.

Amazon Event Bridge Configuration

Amazon Event Bridge for Genesys Cloud enables VSM to gather information on Agent Status.

Browse to Genesys Cloud Org

Click the 'Admin' button

Image Added


Under Integrations, click on 'Integrations'

Image Added

Click on ' (plus) Integrations' button

Image Added

In the Search box, type 'EventBridge'

Image Added


Locate the card titled Amazon EventBridge Source

Click Install.

Image Added

After Installation is completed, From Details tab, accept the default name (Amazon EventBridge Source) or type a different name

Image Added


Select the 'Configuration' tab


Image Added


Genesys Org - Amazon Event Bridge Configuration 

Property NameValue
AWS Account ID595991313776
AWS Account Region

Use AWS AWS Region Based on your Genesys Org Location

Genesys Org RegionGenesys URLAWS Account Region
US East (Virginia)https://api.mypurecloud.comus-east-1
US West (Oregon)https://api.usw2.pure.cloudus-west-2
Canada (Central)https://api.cac1.pure.cloudca-central-1
Europe (Ireland)https://api.mypurecloud.ieeu-west-1
Europe (London)https://api.euw2.pure.cloudeu-west-2
Europe (Frankfurt)https://api.mypurecloud.deeu-central-1
Asia Pacific (Mumbai)https://api.aps1.pure.cloudap-south-1
Asia Pacific (Tokyo)https://api.mypurecloud.jpap-northeast-1
Asia Pacific (Seoul)https://api.apne2.pure.cloudap-northeast-2
Asia Pacific (Sydney)https://api.mypurecloud.com.auap-southeast-2


Event Source SuffixGenesys Cloud Equipment ID Value from here
Topic Filtering

Click on Select Topics and choose

v2.users.{id}.activity 

v2.telephony.providers.edges.{id}.metrics

Image Added

Click Save

Click Save

Image Added

Image Added

Click the 'Details' tab

Click the toggle so that the integration is Active

Image Added

Click 'Yes'.


The Genesys Cloud configuration is now complete. Please advise support@virsae.com you have added Amazon Event Bridge and the Team will have this activated for you.