Configure API Service Graph Connector for Apigee X using SGC Central

  • Release version: Yokohama
  • Updated March 12, 2026
  • 5 minutes to read
  • Set up scheduled import jobs to pull in Apigee X data into your CMDB.

    Before you begin

    Install API Service Graph Connector for Apigee X version 1.0.0 or later from the ServiceNow Store. For ServiceNow Store installation steps, see Install a ServiceNow Store application.
    Role required: The following table shows the roles required for each stage of the playbook.
    Table 1. Role required for each playbook stage
    Stage Role
    Prerequisites admin
    Setup SGC-Admin (sn_cmdb_int_util.sgc_admin) or admin
    Note:
    The admin user role is required to run background scripts and to provide access to global tables to the SGC-Admin user. For information about the user roles for Service Graph Connectors, see Service Graph Connector user roles.

    About this task

    The playbook experience for onboarding connectors is activated with SGC Central in the Service Graph Workspace or CMDB Workspace. To configure the SGC Central application, see Configuring SGC Central and for more information on how to interact with a playbook, see Interact with Playbook.

    Note:
    Alternatively, you can configure a default connection already available from the installed or draft connections in SGC Central. Go to All > Service Graph Connectors, then select Setup for the connector from the menu. To learn about installed and draft connections, see Managing connections added for Service Graph Connectors in SGC Central.

    Procedure

    1. Navigate to Workspaces > CMDB Workspace.
    2. In the CMDB Workspace, select SGC Central.
    3. On the Overview page, select Create connection.
      Tip:
      Alternatively, you can select Create connection on the All connections page.
    4. On the Create connection window, select the Apigee X connector type, and then select Create connection.
    5. Complete the initial prerequisites when setting up a connection for the first time using a connector.
      Note:
      This step is required only during the first-time setup. See Perform initial setup tasks when creating a connection in SGC Central.
    6. Complete the prerequisites for setting up the Apigee X environment.
      1. Set up the Apigee X environment and create a Java KeyStore (JKS) certificate to encrypt the security certificates obtained from an Apigee X application.
        1. In the Prerequisites stage of the playbook, select the Review setup instructions activity.
        2. Review and complete the setup instructions on the API Service Graph connector for Apigee X - Setup Instructions [KBB0010364] article in the Now Support Knowledge Base.

          You must create a service account, assign roles, bind roles to the service account, enable APIs, create a P12 file, and register it in your ServiceNow instance.

          Make a note of the destination keystore password. You need to specify this password while importing the JKS certificate into the API Service Graph Connector for Apigee X application.

        3. Select the I have read the setup instructions check box to confirm that you have set up the Apigee X environment according to the instructions.
        4. Select Continue.
      2. Create an X.509 certificate to associate the Java KeyStore (JKS) certificate for the Apigee X application with the connector.
        Note:
        You can skip this step if you're reusing a previously created certificate.
        1. In the Prerequisites stage of the playbook, select the Create X.509 certificate activity.
        2. On the form, fill in the fields.
          Table 2. X.509 Certificate form
          Field Description
          Name Name of the X.509 certificate. For example, ApigeeX-509Certificate.
          Key store password Password to access the JKS certificate as noted down in the previous step.
          Short description Description of the X.509 certificate.
        3. In the Attachments section, select Add File.
        4. Browse and select the P12 file for the JKS certificate you created in the previous step.
        5. On the Upload a file dialog box, select Upload.
        6. Select Continue.
    7. Enter connection details and test the API connection for importing Apigee X data.
      1. In the Setup stage of the playbook, select the Create and test connection activity.
      2. On the form, fill in the fields.
        Table 3. Configure and test connection form
        Field Description
        Connection name Name to identify the Apigee X connection record.
        Service account email Email address associated with the ServiceNow service account used for authentication with Apigee X as noted in the previous step.
        X.509 certificate Name of the X.509 certificate as noted in the previous step.
        Keystore password Password associated with the keystore as noted in the previous step.
      3. Select Create and test connection.
      4. Once the connection test is complete, select Continue.
    8. Set the configuration properties for the connection.
      1. In the Setup stage of the playbook, select the Set configuration properties activity.
      2. Enter the properties.
        Table 4. Service Graph Connection Properties
        Property Description
        Apigee identification
        Apigee organization name/GCP project id Apigee X organization names or GCP project IDs from which data should be fetched. If left blank, data is retrieved from all permitted Apigee X organizations.

        For multiple values, separate them with commas.

        Data retrieval configuration
        Include environments Apigee X environments to include in the connection.

        For multiple environments, separate them with commas. Only API proxies in the environments listed in the Include environments property are imported.

        If you leave this field empty, the data sources within the connector import API proxies from all environments.

        Collection period (in days) Duration in days for collecting API usage data.
        Collect usage data Option to enable usage data collection to retrieve API usage data over a specified duration.
        Expand HTTP method types HTTP methods including GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD, CONNECT, and TRACE, to consider for routes.

        For multiple methods, separate them with commas.If left blank, results in a single API Frontend being created with the ALL method, indicating support for all standard HTTP methods.

        GCP identification
        GCP Organization id GCP organization ID for retrieving data from GCP Organization, GCP Folder, and GCP Project data sources.
      3. Select Continue.
    9. Configure the import schedule to import data at regular intervals.
      1. In the Setup stage of the playbook, select the Configure import schedule activity.
      2. Expand the Parent scheduled data import within the Import schedules list to select the Apigee Organization import schedule associated with your connection.
        Note:
        The connection name is prefixed to the schedule name.
      3. In the Configure import schedule dialog box, select the Active check box, and then fill in the run schedule and time details.

        For more information, see Schedule a data import.

      4. Select Save.
        Alternatively, select Execute Now to execute the import schedule immediately.
      5. Select Continue.
    10. In the Setup stage of the playbook, select the Confirm connection creation activity to verify whether the connection was created.

    What to do next

    Select View all connections to review the connection details. The configured connection appears in the Installed connections list.

    You can then manage connections from the SGC Central view of the CMDB Workspace. For more information, see Managing connections added for Service Graph Connectors in SGC Central.