Configure ServiceNow UD for AI agent imports
To import AI agents from ServiceNow UD, you need to enable the client credentials property in your ServiceNow UD tenant. Then you need to create a service account and an application registry.
After you've completed these configurations, follow the steps in Enable AI agent imports for an app.
Enable the client credentials property
This property is disabled by default. Create a system property to enable it.
- Sign in to your ServiceNow UD tenant.
- In the Filter navigator, enter sys_properties.list.
- Click New. The System Properties page opens.
- Enter the following information:
- Name: Enter glide.oauth.inbound.client.credential.grant_type.enabled.
- Type: Select True | False.
- Value: Enter true.
- Click Submit.
Create a service account
Use a non-interactive service account for the integration.
- In your ServiceNow UD tenant, go to .
- Click New.
- Enter a User ID (for example, api_ai_agent_user).
- Select the Internal Integration User checkbox. This prevents the user from signing in through the UI.
- Click Save.
- Go to the Roles tab and click Edit.
- Add the following roles:
- sn_aia.admin: Allows the user to read tables in ServiceNow AI Agent Studio.
- web_service_admin: Allows the user to access REST APIs.
Set up the application registry
- In your ServiceNow UD tenant, go to .
- Click New.
- Enter a name for the registry.
- Ensure that the Default Grant Type and OAuth Application User fields are visible. If they aren't, then perform these steps:
- Click Additional Actions and select .
- Move Default Grant Type and OAuth Application User from the Available column to the Selected column.
- Click Save.
- Set the Default Grant Type to Client Credentials.
- Set the OAuth Application User to the user that you created in the previous section.
- Click Update.
- Copy the Client ID and Client Secret and store them safely.
