Skip to content

NICE Agent Desktop Voice

This document provides detailed instructions on the integration process of the Kore.ai Agent AI widget into the NICE Agent Desktop environment. It offers step-by-step guidance to ensure a smooth and efficient setup process. This integration supports all the features of Agent AI such as Automation, Agent Coaching, Agent Playbook, Sentiment Analysis, and Transcription along with end-of-call summary and Custom Data passing, such as agent name and ID, to the Agent AI widget.

Shared Responsibilities

NICE CXOne Admin

  • ACD Configuration: CXOne customers are responsible for creating and mapping skills within the ACD system to ensure proper routing of interactions.
  • Campaign Setup: Customers must set up campaigns, including specifying routing and agent availability, on the CXOne platform.
  • Agent Assist Hub Configuration: CXOne customers are responsible for configuring the Agent Assist Hub settings within NICE Studio.

Kore.ai Admin

Provide Studio Script for Voice: Kore.ai will assist in setting up the Studio Script to ensure seamless integration with the CXOne platform.

Prerequisites

  • NICE CX administrators with access to a NICE CX account, privileges to set up the following configurations, and the ability to receive calls on the agent desktop.
  • NICE CX Studio installed on your windows device.
  • Agent Assist Hub enabled for your account. Contact your NICE CX representative. Note that this requires an extra license cost.
  • Access to Kore AgentAssist application and familiarity with creating and configuring an AgentAssist Bot.
  • Kore.ai App credentials such as Agent AI Widget URL, Bot ID, Client ID, Client Secret, Account ID, and SIP URI.

Definitions

Section Key Definition Reference
NICE CX Integration Hubs > Add Agent Assist App Agent AI URL The domain of Agent AI.
NICE CX Studio > Import the Voice Script and Configure Parameters AgentAssistWidgetURL URL that points to the Agent AI widget.

For example, https://agentassist.kore.ai/koreagentassist-sdk-v3/UI/agentassist-iframe.html

Channels > Chat section of the Agent AI configuration portal.
NICE CX Studio > Import the Voice Script and Configure Parameters BotId A unique identifier assigned to a bot. Channels > Chat section of the Agent AI configuration portal.
NICE CX Studio > Import the Voice Script and Configure Parameters ClientId An identifier provided to a client application. Channels > Chat section of the Agent AI configuration portal.
NICE CX Studio > Import the Voice Script and Configure Parameters ClientSecret A secret key or password associated with the ClientId. Channels > Chat section of the Agent AI configuration portal.
NICE CX Integration Hubs > Add Agent Assist Hub AccountID A unique identifier assigned to an account. Channels > Chat section of the Agent AI configuration portal.
NICE CX Integration Hubs > Add Agent Assist Hub Kore Voice Gateway(KVG) For Saas in US region, value is wss://savg-webserver.kore.ai

For on-prem, refer to the corresponding host.

Region Specific URLs

Region Agent AI URL UXO URL WSS URL DNS
US https://agentassist.kore.ai https://platform.kore.ai wss://savg-webserver.kore.ai @savg-us-prod-sbc-in-nlb-0d9a4c651955ff47.elb.us-east-1.amazonaws.com
JP https://agentassist-jp.kore.ai https://jp-platform.kore.ai wss://jp-savg-audiosocket.kore.ai @savg-jp-prod-int-nlb-3989d946fc1ced3b.elb.ap-northeast-1.amazonaws.com

Configuration Steps

This section explains the configuration steps needed to integrate Kore Agent AI with NICE MAX Desktop.

Step 1: Nice CX Integration Hubs > Add Agent Assist Hub

  1. Sign in to your NICE account with the user name and password provided by the NICE customer support.
  2. Click the Applications Launcher button.
    app_launcher_button

  3. A menu opens from the left side of the page. Click OTHERS > Automation & AI.
    automation_ai

  4. Click Agent Assist Hub > Add Agent Assist App.
    add_agentassist_app

  5. Enter the name of the Agent Assist App in the AGENT ASSIST APP NAME field.

  6. Select Custom Agent Assist Endpoints.
  7. Click Next.
    custom_agent_assist_endpoints

  8. Add the following settings with config parameters:

    1. Agent UI Option: No Assist Panel shown to agent
    2. App Title: Kore AA (this is not a visible UI)
    3. Participants: Both
      config_parameters

    4. Audio Relay Endpoint: {[Kore Voice Gateway(KVG)]}/audiosocket/nice?sipuri=<Bot SIP URI><DNS>&token=<Token>&botId=<Bot ID>&accountId=<Account ID>&agentassist=true

      1. Bot SIP URI: Agent AI > Flows & Channels > Channels > Voice Gateway > SIP Numbers > Configure SIP Trunk page.
        bot_sip_uri

      2. Bot ID and Account ID: Agent AI > Flows & Channels > Channels > Digital > Web/Mobile Client page.
        botid_accountid

      3. Token: Create a JSON Web Token on jwt.io with the following details:

        • Payload: {“appId”: <Bot Client ID>}
        • Header: {“alg”: “HS256″,”typ”: “JWT”}
        • Secret: Bot Client Secret.
  9. Click Create.

Step 2: NICE CX Studio > Import the Voice Script and Configure Parameters

  1. Download the script for voice from the Kore.ai NICE integration repository.
  2. Open the NICE CX Studio app from your desktop.
  3. Click File > Import from File.
  4. Select the downloaded script for voice. It looks like the following screenshot:
    voice_script

  5. Double-click the Generate Iframe Params tile.
    generate_iframe_params

    iframe_params_script

  6. Update the values for the corresponding parameters:

    1. Kore.ai parameters:
      • Bot Client ID
      • Bot Client Secret
      • Bot ID
      • Agent AI Widget URL
      • Bot Language Code – “en” is set as the default language. Refer to this doc to provide the language code for your bot’s language.
    2. Custom Data: The “customdata” object in the script can be used to pass information to the Agent AI Bot. During runtime, this customdata is accessible in the UserContext of the bot. Refer to Access Custom Data in Agent AI Bot for instructions on how to access customdata in the bot.

    Include your data in the customdata object (one key-value pair per line). For example: customdata.agentName="Agent"and customdata.agentID="1234"

  7. Double-click the PopURL tile.
    popurl_tile

  8. In the PopURL, update the URL with the following values:

    1. {[Agent AI URL]}/integrations/nice/iframe/?params={scriptparamsjson}
    2. Tab Title: Kore AgentAI (change as per your requirement)
    3. Pop Destination: Contact Panel (it will be preset for imported script)
  9. Double-click the Agent Assist tile.
    agent_assist_tile

  10. Select the checkbox against the Agent Assist instance you created in the above step.
    agent_assist_instance_checkbox

  11. Click Yes.
    studio_action

  12. After selecting Agent Assist, click the close button on the bottom-right corner of the page.

    Note

    Do not click the “X” button to close the window as this will not save the changes.

Step 3: NICE CX Setup > Attach Point of Contact with Voice Script

  1. Go to the NICE home page.
  2. Click the Application Launcher button.
  3. Click ACD.
  4. Click Points of Contact.
  5. Click the number you want to attach with AgentAssist.
  6. Click Edit.
  7. Change the script based on your needs.
  8. Click Done to save it.

    Note

    To view the summary pop-up in the Agent AI widget, you must assign a disposition to the skill. If you don’t, the voice screen automatically closes once the session ends.

Voice Simulation

  1. Go to the NICE home page.
  2. Click Application Launcher > Agent.
    app_launcher

  3. Select Integrated Softphone, and click Launch.
    integrated_softphone

  4. Change the status to Available.
    availabe_status

  5. Go back to the NICE home page, and click Application Launcher > ACD.

  6. Click Points of Contact.
  7. Click the Voice Point of Contact you have created.
    point_of_contact

  8. Copy the Phone Number, and initiate the call.

  9. A voice request appears on the NICE Agent desktop. Click Accept.
    accept_voice_call

  10. The Kore AgentAI widget loads inside the contact panel.
    agentai_widget

  11. Click Hang Up to disconnect the call.
    hang_up_voice_calls

  12. The Call summary pop-up gets triggered at the end of the call session.
    call_summary_popup

  13. Select the disposition, copy the summary, and paste it in the NOTES for future reference.

  14. Click Save > Close.
    save_close_summary