Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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:

ReleaseStatus
AustraliaSupported
ZurichSupported
YokohamaSupported

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:

  1. Select Global from the application picker.
  2. Navigate to Application Access.
  3. Select the Can create, Can update, and Can delete check boxes.
  4. Select Update.
  5. Switch to the connector application scope.

Clear cache

Clear the cached data for the Data Source and Tables.

To clear the cache:

  1. Navigate to System Definition > Background Scripts
  2. 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');
    
  3. Select Run Script.

    Note: The script may take several minutes to complete.

  4. 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:

  1. Scenario 1- Management Account: The ServiceNow IAM user is created directly in the AWS Org/Management account
  2. 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
  3. 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.

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 SourceStaging TableTarget Table
SGawsBedrockAIAssetDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_assetsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_system \(routes to other staging tables\)
SGawsBedrockAISystemDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_systemalm\_ai\_system\_digital\_asset
SGawsBedrockAIModelDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_modelalm\_ai\_model\_digital\_asset
SGawsBedrockAIToolDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_toolsn\_ent\_ai\_tool
SGawsBedrockAIPromptDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_promptalm\_ai\_prompt\_digital\_asset
SGawsBedrockAISbcompM2mDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_sbcomp\_m2msn\_ent\_ai\_system\_subcomponent\_m2m
SGawsBedrockAIUsageDSUtilSNCsn\_ai\_disc\_aws\_sgc\_bedrock\_ai\_usagesn\_ai\_disc\_ai\_usage
SGAgentCoreDataSourceUtil \(importAgentRuntimesByID\)sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_systemalm\_ai\_system\_digital\_asset
SGAgentCoreDataSourceUtil \(importCodeInterpretersByID, importBrowsersByID, importTargetsByID\)sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_toolsn\_ent\_ai\_tool
SGAgentCoreDataSourceUtil \(getAWSAgentCoreUsage\)sn\_ai\_disc\_aws\_sgc\_agentcore\_ai\_usagesn\_ai\_disc\_ai\_usage
SGSageMakerAIModelDSUtilSNCsn\_ai\_disc\_aws\_sgc\_sg\_awssagemaker\_modelalm\_ai\_model\_digital\_asset
SGSageMakerModelCardDSUtilSNCsn\_ai\_disc\_aws\_sgc\_sg\_awssagemaker\_modelalm\_ai\_model\_digital\_asset