AI Service Graph Connector for OpenAI
The AI Service Graph Connector for OpenAI enables you to discover and import AI models and track model usage from your OpenAI environment into ServiceNow AI Control Tower.
Download apps from the Store
Visit the ServiceNow store website to download the AI Service Graph Connector for OpenAI application.
Supported ServiceNow versions
This connector is supported on the following ServiceNow releases:
| 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
OpenAI Prerequisites
Before proceeding, ensure you have:
- OpenAI Account
- Credentials:
- OpenAI Standard API key- Required for AI Models information. Unique to each projects created in Open AI.
- OpenAI Admin API key- Required for AI models usage
For OpenAI Setup documentation, see OpenAI resources and use these OpenAI resources to setup credentials.