---
schema_version: "1"
id: be943ed1736b5e6848ed252665e6bd0d131d01f6e134640c8b0510bf502c4165
title: Adding a Scanner for ServiceNow AI Agents
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/exchange/adding-servicenow-scanner.md
canonical_url: https://docs.mulesoft.com/exchange/adding-servicenow-scanner
source_site: docs.mulesoft.com
content_type: documentation
content_hash: d27447aa588800cc3175b398ae868e3341414dcd6057fabe20b3faf3889a19c2
description: MuleSoft Documentation Site
latest: true
---
---
product: Exchange
---

# Adding a Scanner for ServiceNow AI Agents

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Add a scanner to discover, import, and sync agents from ServiceNow AI Agents into Exchange. Then you
can govern the agents and consume them in other applications.

The scanner imports only native ServiceNow AI Agent Studio agents. Agents registered in ServiceNow
from external systems are not imported.

## Before You Begin

Before adding the scanner, verify that you have these prerequisites:

- Exchange Administrator permission

- AI Asset Governance enabled and synced on your ServiceNow instance

- A ServiceNow Table API integration user with read access to the `alm_ai_*` tables

- An Application Registry entry in ServiceNow, which generates the OAuth client ID and client secret
  pair that the scanner uses to authenticate

  The scanner authenticates to ServiceNow by using the OAuth 2.0 client credentials grant. You enter
  the instance URL, client ID, and client secret when configuring the scanner in Exchange. To create
  an Application Registry entry and obtain the client ID and client secret, see the ServiceNow
  documentation.

> [!NOTE] If AI Asset Governance is not enabled and synced on your ServiceNow instance, the scanner
> returns zero agents even when agents exist. Verify that AI Asset Governance is enabled and synced
> before you run the scanner.

## Add a Scanner for ServiceNow AI Agents

1.  Verify that you are in the business group where you want to add the scanner.

2.  From the sidebar in Exchange, click **Scanners**.

3.  Enter a name for the scanner.

4.  From **Scanner Run Configuration**, complete these fields or options:

    <table><colgroup><col> <col></colgroup><thead><tr><th><strong>Field/Option</strong></th><th><strong>Value</strong></th></tr></thead><tbody><tr><td><p><strong>Run Schedule</strong></p></td><td><p>Select a frequency and time.</p></td></tr><tr><td><p><strong>Sync Review</strong></p></td><td><p>Select an option: <strong>Ask to review</strong> or <strong>Auto-resolve</strong>.</p></td></tr></tbody></table>

5.  From **Connection Configuration**, complete these fields:

    <table><colgroup><col> <col></colgroup><thead><tr><th><strong>Field</strong></th><th><strong>Value</strong></th></tr></thead><tbody><tr><td><p><strong>Provider</strong></p></td><td><p>Select <strong>ServiceNow</strong>.</p></td></tr><tr><td><p><strong>Platform</strong></p></td><td><p>Select <strong>ServiceNow AI Agents</strong>.</p></td></tr><tr><td><p><strong>Service Type</strong></p></td><td><p><strong>Agents</strong> selected by default.</p></td></tr><tr><td><p><strong>Authentication Method</strong></p></td><td><p><strong>OAuth</strong> selected by default.</p></td></tr><tr><td><p><strong>Instance URL</strong></p></td><td><p>Enter the ServiceNow instance URL, for example, <code><a href="https://&lt;instance&gt;.service-now.com">https://&lt;instance&gt;.service-now.com</a></code>.</p></td></tr><tr><td><p><strong>Client ID</strong></p></td><td><p>Enter the OAuth client ID.</p></td></tr><tr><td><p><strong>Client Secret</strong></p></td><td><p>Enter the OAuth client secret.</p></td></tr></tbody></table>

6.  Click **Test Connection**.

    If the connection fails, review the **Connection Configuration** settings. Update the settings,
    and then test the connection again.

7.  To send email notifications:

    1.  Select **Advanced Settings** and turn on **Send Email Notifications**.

    2.  Enter an email address.

8.  Click **Add Scanner**.

## See Also

- [ServiceNow Scanners](https://docs.mulesoft.com/exchange/servicenow-scanners)

- [Discovering and Cataloging External Services with Scanners](https://docs.mulesoft.com/exchange/discovering-and-importing-external-agents)

- [Managing Scanners In Exchange](https://docs.mulesoft.com/exchange/managing-scanners)
