---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create a resource collector

# Create a resource collector {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create a resource collector to set up how Cloud Configuration Governance imports all
the resources of a given type.

## Before you begin

Role required: sn_itom_ccg.governor

## About this task

The cloud resources are available under a service account or service account-datacenter combination. The resource collector uses Integration Hub subflows to import the resource list from the cloud. Create only one resource collector per resource type.

## Procedure

1. Create an Integration Hub subflow for the configuration collector.
   1. Copy the CCG -- Collector Template subflow.  
      For more information on copying subflow templates, see [Copy an Integration Hub subflow template](https://servicenow-prod.fluidtopics.net/85PIRJuMmUYu4I26UEh0KQ "Copy an Integration Hub subflow template to create subflows for the Cloud Configuration Governance application.").
   2. Add the appropriate Cloud Action Library (CAL) action and flow logic to read the resource data.  
      For more information on the available CAL actions, see [Cloud Action Library actions reference](https://servicenow-prod.fluidtopics.net/3D4HKphZKOHDUQoJg9X7rg "Cloud Action Library (CAL) offers various actions that you can use to build the Integration Hub subflows for Cloud Configuration Governance.").

      If CAL doesn't have the required action, you can refer to an existing
      CAL action and use the Integration Hub datastream
      action to implement the custom action. Alternatively, you can also
      use the REST step. For more information, see [Data Stream
      actions and pagination](https://www.servicenow.com/docs/access?context=data-stream-actions&version=yokohama&pubname=yokohama-integrate-applications&ft:locale=en-US)
      and
      [REST
      step](https://www.servicenow.com/docs/access?context=rest-request-action-designer&version=yokohama&pubname=yokohama-build-workflows&ft:locale=en-US).
   3. Add the CCG -- Insert Resource Record action, and then select the appropriate inputs to insert the configuration data to the Configuration Management Database (CMDB).  
      For more information on the CCG -- Insert Resource Record action, see [Cloud Configuration Governance actions reference](https://servicenow-prod.fluidtopics.net/NYeVpjG0skdfsLCdgZi1WQ "Cloud Configuration Governance (CCG) uses Integration Hub subflows to interact with the cloud and update the configuration data in the Configuration Management Database (CMDB).").
   4. Select Publish.
   {#create-ccg-resource-collector__substeps_fvx_tdy_gsb}
2. Navigate to Cloud Configuration GovernanceResource Collectors.
3. Select New.
4. On the form, fill in the fields.  
   For the description of the field values, see [Cloud Configuration Governance Resource collector form](https://servicenow-prod.fluidtopics.net/a6seOSobnfbcmNmNczfYlQ "The Resource collector form contains detailed information about the resource collector.").
5. Select Submit.

## What to do next

* If the required configuration data is not available at the cloud resource
  level, see [Create a
  configuration key](https://servicenow-prod.fluidtopics.net/9cOA4yycLTlTI3xhS_n3iQ "Create a configuration key in Cloud Configuration Governance to use it in the policies. The configuration key specifies the resource collector and configuration collectors used to import the configuration data from the cloud. It also specifies the data type of the configuration value.").

* If you have created a new resource type in the
  Cloud Configuration Governance application, you can optionally
  create a CI finder mapping for the newly created resource type. For more
  information, see [Create a CI finder mapping](https://servicenow-prod.fluidtopics.net/7MEvYH0KJWpPJoslBkf4hA "Use the CI finder mapping to link the resources fetched by the ServiceNow Cloud Configuration Governance scan runs with the appropriate Configuration Management Database (CMDB) Configuration Items (CIs), if available. After you create the mapping, you can associate the reported configuration violations with the CIs to which they belong.").

{#create-ccg-resource-collector__ul_nxp_yvl_jtb}

*[\>]: and then


