Traceable's integration with ServiceNow CMDB allows you to import API-related metadata from the Traceable platform into your ServiceNow environment using the Service Graph Connector. This enables your organization to treat APIs as assets in the CMDB, visualize API relationships, and maintain an up-to-date inventory of API components, deployments, and services in your asset management workflows.
The integration is packaged as a Service Graph Connector application, which can be installed from the ServiceNow Store. Once installed and configured, the application pulls data from Traceable and maps it into CMDB tables on a scheduled basis.
The current version of the connector is certified for the Xanadu release of ServiceNow (version 10.x patch 4 and above).
What you will learn
In this topic, you will learn how to:
Understand the CMDB tables used for API data from Traceable
Install and configure the Service Graph Connector application
Set up connection credentials and data mappings
Define an import schedule for syncing API metadata
View API-related records and relationships within ServiceNow CMDB
Before you begin
Before setting up the integration, ensure the following prerequisites are in place:
A valid ServiceNow instance running Xanadu (version 10.x patch 4 and above).
Access to IntegrationHub ETL and Service Graph Connector capabilities.
Admin-level permissions in ServiceNow.
Access to your Traceable API token and Traceable platform URL.
Access to the Traceable Service Graph Connector application — Traceable Service Graph Connector on the ServiceNow Store.
Supported CMDB tables and Field Mappings
Traceable maps API metadata into the following ServiceNow CMDB tables:
CMDB Table | Description |
---|---|
| Represents individual API components. Each row corresponds to a combination of API name, domain, and environment. |
| Represents API entities, including HTTP method, discovery timestamps, and other metadata. |
| Captures deployment-level information such as protocol type, base URL, and start time. |
Example Field Mappings
API Component Table
CMDB Column | Traceable Field | Sample Value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
API Table
CMDB Column | Traceable Field | Sample Value |
---|---|---|
|
|
|
|
|
|
| — |
|
|
|
|
|
|
|
|
|
|
API Deployment Table
CMDB Column | Traceable Field | Sample Value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note
Traceable flattens multi-valued fields (such as domains or environments) to construct unique identifiers like
domain, environment, entityId
to handle cases where APIs share the same name across domains.
Integration steps
To complete the integration between Traceable and your ServiceNow CMDB, you will perform three main tasks:
Configure the connection and credentials to allow ServiceNow to connect to the Traceable platform.
Set up field mappings to ensure API data from Traceable is correctly aligned with CMDB tables.
Define an import schedule to sync API metadata into ServiceNow periodically.
Follow the steps below to complete the configuration:
Step 1 — Configure connection and credentials
In ServiceNow, go to All → Credentials.
Create a new credential of type API Key:
Name:
Traceable API Key
API Key:
<your_traceable_api_key>
Navigate to the Traceable Integration Setup page.
Add a new connection:
Connection name:
TraceableConnection
Base URL:
https://api.traceable.ai/graphql
(replace with your cluster URL if different)Timeout (in milliseconds):
5000
Credentials alias:
Traceable API Key
Save the connection settings.
Step 2 — Configure Field Mapping
Traceable provides a default mapping configuration, which can be edited using IntegrationHub ETL.
Open the IntegrationHub ETL configuration for Traceable.
Ensure Sample Import Set is set to
Auto
to pull sample data.In Prepare and Preview Data, optionally transform fields and preview the import set.
Use Map Data to CMDB and Add Relationships to:
Define relationships between API, API Component, and API Deployment tables
Add custom mappings to other internal CMDB tables if needed
Save the configuration.
Note
Some fields are required based on ServiceNow's identification rules. These are auto-configured by default. If you modify mappings manually, ensure that primary keys (like
id
orname
) are set correctly.
Step 3 — Configure import schedule
Navigate to the import schedule settings for the Traceable connector.
Review and modify the provided default schedule to match your data refresh interval.
Save the schedule to activate automated imports.
Viewing imported data
Once the integration is configured and the scheduled import runs successfully, the API metadata from Traceable will be visible in your ServiceNow CMDB. You can explore the imported records in the following tables:
API Component Table (
cmdb_ci_api_component
) — View components by domain, API name, and environment.API Table (
cmdb_ci_api
) — View API methods, discovery timestamps, and other metadata.API Deployment Table (
api_deployment
) — View deployment-level details including protocol type and timestamps.
You can also view imported APIs and their relationships in the CMDB 360° View Dashboard, if enabled.
Note
Repeated imports are idempotent, existing entries are updated and not duplicated.
Metrics and monitoring
Traceable adds a custom header to identify integration traffic:
User-Agent: servicenow-cmdb
This allows Traceable to:
Monitor and track usage of the CMDB connector
Identify which customer instance is sending the request
Troubleshoot rate limiting or payload-related issues
Note
Data is fetched using paginated GraphQL queries, with batching of up to 1000 APIs per request. This ensures scalability for large API inventories.
Troubleshooting
If the import encounters invalid or missing fields:
Errors are logged in the ServiceNow application logs (no alert is automatically triggered).
Review the logs within ServiceNow to identify the issue.
If the problem is due to mapping changes, revert or correct the mapping configuration.
If the error is on the Traceable platform side, contact Traceable Support.
Additional notes
API metadata includes additional fields beyond those mapped by default. You may customize mappings within IntegrationHub ETL to include more fields if required.
If Traceable introduces new API metadata fields in the future, a new version of the connector will be released with updated mapping templates.