> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/web-application-and-api-protection-waap-discovery-discovery-protection-protection/integrations/project-management/servicenow-cmdb-integration.md).

# ServiceNow CMDB Integration

Import API metadata from Traceable into ServiceNow CMDB using the Service Graph Connector application from the ServiceNow Store

<details>

<summary><strong>Updates (July 2026 to September 2026)</strong></summary>

* *August 2026* — Updated the topic to include information about the Service Graph Connector (SGC) integration, including the latest version of the connector, connection setup, field mapping, scheduling, and validation. For more information, see <a href="#integration-steps" target="_self">Integration Steps</a>.

</details>

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.

{% hint style="info" %}
The current version of the connector is certified for the **Xanadu**, **Yokohama**, **Zurich**, and **Australia** releases of ServiceNow.
{% endhint %}

***

## What you will learn from this topic

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 make a note of the following prerequisites are in place: following:

* Make sure you have a valid ServiceNow instance running  **Xanadu**, **Yokohama**, **Zurich**, and **Australia**.
* Make sure you have access to the **Traceable Service Graph Connector** application. For more information, see [Traceable Service Graph Connector on the ServiceNow Store](https://store.servicenow.com/store/app/c5be88301b6aa21061c4eb18624bcb44).
* Make sure you have access to **CMDB workspace**, **IntegrationHub ETL**, and **Service Graph Connector** <a href="https://www.servicenow.com/undefined?section=viewing-network-inventory-using-cmdb-workspace__section_nfr_mgn_ypb" target="_blank">capabilities</a>.
* Make sure you have admin-level permissions in ServiceNow.
* Make sure you have access to your **Traceable API token** and Traceable platform URL. For more information, see <a href="https://developer.harness.io/web-application-and-api-protection-waap-discovery-discovery-protection-protection/settings/public-apis.md" target="_blank">Public APIs</a>.

***

## Supported CMDB tables and field mappings

Traceable maps API metadata into the following ServiceNow CMDB tables:

| CMDB Table              | Description                                                                                                       |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `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**

| CMDB Column   | Traceable Field     | Sample Value                           |
| ------------- | ------------------- | -------------------------------------- |
| `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**

| CMDB Column        | Traceable Field       | Sample Value          |
| ------------------ | --------------------- | --------------------- |
| `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**

| CMDB Column       | Traceable Field       | Sample Value                           |
| ----------------- | --------------------- | -------------------------------------- |
| `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`                  |

{% hint style="info" %}
**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.
{% endhint %}

***

## Integration steps

To complete the integration between Traceable and your ServiceNow CMDB, you will perform three main tasks:

1. **Configure the connection and credentials** to allow ServiceNow to connect to the Traceable platform.
2. **Set up field mappings** to ensure API data from Traceable is correctly aligned with CMDB tables.
3. **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

To configure the connection, complete the following details:

<figure><img src="https://1414883571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdr7UJpJrdGkkSGT6AFTu%2Fuploads%2FLT0OxXYCTVQbRzhh2LWz%2FTraceable_ServiceNow_CMDB_SGC_Create_connection_.png?alt=media&amp;token=6c623f9c-0381-42c6-9d80-37d1778cfef0" alt=""><figcaption><p>Create Connection Step</p></figcaption></figure>

1. In the **CMDB Workspace**, navigate to **Overview → SGC Central → Create Connection → Traceable Connector**.
2. Add the **Details** for the new connection:

<figure><img src="https://1414883571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fdr7UJpJrdGkkSGT6AFTu%2Fuploads%2FpvBgz22UDZke58IoH2Pz%2FTraceable_servicenow_CMDB_connection_configuration.png?alt=media&amp;token=1c7163b6-a155-4b68-b0f1-8f1e6a2ba4d6" alt=""><figcaption><p>SGC Traceable Connection</p></figcaption></figure>

* Specify the **Connection Name** according to your requirements.
* Specify the Base **Connection URL**, for example, *<https://api.traceable.ai/grapghql>.*
* Specify the **API Key** fetched from the Traceable platform, for example, *\<your\_traceable\_api\_key>*. For information, see <a href="https://developer.harness.io/web-application-and-api-protection-waap-discovery-discovery-protection-protection/api-security-testing/advanced-usage/authentication/api-key.md" target="_blank">API Keys</a>.

3. Click **Update and test connection** to confirm your connection.

### Step 2: Configure field mapping

Traceable provides a default mapping configuration, which can be edited using IntegrationHub ETL.

1. Navigate to the **CMDB workspace**.
2. Open the **IntegrationHub ETL** configuration for Traceable.
3. Ensure the **Sample Import Set** is set to `Auto` pull sample data.
4. In **Prepare and Preview Data**, optionally transform fields and preview the import set.
5. Use **Map Data to CMDB and Add Relationships** to:
   * Define the relationships among the API, API Component, and API Deployment tables.
   * Add custom mappings to other internal CMDB tables if needed.
6. Save the configuration.

{% hint style="info" %}
**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` or `name`) are set correctly.
{% endhint %}

### Step 3: Configure import schedule

1. Navigate to **All → Scheduled Imports** to the import schedule settings for the Traceable connector.
2. Click the default schedule **Traceable Default Schedule** and set it to run *once.*
3. You can review and modify the provided default schedule to match your data refresh interval according to your requirements.
4. Save the schedule to activate automated imports.

***

## View 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.

{% hint style="info" %}
**Note**

Repeated imports are idempotent; existing entries are updated and not duplicated.
{% endhint %}

***

## Metrics and monitoring

Traceable adds a custom header to identify integration traffic:

```http
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

{% hint style="info" %}
**Note**

Data is fetched using paginated GraphQL queries, with batching of up to 1000 APIs per request. This ensures scalability for large API inventories.
{% endhint %}

***

## 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.

{% @harness-feedback/feedback %}
