AI Service Graph connector for LangGraph
The AI Service Graph Connector for LangGraph enables you to discover and import AI assets from your LangGraph environment into ServiceNow AI Control Tower.
The connector integrates with the LangSmith API 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 LangGraph application.
Supported ServiceNow versions
| Release | Status |
|---|---|
| Australia | Supported |
| Zurich | 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.
LangGraph Prerequisites
Before creating a connection, generate an API key in your LangGraph instance. Refer to the Create an account and API key with LangGraph documentation to learning about creating an API Key in LangGraph.
Note: To access the latest and most comprehensive guidelines for managing API keys, see About LangGraph
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 LangGraph project.
| Data Source | Import Set Table | Target Table\(s\) |
| SG-LangGraph Agents | sn\_langgraph\_integ\_agents | alm\_ai\_system\_digital\_asset alm\_ai\_prompt\_digital\_asset cmdb\_ci\_function\_ai |
| SG-LangGraph Usage | sn\_langgraph\_integ\_usage | alm\_ai\_model\_digital\_asset sn\_ai\_disc\_ai\_usage |