AI Service Graph Connector for Amazon
The AI Service Graph Connector for Amazon enables you to discover and import AI assets from your AWS environment into ServiceNow AI Control Tower.
The connector integrates with your AWS account to catalog AI systems, agents, models, and prompts. Usage data is automatically collected and populated into the AI Control Tower value dashboard, providing comprehensive visibility and governance of your AI operations.
Download apps from the Store
Visit the ServiceNow store website to download the AI Service Graph Connector for Amazon application.
Supported ServiceNow versions
This connector is supported on the following ServiceNow releases:
| Release | Status |
|---|---|
| Australia | Supported |
| Zurich | Supported |
| Yokohama | Supported |
User Roles
You must have one of the following roles assigned.
| Required Roles |
|---|
| sn_ai_disc.discovery_admin |
| sn_cmdb_int_util.sgc_admin |
ServiceNow Prerequisites
Complete the following setup steps once when configuring the connector for the first time.
Note: Updating data source access and clear cache is a prerequisite that needs to be completed only once, when setting up a new instance for the first time.
Update Data Source Access
The connector requires write permissions to the Data Source table to create data sources.
To enable data source creation:
- Select Global from the application picker.
- Navigate to Application Access.
- Select the Can create, Can update, and Can delete check boxes.
- Select Update.
- Switch to the connector application scope.
Clear cache
Clear the cached data for the Data Source and Tables.
To clear the cache:
- Navigate to System Definition > Background Scripts
Paste the following script into the Run Script text box:
GlideTableManager.invalidateTable('sys_data_source'); GlideCacheManager.flushTable('sys_data_source'); GlideTableManager.invalidateTable('sys_db_object'); GlideCacheManager.flushTable('sys_db_object');Select Run Script.
Note: The script may take several minutes to complete.
After completion, switch to the connector application scope.
AWS Prerequisites
Role required: IAM user
Before proceeding, confirm you have:
- AWS Account- Active AWS account with access to the services you want to connect
- IAM Credentials: AWS Access Key ID and Secret Access Key with read permissions for the services you plan to migrate
- Service Access- API access enabled for Amazon Bedrock, Amazon SageMaker, Amazon CloudWatch, and Amazon Bedrock AgentCore
Choose Your Deployment Scenario
Determine how your ServiceNow IAM user will b setup in AWS:
- Scenario 1- Management Account: The ServiceNow IAM user is created directly in the AWS Org/Management account
- Scenario 2- Delegated Member Account: The ServiceNow IAM user is created in a dedicated member account, with a cross-account role in the Management account for Organizational-level access
- Standalone Mode: Available in both scenarios. Use this to test discovery against a single AWS account before rolling out to the full organization.
CloudFormation Templates
Deploy the following AWS CloudFormation templates based on your chosen scenario:
- ServiceNowAictUser.yml- Required in all scenarios. Deploy in the account where the ServiceNow IAM user will reside
- Management account for Scenario 1
- Designated account for Scenario 2
- SgcAictReadOnlyAccessRole.yml- Required in all scenarios. Deploy across all member accounts via StackSet for Organization-wide discovery, or in a single target account for Standalone Mode
- SgcAictReadOnlyOrgAccessRole.yml- Required only for Scenario 2. Deploy in the Org/Management account to grant the Designated account cross-account Organization read access
Required IAM permissions
The IAM roles created by the templates above grant read-only access to the following services:
- Amazon Bedrock
- Amazon SageMaker
- Amazon CloudWatch Logs
- Amazon Bedrock AgentCore
- AWS Organizations
- Amazon EC2
Pre-Deployment Checklist
Before deploying any templates, confirm the following:
You have AWS CloudFormation Stack and StackSet deployment permissions in the relevant accounts.
Target member accounts have Amazon Bedrock, SageMaker, and/or AgentCore enabled- accounts without these services will return 403 errors during discovery.
If using Standalone Mode, confirm the target account ID where SgAictReadOnlyAccessRole.yml will be deployed.
If using StackSet deployment, confirm that Automatic Deployment is enabled so newly created accounts are covered automatically.
The default role name across all templates is SgAictReadOnlyAccessRole. If your organization requires a different naming convention, update it consistently across all templates and in the ServiceNow connector configuration before deployment.
AWS Setup documentation
Use these AWS resources to set up credentials and enable services.
- AWS IAM- Managing Access Keys
- Amazon Bedrock- Setting Up
- Amazon Bedrock Agents- Setup Guide
- Amazon CloudWatch- Setup Guide
- Amazon SageMaker- Get Started
Data Mapping
The following table lists the data sources, the staging tables, and the target tables CMDB CI classes and non-CMDB classes where data is stored for a AWS project.
| Data Source | Staging Table | Target Table |
| SGawsBedrockAIAssetDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_asset | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_system \(routes to other staging tables\) |
| SGawsBedrockAISystemDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_system | alm\_ai\_system\_digital\_asset |
| SGawsBedrockAIModelDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_model | alm\_ai\_model\_digital\_asset |
| SGawsBedrockAIToolDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_tool | sn\_ent\_ai\_tool |
| SGawsBedrockAIPromptDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_prompt | alm\_ai\_prompt\_digital\_asset |
| SGawsBedrockAISbcompM2mDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_sbcomp\_m2m | sn\_ent\_ai\_system\_subcomponent\_m2m |
| SGawsBedrockAIUsageDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_usage | sn\_ai\_disc\_ai\_usage |
| SGAgentCoreDataSourceUtil \(importAgentRuntimesByID\) | sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_system | alm\_ai\_system\_digital\_asset |
| SGAgentCoreDataSourceUtil \(importCodeInterpretersByID, importBrowsersByID, importTargetsByID\) | sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_tool | sn\_ent\_ai\_tool |
| SGAgentCoreDataSourceUtil \(getAWSAgentCoreUsage\) | sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_usage | sn\_ai\_disc\_ai\_usage |
| SGSageMakerAIModelDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_sg\_awssagemaker\_model | alm\_ai\_model\_digital\_asset |
| SGSageMakerModelCardDSUtilSNC | sn\_ai\_disc\_aws\_sgc\_sg\_awssagemaker\_model | alm\_ai\_model\_digital\_asset |