AI Service Graph Connector for Salesforce
Summarize
Summary of AI Service Graph Connector for Salesforce
The AI Service Graph Connector for Salesforce enables ServiceNow customers to integrate their Salesforce AI assets into the ServiceNow AI Control Tower. This integration allows discovery and import of AI systems, agents, models, and prompts from Salesforce, providing detailed visibility and governance over AI operations through the AI Control Tower value dashboard. The connector supports automatic collection and population of usage data to enhance AI management.
Show less
Supported Versions and Roles
- The connector supports ServiceNow releases Australia, Zurich, and Yokohama patch 11.
- Required user roles for setup and operation are snaidisc.discoveryadmin and sncmdbintutil.sgcadmin.
ServiceNow Prerequisites and Setup
To configure the connector, certain prerequisite steps must be completed once per instance:
- Update Data Source Access: Enable write permissions on the Data Source table by selecting the “Can create,” “Can update,” and “Can delete” checkboxes under Application Access in the Global scope.
- Clear Cache: Clear cached data related to Data Source and Tables by running a provided script from System Definition > Background Scripts. This process may take several minutes.
After these steps, switch to the connector’s application scope to continue configuration.
Data Mapping Details
The connector maps AI asset data from Salesforce staging tables to corresponding ServiceNow target tables to ensure accurate import and synchronization. Key mappings include:
- AI Agents: Mapped from almaisystemdigitalasset to the Model table (cmdbaisystemcomponentproductmodel), capturing fields like Model ID, Agent ID, Version, Status, Quantity, Vendor, Company, Source System, and Asset Type.
- AI Models: Mapped from almaimodeldigitalasset to the Model table (cmdbaimodelproductmodel), including Asset Type, Foundation Model ID, Model, Status, External Reference ID, Vendor, and Quantity.
- AI Tools: Mapped through subcomponent reference tables (snentaitool and snentaisystemsubcomponentm2m) to AI system/model tables, capturing Description, Type, Source Information, Name, and Table Name.
- AI Prompts: Mapped from almaipromptdigitalasset to the Model table (cmdbaipromptproductmodel), including Model Name, Description, Table Name, and ID.
- AI Agents Usage: Mapped from snaidiscaiusage to AI system/model tables, recording User, Time, Parent ID (Session ID), Total Invocations, and Conversion Definition ID.
Practical Benefits
Implementing the AI Service Graph Connector for Salesforce allows ServiceNow customers to:
- Centralize discovery and governance of AI assets originating from Salesforce environments.
- Automatically collect usage metrics to inform AI operational insights via the AI Control Tower dashboard.
- Maintain accurate and up-to-date AI asset inventories across systems with mapped data fields ensuring consistency.
This connector streamlines AI asset management, improves visibility, and supports compliance and operational efficiency for organizations leveraging AI within Salesforce integrated with ServiceNow.
The AI Service Graph Connector for Salesforce enables you to discover and import AI assets from your Salesforce environment into ServiceNow AI Control Tower.
The connector integrates with your Salesforce 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 Salesforce application.
Supported ServiceNow versions
This connector is supported on the following ServiceNow releases:
| Release | Status |
|---|---|
| Australia | Supported |
| Zurich | Supported |
| Yokohama patch 11 | 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.
The connector requires write permissions to the Data Source table to create data sources.
- Select Global from the application picker
- Navigate to Application Access
- Select the Can create, Can update, and Can delete checkboxes.
- Select Update
- Switch to the connector application scope
Clear the cached data for the Data Source and Tables.
- 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
Data Mapping
AI Agents: alm_ai_system_digital_asset -> Model table (cmdb_ai_system_component_product_model)
| Required Fields | ServiceNow (Target) | Salesforce (Staging) |
| Model ID | Model | model_id |
| Agent ID | Product instance identifier | agent_id |
| Version | External record reference | version_id |
| Status | State (install_status) | u_status |
| Quantity | Quantity | quantity |
| Vendor | Vendor | u_vendor |
| Company | Company | cleansed_manufacturer_ref |
| Source System | Source System | vendor |
| Asset Type | Model Category | asset_type |
AI Models: alm_ai_model_digital_asset -> Model table (cmdb_ai_model_product_model)
| Required Fields | ServiceNow (Target) | Salesforce (Staging) |
| Asset Type | Model category | asset_type |
| Foundation Model ID | Base model | foundation_model_identifier |
| Model | Model | base_model |
| Status | State (install_status) | u_status |
| External Reference ID | External record reference | id |
| Vendor | Vendor | cleansed_vendor_ref |
| Quantity | Quantity | quantity |
AI Tools: AI subcomponent reference table (sn_ent_ai_tool) -> sn_ent_ai_system_subcomponent_m2m-> AI system/Model table (alm_ai_system_digital_asset)
| Required Fields | ServiceNow (Target) | Salesforce (Staging) |
| Description | Description | description |
| Type | Type | type |
| Source Information | Source information | source |
| Name | Name | developername |
| Table Name | Target document table | tablename |
AI Prompts: alm_ai_prompt_digital_asset -> Model table (cmdb_ai_prompt_product_model)
| Required Fields | ServiceNow (Target) | Salesforce (Staging) |
| Model Name | Model | model |
| Description | Prompt information | description |
| Table Name | ServiceNow table | table_name |
| ID | External record reference | id |
AI Agents Usage: sn_ai_disc_ai_usage -> AI system/Model table (alm_ai_system_digital_asset)
| Required Fields | ServiceNow (Target) | Salesforce (Staging) |
| User | User | user |
| Time | Time | timestamp |
| Parent ID | Session ID | parentid |
| Total Invocations | Count | totalinvocations |
| Conversion Definition ID | AI system | conversationdefinitionid |