# Integrating Agent/Aisera Assist within ServiceNow's Service Operations Workspace

Aisera's Agent Assist is also available within the ServiceNow Service Operations Workspace.&#x20;

It appears as **Aisera Assist** in the ServiceNow Marketplace. This topic will refer to the ServiceNow plug-in as **Aisera Assist,** even though it is equivalent to Agent Assist in the Aisera Admin UI.

<figure><img src="/files/6tB9SPd04HscEhImLsXY" alt=""><figcaption></figcaption></figure>

This integration brings powerful AI-driven capabilities directly to the Incident page, enabling human agents to resolve cases more efficiently.

With **Aisera Assist** embedded in the Service Operations Workspace, your human agents can now benefit from:

**Field Predictions:** Accurate recommendations for filling in key fields, saving time and reducing errors.

**Incident Summarization:** Instant summaries of incidents to quickly understand the context and details.

**Answer and Action Recommendations:** Relevant suggestions drawn from Knowledge Articles and historical cases, streamlining the resolution process.

**Conversational Chatbot:** An AI-powered chatbot that assists with queries and provides instant support. For more information, please reach out to your Customer Success Manager.

{% hint style="info" %}
**NOTE: You may need assistance or privileges from your Aisera AISE Team to perform some of the steps in the following sections.**
{% endhint %}

### Pre-requisites

The ServiceNow plug-in, that allows you to use the Aisera Agent Assist widget on a window within ServiceNow, is available in the [ServiceNow Store](https://store.servicenow.com/store/app/8de553b247f27210cadd8a75d36d43df#contacts).

1. Log in as your ServiceNow administrator, or ask your ServiceNow administrator to log in so you can upload a new Update Set.
2. Navigate to the ServiceNow **All > Aisera Assist Settings.**
3. Make sure your user has access to `x_aiser_ticket_ai.aisera_ticketai_settings_user` permissions.
4. If you need to set up cross-scope privileges, see [**Steps to create cross-scope privileges**](https://docs.aisera.com/agent-assist/how-to-setup-agent-assist/integrating-agent-aisera-assist-within-servicenows-service-operations-workspace#steps-to-create-a-cross-scope-privilege-manual-steps).

### Install the Update Set

**Entitlement:** You must acquire the application from the ServiceNow Marketplace.

Navigate to **System Applications > All Available Applications > All** to the Application Manager webpage to install the app once you have the correct permissions.

1. Install the **Aisera Assistant** app from the ServiceNow Marketplace. \
   \
   The Aisera Agent Assist plug-in will be installed within the ServiceNow application workspace that you used to download it
2. **Reach out to Aisera Support if you are using an older version of the App that is not listed on the ServiceNow Marketplace.**

### **Update the Aisera Assist Settings in ServiceNow**

1. Look for **Aisera** in the ServiceNow **Filter Navigator**.
2. Click on module menu **Aisera Assist Settings** under **Aisera Assist Workspace Settings**. Aisera Assist Settings are displayed.
3. Enter a parameter in the **Value** field for each of the following attributes:
   1. **usermail**
      1. Update the **Value** field.
      2. Integration user with SERVICE\_ACCOUNT login role will be provided by your Aisera AISE Team.

<figure><img src="/files/wl9QusNehv7QhBRDWxeO" alt=""><figcaption></figcaption></figure>

&#x20;      b.  **password**

&#x20;           i.  Update the **pwdValue** field.\
&#x20;               **Note:** the other parameters include a '`Value`' field, but the equivalent \
&#x20;               field here is called, '`pwdValue`'. The Password value will be provided \
&#x20;               by your Aisera AISE Team.

<figure><img src="/files/SrWeSAAZQgsvN9jko2c6" alt=""><figcaption></figcaption></figure>

&#x20;    c. **widgetToken**

&#x20;        i. Update the **Value** field. \
&#x20;           The widget token is available on the channel (**Channel Type: Ticket AI** \
&#x20;             **Agent Assist**) configured in the Aisera Admin UI. The pwdValue is \
&#x20;           provided by your Aisera AISE Team.

<figure><img src="/files/T3QHe4Pm8xBPzXc2c1Aa" alt=""><figcaption></figcaption></figure>

&#x20;   d. **subdomain**

&#x20;       i. This is the API Vanity URL of your tenant on the Aisera Assist \
&#x20;          Configuration page.\
\
&#x20;          Example: `https://<your_tenant>.api.aisera.cloud`

&#x20;           **Note:** the URL includes **.api** and not **.login.** The URL should not contain a \
&#x20;         trailing **/**.

&#x20;    ii. The pwdValue is provided by your Aisera AISE Team.

&#x20;   e. **eventKey**

&#x20;      i. The is the AppKey from Event Studio. Extraction of the AppKey is \
&#x20;        described under the Aisera Assist Configuration page.\
&#x20;  ii. The pwdValue is provided by your Aisera AISE Team.&#x20;

<figure><img src="/files/nZrLQpep51dWOHYVLGUk" alt=""><figcaption></figcaption></figure>

&#x20;    f. **assistantSubdomain**

&#x20;       i. This is the vanity URL associated with the Webchat bot.\
&#x20;          **Example:** https\://\<your\_tenant>.chatbot.aisera.cloud\
&#x20;          **Note:** the URL includes **.chatbot** and not **.login.**

&#x20;      ii. The URL should not contain a trailing **/**.

&#x20;      iii. The pwdValue is provide by your Aisera AISE Team.

&#x20;   g. **assistantToken**

&#x20;      i. This token is available on the Webchat channel in the Aisera Admin UI.

&#x20;     ii. The pwdValue is provide by your Aisera AISE Team.

### Validate Widget in Agent Workspace

1. Navigate to the ServiceNow Agent Workspace (If installing in the Service Operations Workspace instead, please follow the steps outlined in the next section.)

<figure><img src="/files/VfmcsrDYZUQ4j1KRo0z6" alt=""><figcaption></figcaption></figure>

2. Select an Incident.

<figure><img src="/files/Vh5zeCXt7E8oVvk3ZzMO" alt=""><figcaption></figcaption></figure>

3. The widget is rendered as contextual side panel.

<figure><img src="/files/cwFSbKRf6jOl3f4QMr43" alt=""><figcaption></figcaption></figure>

4. **Note:** The contextual side panel varies by customer. Ensure proper configuration in your contextual side panel.

<figure><img src="/files/FUMgTIZeG4eEHCAAhrnX" alt=""><figcaption></figcaption></figure>

### Enable the Agent Assist Widget within the Service Operations Workspace (SOW)&#x20;

1. Navigate to **All → UI Builder** in your ServiceNow application.

<div align="left"><figure><img src="/files/KgD7heIoM3hwxbuF9lih" alt="" width="563"><figcaption></figcaption></figure></div>

2. Open **Experiences.**

<div align="left"><figure><img src="/files/hFKrTHAQfuOHfuKGCcYs" alt="" width="563"><figcaption></figcaption></figure></div>

3. Open the **Service Operations Workspace (SOW)**.

<figure><img src="/files/nPpFXwm0kooOVEpgqoqS" alt=""><figcaption></figcaption></figure>

4. In the **Page and Variants** section look for the **SRP Record**.

<figure><img src="/files/BTnuNCbSQCEHhcRmHlbY" alt=""><figcaption></figcaption></figure>

5. Right-click the **SRP Record** and select **Duplicate variant** from the pull-down men&#x75;**.**

<figure><img src="/files/JndvNaWRns6RYgVc53VN" alt=""><figcaption></figcaption></figure>

6. Rename the **Duplicate** **SRP Record**.
7. Click the **+ Add** button to add a different audience and restrict the viewers to a specific group.

<figure><img src="/files/BXaxI11ngzkzQSstAFPe" alt=""><figcaption></figcaption></figure>

8. Update the order of the Page variants in the Aisera SRP Record Page (Note: the least order value will appear first.)

<figure><img src="/files/hgHA5tFm0JbQxGvMSh42" alt=""><figcaption></figcaption></figure>

9. Navigate to the **Tab sidebar**.

<figure><img src="/files/CmzgdcjGjN8QV6QZWpeS" alt=""><figcaption></figcaption></figure>

10. Open **Page collection controller** and click the **Edit content** button as shown in the screenshot above.
11. In Sidebar tabs top, click the **+** button next to **Pages and variants.**

<figure><img src="/files/1D6O91XLwOtaNhBPUmft" alt=""><figcaption></figcaption></figure>

12. This will bring up two options. Choose **Create a new page**.

<figure><img src="/files/mbAk23AZRsKAEGUydZwN" alt=""><figcaption></figcaption></figure>

13. Add a **Name** for your page and the **URL path**.

<figure><img src="/files/Pr1mgpTeKEpl6HORaTdE" alt=""><figcaption></figcaption></figure>

14. Add a name for your variant and click **Create**.

<figure><img src="/files/LxcYBKkejKJIWwsDiXSh" alt=""><figcaption></figcaption></figure>

15. Your variant now appears in the SOW Side Bar page.

<figure><img src="/files/REJ7N2cJ1FgOKLxMNqAp" alt=""><figcaption></figcaption></figure>

16. Click **Editor** on the variant line to add the Aisera **Ticket UI Agent Assist** channel.

<figure><img src="/files/2AlkDrC6bVMskCU1rXdV" alt=""><figcaption></figcaption></figure>

17. Choose **Add Component** in the **Variant Editor**.

<div align="left"><figure><img src="/files/qQri6fyMK1xv5iph5BKh" alt="" width="456"><figcaption></figcaption></figure></div>

18. Select **Component** and then **Aisera Ticket AI.**

<div align="left"><figure><img src="/files/aAYPjQokyitIzQmQpjCw" alt=""><figcaption></figcaption></figure></div>

19. **Save** the component.

### Verify your Agent Assist widget within the Service Operations Workspace

1. Navigate to your ServiceNow Service Operation Workspace (SOW).

<div align="left"><figure><img src="/files/mTJSBX6baOqxFSlgSlWa" alt=""><figcaption></figcaption></figure></div>

2. Open **Menu** as shown in the screenshot above.
3. Open an **Incident**.

<div align="left"><figure><img src="/files/TrY70czRCvlrbmag4zOU" alt=""><figcaption></figcaption></figure></div>

4. Verify your widget by reviewing the details.

<div align="left"><figure><img src="/files/318PhXgA4b7AibjmrgzR" alt=""><figcaption></figcaption></figure></div>

### Add the Aisera Logo

**Step-1:** Click on the **New** button to create a new image that will have Aisera Logo.

<figure><img src="/files/c0bbQHRoodVdHjeunNbs" alt=""><figcaption></figcaption></figure>

**Active:** true\
**Category:** General\
**Name:** Aisera Logo.png (if the name changes, it is ok).

<figure><img src="/files/vQvB1tJtigtA1cphE410" alt=""><figcaption></figcaption></figure>

**Step-2:** Click on the button/icon (Attachments), in the top right corner of the screen.

<figure><img src="/files/pQUxvtgXrEVnJGKpNmgw" alt=""><figcaption></figcaption></figure>

&#x20;

Once the below pop-up window shows up, click on **Choose File** to upload the Aisera Logo (Can be downloaded from [https://www.aisera.com](https://aisera.com/) or received from your Aisera Team.)

<figure><img src="/files/PSdGbCTrzIKfylv8jYxd" alt=""><figcaption></figcaption></figure>

Once uploaded successfully, then the above pop-up window will change as shown:

<figure><img src="/files/ypp1FDnx2t4uKGmoHWBU" alt=""><figcaption></figcaption></figure>

Close the pop-up window and click the **Update** button (available on the images screen).

**Step-4:** Assuming the URL was copied to clipboard, now navigate to **UX App Routes** page.

<figure><img src="/files/aQNdnL6NslFN3ABHIBdD" alt=""><figcaption></figcaption></figure>

In the icon, the url should be the url from clipboard that you copied from the above step, it will look like the example below:

`https://<servicenow-url>/nav_to.do?uri=sys_attachment.do?sys_id=2dfaABCD930166d0e10bad12345a4d58`

Convert the URL to `/sys_attachment.do sys_id=2dfaABCD930166d0e10bad12345a4d58` and paste it in the icon field as shown below.

**Step-5:** Once the icon is updated, you can verify that the incident/interaction/problem looks correct.

<figure><img src="/files/4EH0PWLbCMdXG1esuVq2" alt=""><figcaption></figcaption></figure>

#### **Steps to create a cross-scope privilege (manual steps):**

1. Login to your ServiceNow instance.
2. Navigate to the **Application Cross-Scope Access** page. (**All → Application Cross-Scope Access**)

<div align="left"><figure><img src="/files/dZnS2r1Ksa2i9xJISX3i" alt="" width="375"><figcaption></figcaption></figure></div>

<figure><img src="https://media-cdn.atlassian.com/file/e4456db1-c5a0-4f6c-ad9b-852b04736277/image/cdn?allowAnimated=true&#x26;client=1f137998-4ec4-42f9-bd72-5c7a8ba56af1&#x26;collection=&#x26;height=125&#x26;max-age=2592000&#x26;mode=full-fit&#x26;source=mediaCard&#x26;token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxZjEzNzk5OC00ZWM0LTQyZjktYmQ3Mi01YzdhOGJhNTZhZjEiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmU0NDU2ZGIxLWM1YTAtNGY2Yy1hZDliLTg1MmIwNDczNjI3NyI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZToxMjIwNzBmOC02MDUzLTQ1OTUtOTc2OS1kNDViODcxNmE3OGMiOlsicmVhZCJdLCJ1cm46ZmlsZXN0b3JlOmZpbGU6OGViNTdhNWYtZjFhZC00NTI5LTg2YmMtNjRhNzZhNGQyNDY4IjpbInJlYWQiXSwidXJuOmZpbGVzdG9yZTpmaWxlOjkyNjllY2UzLTYxNTEtNDc2My1hYTcxLTc5MWU0OGEzNjExZSI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZTowZTJmNzZhMS0xYmI3LTQ3MGMtYmU3My0wMDc4MDc5N2VmYzEiOlsicmVhZCJdfSwiZXhwIjoxNzczMzUyNjI2LCJuYmYiOjE3NzMzNTE3MjYsImFhSWQiOiI3MTIwMjA6OWVkMDM0ZTUtMGY4Ny00OTc4LWIzZTMtYjQzZDRhMzFkMTg4IiwiaHR0cHM6Ly9pZC5hdGxhc3NpYW4uY29tL2FwcEFjY3JlZGl0ZWQiOmZhbHNlfQ.MALcpTdtQxCRIOpbBkR9x6LU7GNGUtmmPVaG2ogiNhQ&#x26;width=1080" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that the UI changes at this point to read, **Agent Assist**.
{% endhint %}

3. Filter the **Agent Assist** cross scope privileges. **Choose -> Source Scope = Agent Assist**.

<figure><img src="/files/Hea6rPjUZ68dDuknk5qw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://media-cdn.atlassian.com/file/0e2f76a1-1bb7-470c-be73-00780797efc1/image/cdn?allowAnimated=true&#x26;client=1f137998-4ec4-42f9-bd72-5c7a8ba56af1&#x26;collection=&#x26;height=125&#x26;max-age=2592000&#x26;mode=full-fit&#x26;source=mediaCard&#x26;token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxZjEzNzk5OC00ZWM0LTQyZjktYmQ3Mi01YzdhOGJhNTZhZjEiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmU0NDU2ZGIxLWM1YTAtNGY2Yy1hZDliLTg1MmIwNDczNjI3NyI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZToxMjIwNzBmOC02MDUzLTQ1OTUtOTc2OS1kNDViODcxNmE3OGMiOlsicmVhZCJdLCJ1cm46ZmlsZXN0b3JlOmZpbGU6OGViNTdhNWYtZjFhZC00NTI5LTg2YmMtNjRhNzZhNGQyNDY4IjpbInJlYWQiXSwidXJuOmZpbGVzdG9yZTpmaWxlOjkyNjllY2UzLTYxNTEtNDc2My1hYTcxLTc5MWU0OGEzNjExZSI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZTowZTJmNzZhMS0xYmI3LTQ3MGMtYmU3My0wMDc4MDc5N2VmYzEiOlsicmVhZCJdfSwiZXhwIjoxNzczMzUyNjI2LCJuYmYiOjE3NzMzNTE3MjYsImFhSWQiOiI3MTIwMjA6OWVkMDM0ZTUtMGY4Ny00OTc4LWIzZTMtYjQzZDRhMzFkMTg4IiwiaHR0cHM6Ly9pZC5hdGxhc3NpYW4uY29tL2FwcEFjY3JlZGl0ZWQiOmZhbHNlfQ.MALcpTdtQxCRIOpbBkR9x6LU7GNGUtmmPVaG2ogiNhQ&#x26;width=1080" alt=""><figcaption></figcaption></figure>

4. Choose **Cross scope privileges -> Source Scope = Agent Assist**.

<figure><img src="/files/64QBHsYeWEKXPxNmLjgE" alt=""><figcaption></figcaption></figure>

<figure><img src="https://media-cdn.atlassian.com/file/8eb57a5f-f1ad-4529-86bc-64a76a4d2468/image/cdn?allowAnimated=true&#x26;client=1f137998-4ec4-42f9-bd72-5c7a8ba56af1&#x26;collection=&#x26;height=125&#x26;max-age=2592000&#x26;mode=full-fit&#x26;source=mediaCard&#x26;token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxZjEzNzk5OC00ZWM0LTQyZjktYmQ3Mi01YzdhOGJhNTZhZjEiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmU0NDU2ZGIxLWM1YTAtNGY2Yy1hZDliLTg1MmIwNDczNjI3NyI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZToxMjIwNzBmOC02MDUzLTQ1OTUtOTc2OS1kNDViODcxNmE3OGMiOlsicmVhZCJdLCJ1cm46ZmlsZXN0b3JlOmZpbGU6OGViNTdhNWYtZjFhZC00NTI5LTg2YmMtNjRhNzZhNGQyNDY4IjpbInJlYWQiXSwidXJuOmZpbGVzdG9yZTpmaWxlOjkyNjllY2UzLTYxNTEtNDc2My1hYTcxLTc5MWU0OGEzNjExZSI6WyJyZWFkIl0sInVybjpmaWxlc3RvcmU6ZmlsZTowZTJmNzZhMS0xYmI3LTQ3MGMtYmU3My0wMDc4MDc5N2VmYzEiOlsicmVhZCJdfSwiZXhwIjoxNzczMzUyNjI2LCJuYmYiOjE3NzMzNTE3MjYsImFhSWQiOiI3MTIwMjA6OWVkMDM0ZTUtMGY4Ny00OTc4LWIzZTMtYjQzZDRhMzFkMTg4IiwiaHR0cHM6Ly9pZC5hdGxhc3NpYW4uY29tL2FwcEFjY3JlZGl0ZWQiOmZhbHNlfQ.MALcpTdtQxCRIOpbBkR9x6LU7GNGUtmmPVaG2ogiNhQ&#x26;width=1080" alt=""><figcaption></figcaption></figure>

5. Create a new cross-scope privilege. **Click → New** fill in the details as shown below and submit.\
   \
   Target Name : **ScriptableRESTMessageClient.execute**

<figure><img src="/files/2ZgahAk5tyNLYnJFSJ50" alt=""><figcaption></figcaption></figure>

See also: [**ServiceNow Widget Configuration**](https://docs.aisera.com/agent-assist/adding-the-ticket-ai-agent-assist-channel/agent-assist-widget-configuration/servicenow-widget).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisera.com/agent-assist/how-to-setup-agent-assist/integrating-agent-aisera-assist-within-servicenows-service-operations-workspace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
