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

# Adding Nice inContact as a Channel

<Badge icon="arrow-left" color="gray">[Back to Available Channels](/ai-for-service/channels/adding-channels-to-your-bot#available-channels)</Badge>

The Platform supports Nice inContact as a channel to integrate an AI Agent with the NiceCXone Chat Automation platform for creating a rich and synchronous messaging experience for the users.

## Types of Nice inContact Channel

The Nice inContact channel supports the following two chat interaction modes:

* **DFO** supports plain text messages, digital forms, and rich text elements such as message formatting, links, and templates.
* **Legacy Chat** supports only plain text messages. Digital forms and rich text elements like message formatting, templates, and links aren't supported.

Select the chat interaction mode on the **Channels & Flows** > **Channels** > **Digital** > **All** > **Nice inContact** > **Instructions** tab. By default, DFO is selected.

<img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img1.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=3244bc78b58280ff0bb3b89f35488091" alt="Instructions tab" width="1042" height="844" data-path="ai-for-service/channels/images/nice-in-contact-img1.png" />

## Prerequisites

The following are prerequisites for adding Nice inContact as a Channel on the Platform:

* Access to Nice CXone Portal.
* Access to the Platform.
* Enable Nice inContact as a channel in the Platform.
* Nice inContact Channel Studio Script.
* Webhook URL and Client ID value.

## Enable Nice inContact as a Channel on the Platform

Perform the following steps to enable Nice inContact as a channel, download the Studio Script, and get the Webhook URL and client ID from the Platform.

1. Login to the Platform and navigate to **Channels & Flows** > **Channels** > **Digital** > **All** > **Nice inContact** > **Configurations**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img2.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=b1ead0d85a1d1dad2700914b8b890a85" alt="Configurations" width="525" height="892" data-path="ai-for-service/channels/images/nice-in-contact-img2.png" />

2. On the Configurations tab, Click **Download File** to download the Studio Script.

   <Note>    \* The downloaded studio script varies based on the selected chat mode. The Scripts aren't interchangeable between Legacy Chat and DFO modes.     \* Avoid altering the downloaded script; it could affect the channel’s communication ability.</Note>

3. Select an application from the dropdown list to view the Client ID and other fields. If an application isn't available, Click **Create App** to create it. For more information, see the [Add Web/Mobile Client Channel](/ai-for-service/channels/add-web-mobile-client).
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img3.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=b676769d1d881c3d1a19d088f3121867" alt="Nice InContact Configurations" width="1045" height="848" data-path="ai-for-service/channels/images/nice-in-contact-img3.png" />

4. In the Enable channel, select **Yes** and then click **Save**. The configuration saved success message is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img4.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=586d9521e171ff6a61dcba282c225ec8" alt="Nice InContact Configuration saved" width="445" height="147" data-path="ai-for-service/channels/images/nice-in-contact-img4.png" />

## Configure Nice inContact for DFO

To configure Nice inContact for Legacy Chat, follow these steps.

### Install Nice Studio

1. Log into the [Nice CXone](https://na1.nice-incontact.com/login) Portal.

2. Click the **profile icon** in the top right corner and then click **Support & Downloads**. The download page is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img5.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fc07b5105932011561e2c4d0b5bbca58" alt="Download page" width="1920" height="655" data-path="ai-for-service/channels/images/nice-in-contact-img5.png" />

3. In the **Studio** section, download **Studio Installer** to download the Nice inContact **StudioSetup.exe** file.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img6.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=53d64ef947781995f05702cc76b254a8" alt="Download Studio installer" width="1915" height="727" data-path="ai-for-service/channels/images/nice-in-contact-img6.png" />

4. Launch the **StudioSetup.exe** and install **Nice inContact Studio**. Log into **Nice inContact Studio** using NiceCXone portal login credentials.

### Import the Studio Script and Create a Custom Exchange EndPoint

1. In the Nice Studio, click **File > Import from File**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img7.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=839dd8a4fd986b01327314612b6d0a4b" alt="File - Import from File" width="1918" height="979" data-path="ai-for-service/channels/images/nice-in-contact-img7.png" />

2. Select the Studio Script downloaded from the Platform and then click **Open**. For example, **Chat\_Script.XML**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img8.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=dba5561bda4480cc3200ddc2f31c6c33" alt="Open Studio Script file" width="931" height="712" data-path="ai-for-service/channels/images/nice-in-contact-img8.png" />

3. In the displayed script, double-click either of the **Text Box Exchange**; For example, in the Chat\_Script, double-click Textbot Exchange.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img9.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=07c11d428b30659c9cb5a36a7e93505a" alt="Double click Text Box exchange" width="1919" height="976" data-path="ai-for-service/channels/images/nice-in-contact-img9.png" />

4. The AI Agent page is displayed. Click **Add Bot**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img10.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=799db01e7079e7caa44b08e98a96a091" alt="Add bot" width="1000" height="789" data-path="ai-for-service/channels/images/nice-in-contact-img10.png" />

5. On the General Information page, type in the bot name, select **Custom Exchange Endpoint**, and click **Next**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img11.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=9d741a519962852f135293d9e7b3f78d" alt="Custom Exchange endpoint" width="1920" height="1003" data-path="ai-for-service/channels/images/nice-in-contact-img11.png" />

6. On the Bot Configuration page, fill in the details as shown and then click **Next**.

   1. Select the **Integration Version** as **3.0.0** from the dropdown list.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img12.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=a48f11bb9a80eeeceda49d468a4b97a1" alt="Integration version - 3.0.0" width="1903" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img12.png" />

   2. Paste the **Webhook URL**.

   3. Under the Customer Headers, click **Add Custom Headers**.

   4. Type “Authorization” in the Name field and “Bearer (client ID)” in the Value field.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img13.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=d986fa748cd6789ab4308791219e7ec0" alt="Custom headers" width="1920" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img13.png" />

7. On the Voice page, in the voice integration options, select **Text Only (No Voice Support)** and click **Next**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img14.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=abf7972bda831501b34f1c809fab1d80" alt="Integration options - Text Only" width="1912" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img14.png" />

8. On the **Test + Add** page, click **Add**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img15.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=bb1b109044829dabec8140ed624225c2" alt="Test + Add" width="1911" height="1005" data-path="ai-for-service/channels/images/nice-in-contact-img15.png" />

9. The bot saved success message is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img16.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=6ed24193de1971435f63a8b4dabf4b65" alt="Bot is successfully saved" width="1918" height="1006" data-path="ai-for-service/channels/images/nice-in-contact-img16.png" />

10. Click **Close**. The Nice inContact script is displayed.

11. Double-click the other **Text Bot Exchange Configuration**. The AI Agent page is displayed.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img17.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fe7a1485bfa18ff3080a73999f9e4823" alt="AI Agent page" width="1912" height="1000" data-path="ai-for-service/channels/images/nice-in-contact-img17.png" />

12. Click the right tick mark next to the created bot. The “Select this bot for this Studio action?” pop-up is displayed.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img18.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fec1239e77b31bc8a2c019e80b975ab2" alt="Select bot for studio action" width="1920" height="1008" data-path="ai-for-service/channels/images/nice-in-contact-img18.png" />

13. Click **Yes** and then click **Close**.

14. In the Nice inContact Studio, go to file and **Save** the script.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img19.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=ac00c8582b1268ca8f2140b1da1b5b2d" alt="Save the script" width="1920" height="969" data-path="ai-for-service/channels/images/nice-in-contact-img19.png" />

### Create the Chat Point of Contact

To Interact with the AI Agent in Nice Channel, create a chat POC.

1. Log into the [Nice CXone](https://na1.nice-incontact.com/login/#/logout?autoLogout=true) Portal.

2. Click the **Applications** icon in the top left corner. Under **Omnichannel Routing**, click **ACD**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img20.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=16fd1cd7f2343914172e5a65ddbe4411" alt="Omnichannel Routing - ACD" width="1600" height="688" data-path="ai-for-service/channels/images/nice-in-contact-img20.png" />

3. In the left-side vertical menu, under **DFO**, click **Point of Contact Digital**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img21.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=4532305f32068a4316578e9c6ef4b5e5" alt="DFO - Point of Contact Digital" width="1600" height="691" data-path="ai-for-service/channels/images/nice-in-contact-img21.png" />

4. In the **Add Channel** section, click **Chat**. The My Channels page is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img22.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=57df3136907565afcb4f6b9f905d6ef8" alt="My Channels" width="1600" height="686" data-path="ai-for-service/channels/images/nice-in-contact-img22.png" />

5. Click **Create Messaging Channel**, type in the channel name, and click **Create**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img23.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=1647f72490d3097b5ec865ad679623f5" alt="Create messaging channel" width="1600" height="683" data-path="ai-for-service/channels/images/nice-in-contact-img23.png" />

6. The created channel is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img24.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=34c017e3f96ecb7b1d85800e1e24e4ac" alt="Channel displayed" width="1600" height="676" data-path="ai-for-service/channels/images/nice-in-contact-img24.png" />

### Create the Digital Routing Queue for the Agent Transfer

1. Log into the [Nice CXone](https://na1.nice-incontact.com/login/#/logout?autoLogout=true) Portal.

2. In the left-side vertical menu, under **DFO**, click **Routing Queues**. All the available queues are displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img25.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=6171552e7634cdc0f5bf54ae623d7209" alt="Queues" width="1915" height="823" data-path="ai-for-service/channels/images/nice-in-contact-img25.png" />

3. Click **Add Queue**, type in the queue name for the Routing Queue, and then click **Save**.

   <Note>Depending on the account type and the number of queues created, the system can hide the **create queue** option.</Note>

4. Click **Filters** and then click **Add routing queue filter**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img26.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=bc078cc3dc837be15dd555f7a48dfd03" alt="Filters - Add Routing queue filter" width="1920" height="829" data-path="ai-for-service/channels/images/nice-in-contact-img26.png" />

5. Type in the **Filter Name** and click **Save**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img27.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=a1f057dc1a00eaf48bf787c154517b7f" alt="Filter name" width="1920" height="816" data-path="ai-for-service/channels/images/nice-in-contact-img27.png" />

6. The Condition Type page is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img28.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=f96ee8f7bd205d93fca16a94cdd45709" alt="Condition type" width="1920" height="823" data-path="ai-for-service/channels/images/nice-in-contact-img28.png" />

7. Click **Create condition for selected type**. All Channels page is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img29.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=468d2e7e23c4e7d9af4337286fb71e7e" alt="All Channels" width="1915" height="828" data-path="ai-for-service/channels/images/nice-in-contact-img29.png" />

8. Search the **created channel** and click the respective **Add**, For example, Channel. The selected channel is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img30.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=37644c71ef2190d4ad47ae8174164f51" alt="Add the created channel" width="1920" height="825" data-path="ai-for-service/channels/images/nice-in-contact-img30.png" />

9. In the left-side vertical menu, under **DFO**, click **Point of Contact Digital**.

10. Search the **created channel** and click the respective **Edit**.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img31.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=88bf0ce4d57e658372fef12915381c0a" alt="Edit the channel" width="1920" height="818" data-path="ai-for-service/channels/images/nice-in-contact-img31.png" />

11. Select the created **Studio Script** from the **Select Studio Script** dropdown and **Skill** from the **Select Default Skills** dropdown.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img32.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=de82a512e3241dcbd66f3468d33474d8" alt="Select Studio script" width="1920" height="898" data-path="ai-for-service/channels/images/nice-in-contact-img32.png" />

12. Click **Save**. The channel saved success message is displayed.

Go to **DFO > Point of Contact Digital > Chat > My Channels** and click **Initialization & Test** to test an AI Agent.

## Configure Nice inContact for Legacy Chat

To configure Nice inContact for Legacy Chat, follow these steps.

### Install Nice Studio

1. Log into the [Nice CXone](https://na1.nice-incontact.com/login) Portal.

2. Click the **profile icon** in the top right corner and then click **Support & Downloads**. The download page is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img5.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fc07b5105932011561e2c4d0b5bbca58" alt="Download page" width="1920" height="655" data-path="ai-for-service/channels/images/nice-in-contact-img5.png" />

3. In the **Studio** section, download **Studio Installer** to download the Nice inContact **StudioSetup.exe** file.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img6.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=53d64ef947781995f05702cc76b254a8" alt="Download Studio installer" width="1915" height="727" data-path="ai-for-service/channels/images/nice-in-contact-img6.png" />

4. Launch the **StudioSetup.exe** and install **Nice inContact Studio**. Log into **Nice inContact Studio** using NiceCXone portal login credentials.

### Import the Studio Script and Create a Custom Exchange EndPoint

1. In the Nice Studio, click **File > Import from File**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img7.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=839dd8a4fd986b01327314612b6d0a4b" alt="File - Import from File" width="1918" height="979" data-path="ai-for-service/channels/images/nice-in-contact-img7.png" />

2. Select the Studio Script downloaded from the Platform and then click **Open**. For example, **Chat\_Script.XML**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img8.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=dba5561bda4480cc3200ddc2f31c6c33" alt="Open Studio Script file" width="931" height="712" data-path="ai-for-service/channels/images/nice-in-contact-img8.png" />

3. In the displayed script, double-click either of the **Text Box Exchange**; For example, in the Chat\_Script, double-click Textbot Exchange.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img9.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=07c11d428b30659c9cb5a36a7e93505a" alt="Double click Text Box exchange" width="1919" height="976" data-path="ai-for-service/channels/images/nice-in-contact-img9.png" />

4. The AI Agent page is displayed. Click **Add Bot**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img10.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=799db01e7079e7caa44b08e98a96a091" alt="Add bot" width="1000" height="789" data-path="ai-for-service/channels/images/nice-in-contact-img10.png" />

5. On the General Information page, type in the bot name, select **Custom Exchange Endpoint**, and click **Next**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img11.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=9d741a519962852f135293d9e7b3f78d" alt="Custom Exchange endpoint" width="1920" height="1003" data-path="ai-for-service/channels/images/nice-in-contact-img11.png" />

6. On the Bot Configuration page, fill in the details as shown and then click **Next**.

   1. Select the **Integration Version** as **3.0.0** from the dropdown list.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img12.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=a48f11bb9a80eeeceda49d468a4b97a1" alt="Integration version - 3.0.0" width="1903" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img12.png" />

   2. Paste the **Webhook URL**.

   3. Under the Customer Headers, click **Add Custom Headers**.

   4. Type “Authorization” in the Name field and “Bearer (client ID)” in the Value field.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img13.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=d986fa748cd6789ab4308791219e7ec0" alt="Custom headers" width="1920" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img13.png" />

7. On the Voice page, in the voice integration options, select **Text Only (No Voice Support)** and click **Next**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img14.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=abf7972bda831501b34f1c809fab1d80" alt="Integration options - Text Only" width="1912" height="1009" data-path="ai-for-service/channels/images/nice-in-contact-img14.png" />

8. On the **Test + Add** page, click **Add**.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img15.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=bb1b109044829dabec8140ed624225c2" alt="Test + Add" width="1911" height="1005" data-path="ai-for-service/channels/images/nice-in-contact-img15.png" />

9. The bot saved success message is displayed.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img16.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=6ed24193de1971435f63a8b4dabf4b65" alt="Bot is successfully saved" width="1918" height="1006" data-path="ai-for-service/channels/images/nice-in-contact-img16.png" />

10. Click **Close**. The Nice inContact script is displayed.

11. Double-click the other **Text Bot Exchange Configuration**. The AI Agent page is displayed.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img17.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fe7a1485bfa18ff3080a73999f9e4823" alt="AI Agent page" width="1912" height="1000" data-path="ai-for-service/channels/images/nice-in-contact-img17.png" />

12. Click the right tick mark next to the created bot. The “Select this bot for this Studio action?” pop-up is displayed.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img18.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=fec1239e77b31bc8a2c019e80b975ab2" alt="Select bot for studio action" width="1920" height="1008" data-path="ai-for-service/channels/images/nice-in-contact-img18.png" />

13. Click **Yes** and then click **Close**.

14. In the Nice inContact Studio, go to file and **Save** the script.
    <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img19.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=ac00c8582b1268ca8f2140b1da1b5b2d" alt="Save the script" width="1920" height="969" data-path="ai-for-service/channels/images/nice-in-contact-img19.png" />

### Create the Chat Point of Contact

To interact with the AI Agent in the Nice InChannel, the developer must create a Chat Skill and Chat Point of Contact. The Point of Contact triggers the Studio Script associated with the AI Agent.

1. Create a Campaign.

   1. Log into the [Nice CXone](https://na1.nice-incontact.com/login/#/logout?autoLogout=true) Portal. In the **Applications** menu in the top left corner, under **Omnichannel Routing**, click **ACD** (Automatic Call Distribution).
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img33.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=57befc870e0c5010ced926f080bca718" alt="Omnichannel routing - ACD" width="1920" height="817" data-path="ai-for-service/channels/images/nice-in-contact-img33.png" />

   2. In the left-side vertical menu, click **Contact Settings** and then click **Campaigns.** The Campaigns page is displayed.

   3. Click **Create New** to create a Campaign.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img34.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=6e3f0d4aceb086d1259d7edb6364f0e8" alt="Create new campaign" width="1918" height="844" data-path="ai-for-service/channels/images/nice-in-contact-img34.png" />

   4. Type in the campaign name and click **Create Campaign**.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img35.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=66345e187bb2c3a54911a470965e2a2e" alt="Create campaign" width="1920" height="847" data-path="ai-for-service/channels/images/nice-in-contact-img35.png" />

   5. The success message is displayed.

2. Create A skills.

   1. In the left side vertical menu, under **Contact Settings**, click **ACD Skills > Create New > Single Skill**.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img36.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=f8c9b60d8b3526770c79c51fe3241361" alt="Create new single skill" width="1920" height="838" data-path="ai-for-service/channels/images/nice-in-contact-img36.png" />

   2. In the Skill Information section, in the **Media Type** dropdown, select **Chat**.
      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img37.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=8548b3531fa5ada622a9d7b7287e506e" alt="Media type - Chat" width="1920" height="894" data-path="ai-for-service/channels/images/nice-in-contact-img37.png" />

   3. Type in the **Skill Name**, and select the created campaign from the **Campaign** dropdown.

   4. In the **Transferred to Script** dropdown, select the script and click **Create**.

   5. The skills created success message is displayed.

3. Create a Point of Contact.

   1. In the left side vertical menu, under **Contact Settings**, click **Point of Contact > Create New > Single Point of Contact**.
   2. Enter the Point of Contact Information.

      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img38.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=07e1690a4285065478efb2fa38317705" alt="Contact settings" width="1920" height="802" data-path="ai-for-service/channels/images/nice-in-contact-img38.png" />

      1. In the **Media Type** dropdown, select **Chat**.
      2. Type in the **Point of Contact** name.
      3. Select the created **Skill** and **Script** from the respective dropdown.
      4. Click **Create Point of Contact**.
      5. The success message is displayed.

      <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img39.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=5657ed49cc5d67426fdc6dd451900d52" alt="Point of contact is created" width="1920" height="886" data-path="ai-for-service/channels/images/nice-in-contact-img39.png" />

You can use the generated **Point of Contact** link to test the AI Agent.

### Enable the Agent Transfer

1. In the Nice Studio > Chat Script, right-click the **Reqagent** action.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img40.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=df9131c0e70dce6890b0c740d84b1ccf" alt="Chat script" width="1920" height="975" data-path="ai-for-service/channels/images/nice-in-contact-img40.png" />

2. Under the **Properties** section, in the **TargetAgent** dropdown, select the user/group to route the agent request.
   <img src="https://mintcdn.com/koreai-apis/vBXxLdTkRvJTIakI/ai-for-service/channels/images/nice-in-contact-img41.png?fit=max&auto=format&n=vBXxLdTkRvJTIakI&q=85&s=4146a5356ef80cdf593b8c81c56362a5" alt="Select user/group to route request" width="1920" height="976" data-path="ai-for-service/channels/images/nice-in-contact-img41.png" />

3. Save the script.
