Skip to content

Genesys Cloud configuration

This article explains how to prepare your Genesys Cloud organization: check that calls are recorded, and create the role and the OAuth client that MiaRec signs in with.

The menu names are those of the Genesys Cloud navigation at the time of writing. Genesys Cloud also has an older navigation, in which the same pages are under Admin.

Step 1. Check that calls are recorded

MiaRec imports the recordings that Genesys Cloud has. Make sure that call recording is turned on for the calls that you want in MiaRec:

  • Recording on the trunk: in Menu > Digital and Telephony > Telephony > Trunks, open the external trunk and check that Record calls on this trunk is selected under Media. See Enable policy-based recording.
  • Recording policy: check that a policy retains the recordings. See Create a policy.

Keep in mind:

  • Don't record on both the trunk and the phones. Genesys Cloud then creates two recordings of the same external call, and the MiaRec call has both. Genesys recommends recording on the trunk. See Recording in Genesys Cloud.
  • Keep the recordings long enough. A recording that a retention policy deletes before MiaRec downloads it can't be imported. MiaRec downloads new recordings within minutes. For past calls, the recording must still be available in Genesys Cloud, and not archived.

Choose what is in the audio

With recording on the trunk, the settings of the trunk, the Architect flow, and the queue decide which parts of a call Genesys Cloud records:

Part of the call Recorded by default Setting in Genesys Cloud
IVR Yes Architect flow: Suppress recording for the entire flow, in the Recording and Speech Recognition settings
Queue wait Yes Queue, Voice tab: Continue Voice Recording during Queue Wait
Hold No Trunk, Media: Holds
Consultation between agents No Trunk, Media: Consults. The consultation is a separate recording.
Secure pause Never Started by the agent or the flow, to leave out sensitive data such as card numbers

Recording on the phones never includes the IVR, the queue wait, or the hold.

To record the hold and the consultation:

  1. Go to Menu > Digital and Telephony > Telephony > Trunks, and select the External Trunks tab.
  2. Open the trunk, and select Media.
  3. Under Recording, select Holds, Consults, or both.
  4. Save the trunk.

A part that isn't recorded isn't in the audio. Genesys Cloud cuts it out, and plays a 1.5-second tone where it starts. The audio is then shorter than the call, and its content after a hold is earlier than the call times suggest. See Why is the audio shorter than the call?

Genesys Cloud documentation:

Step 2. Create a role

The OAuth client gets its permissions from a role. Create a role that has only the permissions that MiaRec needs.

  1. Go to Menu > User Management > Roles and Permissions and select Add Role.
  2. Enter a name, for example MiaRec integration.
  3. On the Permissions tab, select the following permissions:

    Permission MiaRec uses it to
    analytics:conversationDetail:view Read the call details
    recording:recording:view Read and download the recordings
    directory:user:view Read the names and email addresses of agents
    routing:queue:view Read the names of queues
    routing:wrapupCode:view Read the names of wrap-up codes
  4. Select the following permissions only if the pull users job uses the corresponding filter:

    Permission Filter of the pull users job
    groups:team:view Team
    authorization:role:view Role
  5. Select Save.

See Add roles.

Note

If your organization redacts sensitive data in recordings, MiaRec receives the redacted audio. To import the original audio, also select recording:recording:viewSensitiveData.

Step 3. Assign the role to yourself

You can grant a role to an OAuth client only if your own user has that role. Assign the new role to the user who creates the OAuth client in the next step. You can remove it from the user afterward.

Step 4. Create the OAuth client

To create an OAuth client, you need the OAuth > Client > Add permission.

  1. Go to Menu > IT and Integrations > OAuth and select Add client.
  2. Enter an App Name, for example MiaRec.
  3. Under Grant Types, select Client Credentials, and select Next.
  4. In Assign Role, turn on the role that you created, and select the divisions.

    Select the divisions

    Genesys Cloud grants the role in the Home division by default. Select every division whose calls and agents MiaRec must import. Otherwise, the calls of the other divisions are missing in MiaRec.

  5. Optional: in Allowed IP addresses, enter the public IP addresses that MiaRec connects from. Ask your system operator for them. Leave the list empty to allow any address.

  6. In Additional details, keep the default Token Duration. MiaRec requests a new token when needed.
  7. Select Save.
  8. Copy the Client Secret and store it in a safe place. Genesys Cloud shows it only once.
  9. Copy the Client ID from the list of OAuth clients.

See Create an OAuth client.

Use a separate OAuth client for MiaRec

Genesys Cloud limits the number of requests for each OAuth client. If MiaRec shares a client with another application, the two use up each other's limit.

Values for the next steps

Note the following values. You enter them in MiaRec in Connect MiaRec to Genesys Cloud.

Value Example
Genesys Cloud region Europe (Frankfurt), mypurecloud.de
Client ID 3f9c1b7e-5a2d-4c88-9e41-7d60b2f8a915
Client secret

To find your region, look at the address of your Genesys Cloud portal. For example, apps.mypurecloud.de is Europe (Frankfurt). The list of regions and domains has all domains.

Next step

Continue with Amazon SQS and EventBridge configuration.