Configuring AI Agent for ServiceNow
After you install Tanium AI Agent for ServiceNow, perform the following configuration tasks:
- Add endpoints to your ServiceNow instance.
- Collect information for Tanium SDK system properties.
- Configure Tanium SDK.
- Create a ServiceNow persona.
- Enable the Now Assist panel.
- Activate Now Assist skills for ITSM.
- Index sources.
The UI for your ServiceNow instance provides guided setups to configure the Tanium Software Development Kit (SDK) application, the Tanium AI Agent for ServiceNow application, and a ServiceNow persona. In each guided setup, a navigation pane shows your progress through the setup as a percentage and shows a circle for each section. A check mark in the circle indicates you completed the section. Hover over a circle to see the section name. Click a circle to go to the section.
Add endpoints to your ServiceNow instance
Use the ServiceNow Service Graph Connector for Tanium or use Tanium Asset to add endpoints as configuration items (CIs) to your ServiceNow instance. The endpoints that you add must match the endpoints in your Tanium environment. The endpoints must be present in the instance before you can perform any patching operations.
Collect information for Tanium SDK system properties
Perform the following tasks before you configure system properties for Tanium SDK.
Determine the URLs for API Endpoints
Find the fully qualified domain name (FQDN) of your Tanium Cloud client to determine the URLs for the following API endpoints:
-
Tanium API endpoint
The API endpoint URL is the URL of Tanium Cloud but with /api/v2 appended to the end. For Tanium Cloud, you must also append ‑api to the end of the subdomain. For example, if the FQDN is cloud‑example.cloud.tanium.com, the endpoint URL is https://cloud‑example‑api.cloud.tanium.com/api/v2.
-
Tanium module API endpoint
The API endpoint URL is the URL of Tanium Cloud but with /plugin/products appended to the end. For Tanium Cloud, you must also append -api to the end of the subdomain. For example, if the FQDN is cloud‑example.cloud.tanium.com, the endpoint URL is https://cloud‑example‑api.cloud.tanium.com/plugin/products.
For information about obtaining a client edge URL for your Tanium Cloud service instance, see View information and manage the maintenance windows and notifications.
Determine the API token value
Access the file where you stored the API token for the Tanium AI Agent for ServiceNow integration. For more information, see Creating API tokens.
Determine the MID server name
Record the name (not the ServiceNow sys_id) of the management, instrumentation, and discovery (MID) server if your ServiceNow instance uses such a server to connect to your Tanium environment. For more information about MID servers, see Infrastructure.
- Sign in to your ServiceNow instance.
- In the Main menu, click All, enter mid servers in the filter
field, and click MID Servers.
Determine the action group ID
Perform the steps in View action groups to view the ID of the Default - All Computers action group and then record the ID.
Configure Tanium SDK
Configure Tanium SDK to enable your ServiceNow instance to connect with your Tanium environment. Certain SDK system properties that you configure affect the behavior of the Tanium AI Agent for ServiceNow.
Access the SDK guided setup
Set system properties
Perform the following steps on the Tanium Integration Core Setup page. To access the page, see Access the SDK guided setup.
Run automated tests
Perform the following steps to validate that you configured Tanium SDK successfully and that your ServiceNow instance can communicate with your Tanium environment. The tests use the ServiceNow Automated Test Framework (ATF) to test authentication and integration with the Tanium Gateway shared service and to verify that you have configured the required system properties. The tests detect issues such as a Tanium Cloud URI that is not valid or accessible, non-working credentials, a misconfigured MID server, RBAC permissions issues in the Tanium or ServiceNow environment, and access control list (ACL) permissions issues in the ServiceNow environment.
Create a ServiceNow persona
Modify the new persona to use a specific API key and Tanium Server
Enable the Now Assist panel
If the NowAssist panel is not turned on after activating it, the admin needs to click CLI Console (https://<instance-name>.service-now.com/now/conversation/settings/assistants), and complete the guided setup of the Now Assist panel default profile.
Activate Now Assist skills for ITSM
Activate the following Now Assist skills for ITSM:
-
Ask Tanium a Question
-
Recommend a Tanium Action
Index sources
-
Sign in to your ServiceNow instance.
Note: If you are already signed in to the instance and just finished installing applications (such as Tanium SDK), perform a hard refresh of your current browser tab to show the new applications in the instance UI. -
Click Admin to display the admin menu.
Figure 11. Admin Menu -
Enter AI Search and select AI Search Admin Home from the Admin Results.
Figure 12. Admin Ai Search -
Click Shared Configurations.
Figure 13. Admin Shared Configurations -
Click Indexed sources.
Figure 14. Admin Indexed Sources -
Click Configured Action Table.
Figure 15. Admin Configured Action Table -
Click Start Index Job.
-
Select Full Index and click Start.
Figure 16. Admin Start Index Job -
Wait for the Keyword Ingestion State to change to Indexed.