> ## 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.

# Configuring the ServiceNow Agent - Tokyo and Lower Versions

The ServiceNow Agent integration allows you to hand off AI Agent conversations to live agents on ServiceNow. This guide covers configuration for **Tokyo** and lower versions.

***

## Configuration Steps

* [Step 1: Retrieve the ServiceNow Instance URL](#step-1-retrieve-the-servicenow-instance-url)
* [Step 2: Create a New Queue](#step-2-create-a-new-queue)
* [Step 3: Enable the ServiceNow Agent](#step-3-enable-the-servicenow-agent)
* [Step 4: Switch to UI16 Theme](#step-4-switch-to-ui16-theme)
* [Step 5: Install Required Plugins](#step-5-install-the-required-plugins)
* [Step 6: Create a User with agent\_admin Role](#step-6-create-a-user-with-agent_admin-role)
* [Step 7: Create a Group and Add the User](#step-7-create-a-group-and-add-the-user)
* [Step 8: Define the Host URL in the REST Message](#step-8-define-the-host-url-in-the-rest-message)
* [Step 9: Define Outbound REST Message Requests](#step-9-define-outbound-rest-message-requests)
* [Step 10: Define Outbound REST Business Rules](#step-10-define-outbound-rest-business-rules)
* [Step 11: Testing Configuration](#step-11-testing-configuration)

***

### Step 1: Retrieve the ServiceNow Instance URL

1. Log in to your ServiceNow account with admin credentials. The URL format is: `https://devXXX67.service-now.com`.
2. Copy the Instance URL for use in Step 3.

### Step 2: Create a New Queue

1. Log in to your ServiceNow account.

2. Navigate to **Connect > Support Administration > Queues** and click **New**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img1.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=e17ef91c0552d22581c010863f0ba14e" alt="Create new queue" width="1898" height="877" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img1.png" />

3. Enter the queue **Name** and select **Consumer Service Support** in the **Assignment group** field.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img2.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=6e1059a71fceff13365a5a2d518a2e44" alt="Queue details" width="1911" height="886" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img2.png" />

4. In the **Chat Queue Entries** section, click **New** and assign a user.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img3.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=89b5e50d6786aacdae21134439aeffa6" alt="Assign chat queue entry" width="1914" height="902" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img3.png" />

5. Click **Submit** to save the queue entry, then **Submit** again to save the queue.

6. Copy the **Queue ID**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img4.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=f9aabf92cece515575976389d87ca6e5" alt="Queue ID" width="1910" height="749" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img4.png" />

### Step 3: Enable the ServiceNow Agent

1. Log in to the Platform.

2. Select the AI Agent to configure.

3. Navigate to **App Settings > Integrations > Agent Transfer** and click **ServiceNow**.

4. On the **Configurations** tab, choose an authentication method:

   **Option 1: Basic Auth**

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img6.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=ca5832cb467be0ddc31a91bc5a485497" alt="Basic Auth" width="1345" height="808" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img6.png" />

   1. Select **Connect Support (Supported for Tokyo and lower versions)**.
   2. Select **Basic Auth**.
   3. Enter:

      | Field        | Description                                                               |
      | ------------ | ------------------------------------------------------------------------- |
      | Instance URL | ServiceNow instance URL (for example, `https://devXXX67.service-now.com`) |
      | User Name    | ServiceNow account username                                               |
      | Password     | ServiceNow account password                                               |
      | Queue ID     | Queue ID from Step 2                                                      |
      | Webhook URL  | Web URL for custom application function callbacks                         |

   **Option 2: OAuth with Refresh Token**

   Follow [this ServiceNow documentation](https://support.servicenow.com/kb?id=kb_article_view\&sysparm_article=KB0778194) to generate a refresh token.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img7.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=27994264e78fe9c6f96217f365ff6926" alt="OAuth with Refresh Token" width="1073" height="833" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img7.png" />

   1. Select **Connect Support (Supported for Tokyo and lower versions)**.
   2. Select **OAuth with Refresh Token**.
   3. Enter:

      | Field         | Description                                       |
      | ------------- | ------------------------------------------------- |
      | Instance URL  | ServiceNow instance URL                           |
      | Client ID     | Client ID from your ServiceNow application        |
      | Client Secret | Client secret from your ServiceNow application    |
      | Refresh Token | Refresh token generated per the documentation     |
      | Webhook URL   | Web URL for custom application function callbacks |

5. Click **Authorize** to authenticate.

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

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

7. Click **Configure** to map channels.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img8.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=5d8f8be7f63af5b82278cc7822b597c7" alt="Customize channel mapping" width="1341" height="806" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img8.png" />

8. Select channels to map to the ServiceNow agent.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img9.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=26586a3b117c532a66e8623f1e4e1fc7" alt="Map channels" width="754" height="496" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img9.png" />

9. Click **Done**, then **Save**.

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

### Step 4: Switch to UI16 Theme

1. Log in to ServiceNow with admin credentials.

2. Navigate to **System Properties** and click **New**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img10.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=063000cd718c570a0cfb3f0bbe7cf652" alt="System Properties" width="1913" height="844" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img10.png" />

3. Enter the property `glide.ui.polaris.on_off_user_pref_enabled`, set type to `true|false`, and click **Submit**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img11.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=6825a0fa4b47e222c4dfddad8c7d47c0" alt="Property configuration" width="1919" height="883" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img11.png" />

   <Note>This property allows toggling between "Next experience and UI16" and classic experience.</Note>

4. Click the **System Admin** profile and select **Preferences**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img12.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=38e0be80df039b665b8a5b294fc86a26" alt="Preferences menu" width="423" height="603" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img12.png" />

5. Enable **Turn off Next experience**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img13.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=40904a6a0f57e5d7e75f0757f49e3c9f" alt="Turn off Next experience" width="832" height="406" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img13.png" />

6. The view switches to UI16 theme.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img14.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=47612f21fc6048914da093d37beb02f5" alt="UI16 theme" width="839" height="417" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img14.png" />

### Step 5: Install the Required Plugins

1. Log in to the ServiceNow Developer instance with admin credentials.

2. Navigate to **System Definition > Plugins** from the left menu.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img15.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=8bed4ec562a8d19f7894011a39a70326" alt="Plugins - System Definition" width="564" height="502" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img15.png" />

3. Search for and install the **Consumer Service Portal** plugin.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img16.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=a9222013d77139ac104918cd3492be88" alt="Consumer Service Portal plugin" width="1917" height="899" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img16.png" />

4. After installation, the **Connect support** menu item appears in the left navigation.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img17.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=6e252e8d0431ac46e821d342fb6202b6" alt="Connect support menu item" width="839" height="412" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img17.png" />

### Step 6: Create a User with agent\_admin Role

1. Log in to the ServiceNow instance with admin credentials.

2. Navigate to **User Administration > Users > New**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img18.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=ffa2654eefe3f3f05b6d126a8005f953" alt="Users - New" width="561" height="751" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img18.png" />

3. Fill in the user details and click **Submit**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img19.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=61a613f77e93bd2811bd4e7434c0a7fe" alt="New user details" width="1908" height="905" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img19.png" />

4. Select the **Roles** tab and click **Edit**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img20.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=a206ea9fb952f384da56f4dca3127aca" alt="Roles tab" width="1893" height="895" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img20.png" />

5. Search for and add the **agent\_admin** role to the user.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img21.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=274249a91d7e331c306f32aaa88525a7" alt="Add agent_admin role" width="1893" height="898" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img21.png" />

6. Click **Save**.

### Step 7: Create a Group and Add the User

1. Navigate to **User Administration > Groups**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img22.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=471bb9ed9d894a323952bd204efb85fd" alt="User Administration - Groups" width="531" height="738" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img22.png" />

2. Click **New**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img23.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=2a243c097db8294d38bb376cfa56cf01" alt="Groups - New" width="1914" height="835" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img23.png" />

3. Fill in the group details and click **Submit**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img24.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=38ca33cf3efa25c4314f48f655d707b9" alt="Group details" width="1903" height="487" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img24.png" />

4. Edit the group, scroll to the **Group Members** tab, and click **Edit**.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img25.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=caad3fb3dfea28bdd5ef074757e9c2b5" alt="Edit group members" width="1901" height="761" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img25.png" />

5. Select the agent from Step 6 and add them to the group.

   <img src="https://mintcdn.com/koreai-apis/FdiMBtxKIIypxWEe/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img26.png?fit=max&auto=format&n=FdiMBtxKIIypxWEe&q=85&s=ede5ee2289565ca3e960d3492744365d" alt="Add agent to group" width="1827" height="899" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img26.png" />

6. Click **Save**.

### Step 8: Define the Host URL in the REST Message

1. Log in to your ServiceNow account.

2. Navigate to **System Web Services > Outbound > REST Messages** from the left menu.

3. Click **New** to create a new REST Message.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img27.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=e73250c03fba5b74ef635b6c3a4cc1f1" alt="REST Messages - New" width="1917" height="835" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img27.png" />

4. Copy the **Webhook URL** from the Platform AI Agent configuration page and paste it into the **Endpoint URL** field.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img28.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=e6133ddadeebed8cc6af7c3f4a9c3ba1" alt="Endpoint URL" width="1914" height="840" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img28.png" />

5. Click **Save**.

### Step 9: Define Outbound REST Message Requests

1. Navigate to **System Web Services > Outbound > REST Messages**.

2. Select the REST Message for Platform agent integrations (for example, `Platform - Agent Integrations`).

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img29.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=d7626d09c9d4fd469a333c834c132086" alt="Select REST Message" width="1911" height="898" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img29.png" />

3. Enter the API details including the endpoint URL (Callback URL from the Configurations page) and HTTP method.

   <Note>This endpoint is how ServiceNow sends agent messages to the user.</Note>

4. Click the **HTTP Request** tab and select **Add New Row**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img30.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=cdd9abd63234b3d447ac833b3ddadda2" alt="HTTP Request - Add new row" width="1911" height="898" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img30.png" />

5. Add:

   * **HTTP Header**: `Content-Type: application/json`
   * **Method**: `POST` — paste the Webhook URL in the Endpoint field.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img31.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=664b5fbe78e7f99fac0ed32b690ecd5e" alt="HTTP Request - Add header" width="1911" height="848" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img31.png" />

6. Click **Update**.

### Step 10: Define Outbound REST Business Rules

1. Navigate to **System Definition > Business Rules**.

2. Click **New**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img32.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=7b857b3b06823bd1301d012a60f931ce" alt="Business Rule - New" width="1917" height="844" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img32.png" />

3. Enter the following details:

   * **Name**: Enter a name.
   * **Table**: Select `live_message`.
   * Enable **Active** and **Advanced** checkboxes.
   * In the **When to run** tab: set **When** to `after` and select **Insert**.
   * Add **Filter conditions**: execute if `created by` isn't `AI Agent_interface`.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img33.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=b16232d0647168ffca5e44b99537bf3c" alt="Add filter conditions" width="1910" height="891" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img33.png" />

4. On the **Advanced** tab, add the following code and click **Submit**:

   ```javascript theme={null}
   var request;
   request = new sn_ws.RESTMessageV2('Platform - Agent Integrations', 'Platform - Agent Integrations');
   request.setRequestBody("{\"group\":\""+current.group+"\","formatted_message\":\""+GlideStringUtil.escapeForHomePage(current.formatted_message)+"\","sys_created_by\":\""+current.sys_created_by+"\",\"last_message\":\""+current.last_message+"\","sys_id\":\""+current.sys_id+"\"}");
   request.setRequestHeader("Content-Type", "application/json");
   var response = request.execute();
   ```

   <Note>This code is optional. Use it if you encounter issues during execution. This business rule executes the API configured in the REST Message.</Note>

### Step 11: Testing Configuration

1. Open the AI Agent with ServiceNow enabled.

2. Create an Agent Transfer Node task (for example, `Platform Agent` with a `UserAgent` node). See [Agent Transfer Node](/ai-for-service/automation/dialogs/node-types/agent-transfer-node).

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img34.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=65d26b29df1e8274051aef844328b4cb" alt="Agent Transfer Node task" width="1913" height="836" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img34.png" />

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

4. Log in to ServiceNow, go to **Profile**, and select **Impersonate User**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img35.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=d06afc516e3e998f1ccdb813e87f6bde" alt="Impersonate user" width="1919" height="574" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img35.png" />

5. Select the username created (for example, `Abel Tuter`).

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img36.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=577ca2ecefd77af27481f69357158968" alt="Provide username" width="1917" height="796" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img36.png" />

6. Navigate to **Workspace Experience > Workspaces > Agent Workspace Home**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img37.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=405a3b0f0c649935aea53260ff579408" alt="Agent Workspace Home" width="534" height="525" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img37.png" />

7. In the Agent Workspace, select **Inbox** and set **Status** to **Available**.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img38.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=94466774be91feca5e43fcff3518360d" alt="Set inbox status to Available" width="1914" height="898" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img38.png" />

8. When the user initiates chat, the conversation transfers to the ServiceNow agent and the connection is established.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img39.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=27e0b0fff292e0ca1d1484c1cca8d007" alt="Connection established" width="1913" height="908" data-path="ai-for-service/integrations/agents/servicenow/images/configuring-the-servicenow-agent-tokyo-img39.png" />

***

## Additional Capabilities

### Enable Attachment Sharing with Live Agents

1. Log in to ServiceNow with admin credentials.
2. Navigate to **System Properties > sys\_cs\_provider\_application.list > Configure > Form Layout**.
3. In the **Trusted Media Domains** field, enter the domain for sending and receiving attachments.

   <img src="https://mintcdn.com/koreai-apis/zqTHOUp48SpTIVgb/ai-for-service/integrations/agents/servicenow/images/sn-at.png?fit=max&auto=format&n=zqTHOUp48SpTIVgb&q=85&s=13128668d0fbd845e66b120c82cbc567" alt="Attachment Sharing" width="2796" height="1288" data-path="ai-for-service/integrations/agents/servicenow/images/sn-at.png" />

   <Note>This feature supports only Tokyo versions.</Note>

### Agent Transfer Status

The platform records agent transfer status in Debug Logs and Analytics, enabling tracking and troubleshooting of transfer-related issues.

### Failed Agent Transfer Notification

When a ServiceNow agent transfer fails due to agent unavailability, users see a default non-editable message:

*No agents are available to handle your request. Please try again later.*
