ServiceNow CMDB Integration
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_ci_api_component
Represents individual API components. Each row corresponds to a combination of API name, domain, and environment.
cmdb_ci_api
Represents API entities, including HTTP method, discovery timestamps, and other metadata.
api_deployment
Captures deployment-level information such as protocol type, base URL, and start time.
Example Field Mappings
API Component Table
id
entityId
d86d21b4-80a7-3ef5-9327-2731bf58470f
name
entityName
/v7/loans
environment
environment
production
owned_by
owner
api-team@company.com
url
domainName + path
www.userservice.com/v7/loans
API Table
name
entityName
/v7/loans
method
httpMethod
POST
vendor
—
Traceable
first_discovered
createdTimestamp
2024-04-25 06:47:12
last_discovered
lastCalledTimestamp
2024-04-25 06:47:12
internet_facing
isExternal
True
API Deployment Table
id
entityId
d86d21b4-80a7-3ef5-9327-2731bf58470f
base_url
domainName
www.userservice.com
name
entityName
/v7/loans
type
displayApiType
REST
environment
environment
production
last_discovered
lastCalledTimestamp
2024-04-25 06:47:12
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 KeyAPI Key:
<your_traceable_api_key>
Navigate to the Traceable Integration Setup page.
Add a new connection:
Connection name:
TraceableConnectionBase URL:
https://api.traceable.ai/graphql(replace with your cluster URL if different)Timeout (in milliseconds):
5000Credentials 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
Autoto 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.
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.
Metrics and monitoring
Traceable adds a custom header to identify integration traffic:
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
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.
Last updated
Was this helpful?