> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the NiceInContact (User Hub) Agent

<Badge icon="arrow-left" color="gray">[Back to Agent Transfer Integrations](/ai-for-service/integrations/overview#agent-transfer)</Badge>

The NiceInContact CXone User Hub integration allows you to hand off AI Agent conversations to live agents on Nice Chat.

The AI Agent acts as a proxy between users and NiceInContact User Hub agents, facilitating seamless conversation handovers.

***

## Configuration

### Step 1: Generate Access Details

1. Log in to [https://login.incontact.com/](https://login.incontact.com/) with your NiceInContact credentials.

2. Generate an **AccessKeyId** and **AccessKeySecret** from your User Profile. See [NiceInContact Generate Access Key Documentation](https://help.nice-incontact.com/content/admin/security/manageaccesskeys.htm?tocpath=Admin%7CAdmin%7CRoles%20and%20Security%7C_____3).

   <Note>These access details can be generated in the CXone interface on the Employees Page for the User Hub.</Note>

3. Save the **Access Key** and **Access Secret** for later.

### Step 2: Register an App and Retrieve Client ID and Secret

1. Log in to [https://login.incontact.com/](https://login.incontact.com/) with your NiceInContact credentials.
2. Follow the [Application Registration Documentation](https://developer.niceincontact.com/Documentation/ApplicationRegistration?Length=13) to register your app.
3. On the Application Registration page, provide:
   * **Tenancy**: Single Tenant
   * **Authentication method**: `client_secret_basic`
   * **CXone ACD API scopes**: `PatronApi`
   * **Application type**: Back-end
4. After registration, you receive a `client_id` and `client_secret`. Save both.

### Step 3: Create a Point of Contact

1. Follow the [Set Up Chat Documentation](https://help.nice-incontact.com/content/acd/channels/chat/setupchat.htm) to create a point of contact.
2. Set **Media Type** to **Chat**.
3. Enter **Name**, select **Skills** and **Script**, then click **Create Point of Contact**.
4. Copy the **Point of Contact key** and save it.

### Step 4: Enable the NiceInContact Agent

1. Log in to the Platform.

2. Select the AI Agent to configure.

3. Navigate to **App Settings > Integrations > Agent Transfer** and click **Nice In Contact (UserHub)**.

4. On the **Configurations** tab, enter:

   | Field                     | Description               |
   | ------------------------- | ------------------------- |
   | Application Client ID     | Client ID from Step 2     |
   | Application Client Secret | Client secret from Step 2 |
   | Access Key                | Access key ID from Step 1 |
   | Access Secret             | Access secret from Step 1 |
   | Point Of Contact          | POC ID from Step 3        |

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img2.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=252123c0045bf3990cb13a8447b5ab21" alt="NiceInContact agent credentials" width="1212" height="824" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img2.png" />

5. To make NiceInContact the default agent, enable **Default Agent System for all app channels**.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img3.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=5d2d2ec3fb04b5e0c0ff58d1a68bb34d" alt="Default agent setting" width="1213" height="819" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img3.png" />

   <Note>This option is only available when multiple agents are configured.</Note>

6. Click **Manage** to map channels to the NiceInContact User Hub agent.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img4.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=84f3ea700d2ab5505c03f31710f4d464" alt="Mapping channels" width="1340" height="823" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img4.png" />

7. Click **Save** to enable the agent.

8. Publish the app. See [Publishing your App](/ai-for-service/deployment/publishing-app).

***

## Verify the Integration

1. Log in to [https://login.incontact.com/](https://login.incontact.com/) with the credentials from Step 1.

2. Navigate to **Applications > Max** to launch the Chat console.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img5.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=98521ab42779261d4c87a2df0538bbe1" alt="Launch chat console" width="378" height="650" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img5.png" />

3. Change status from **Unavailable** to **Available**.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img6.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=f7bc494ad965a66b54eb37be5e3b906a" alt="Change status to Available" width="450" height="922" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img6.png" />

4. Click **Connect** to start exchanging conversations.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img7.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=d477c8740b8af8bde6305503bdf412a1" alt="Start conversation" width="450" height="922" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img7.png" />

5. Open the AI Agent with NiceInContact User Hub enabled.

6. Create an Agent Transfer Node task (e.g., a **Talk to Live Agent** task with a **LiveChats** node configured to use Nice agent). See [Agent Transfer Node](/ai-for-service/automation/dialogs/node-types/agent-transfer-node).

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img8.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=df5fd78d534662b6100f2879879702a7" alt="New Agent Transfer Node task" width="1917" height="852" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img8.png" />

7. Click **Talk to Bot** and enter **Help**.

8. When the agent transfer dialog is invoked, NiceInContact Chat receives a notification.

9. The conversation transfers to the NiceInContact User Hub agent and the connection is established.

   <img src="https://mintcdn.com/koreai/7yQ1rPeCqMS9mwGL/ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img9.png?fit=max&auto=format&n=7yQ1rPeCqMS9mwGL&q=85&s=94ccd3e94dcd5ad822dfc71a5f713c13" alt="Connection established" width="1919" height="916" data-path="ai-for-service/integrations/agents/images/configuring-the-niceincontact-userhub-img9.png" />
