---
title: "Add nodes in bulk from GCP"
description: "Import GCP nodes in bulk, through an integration or with credentials."
product: "Guardian"
edition: "Classic"
type: "workflow"
url: "https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/add-nodes-in-bulk/gcp-nodes/"
---
# Add nodes in bulk from GCP

Import GCP nodes in bulk, through an integration or with credentials.

Applies to: `Guardian Classic`

To add GCP nodes in bulk, you can choose to use an **Existing integration**, or **Manually enter credentials** for a temporary connection to the GCP source. For more information on each method, see below.

!!! note

    Any existing nodes that are detected are not re-added to your Guardian instance. If any changes have occurred on the node since the last import, the existing node is updated accordingly.

## Existing integration

If you have set up a Guardian integration with GCP previously, you can use the existing credentials to authenticate Guardian’s access.

### Dependencies

To import nodes in bulk via GCP, a Linux Connection Manager configured within your Guardian instance is required. For more information, see  [Linux Connection Manager](https://docs.cloudhouse.com/guardian/classic/inventory/connection-managers/connection-managers/linux/linux-connection-manager/index.md).

To add nodes in bulk using an existing GCP integration, complete the following steps:

1. In the Guardian web application, navigate to the **Add Nodes** tab (**Inventory** > **Add Nodes**).

    ![Add nodes tab](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/nodes/bulk-adding/gcp/add-nodes-tab.png)

2. Click the **GCP** button. The **Add Nodes via GCP** page is displayed.

    ![Gcp button](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/nodes/bulk-adding/gcp/gcp-button.png)

3. Select the **Existing integration** radio button to display the following options:

**GCP Integration credentials** drop-down list
:   Existing GCP Integration credentials. Select an integration from the drop-down list to use the stored credentials for authentication. For more information on how to setup an integration to GCP, see [GCP Integration](https://docs.cloudhouse.com/guardian/classic/control/integrations/gcp-integration/index.md).

**Check things you want to detect** checkboxes
:   The option(s) you want to add to Guardian for monitoring. Select the checkbox(es) you want to detect. For example, ‘Storage Buckets’. For more information on the GCP services supported by Guardian, see [Supported GCP Services](https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/supported-cloud-services/supported-gcp-services/index.md).

**Ignore ephemeral nodes** checkbox
:   Option to ignore ephemeral nodes. If selected, ephemeral nodes are not imported or included in node scans.

**Remove ephemeral nodes** checkbox
:   Option to remove ephemeral nodes. If selected, ephemeral nodes are removed from the Guardian import list.

4. Once you have set the correct values for each of the options displayed, click **Sync Now** to add the GCP nodes to your Guardian instance.

Once complete, any nodes that are detected within GCP are automatically added to the **Detected** tab (**Inventory** > **Detected**). Here, you can choose which nodes you'd like to promote to the **Monitored** tab (**Inventory** > **Monitored**) for regular scanning. For more information, see  [Detected Nodes](https://docs.cloudhouse.com/guardian/classic/inventory/detected/detected/index.md).

## Manually enter credentials

Alternatively, you can manually enter the credentials required to authenticate Guardian’s access to the specified GCP region(s). Then, you can (optionally) create an integration using those details to continuously sync Guardian with your GCP region(s), meaning that you don't have to re-import your node set once they've been updated as Guardian will automatically detect any new or updated nodes.

### Dependencies

To import nodes in bulk via GCP, the following dependencies must be met:

- **Linux Connection Manager** – Configured within your Guardian instance. For more information, see  [Linux Connection Manager](https://docs.cloudhouse.com/guardian/classic/inventory/connection-managers/connection-managers/linux/linux-connection-manager/index.md).
- **Google Service Account** – Set up with the JSON Web Token (**JWT**) generated. For more information, see [Google Cloud Platform Service Account](https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/account-setup/google-cloud-platform-service-account/index.md).
- **Service Permissions** – Permissions set for the service intended to be scanned. For more information, see [Supported GCP Services](https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/supported-cloud-services/supported-gcp-services/index.md).

To add nodes in bulk from GCP without using an existing integration,, you can manually enter credentials by completing the following steps:

1. In the Guardian web application, navigate to the **Add Nodes** tab.

    ![Add nodes tab](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/nodes/bulk-adding/gcp/add-nodes-tab.png)

2. Click the **GCP** button. The **Add Nodes via GCP** page is displayed.

    ![Gcp button](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/nodes/bulk-adding/gcp/gcp-button.png)

3. Select the **Manually enter credentials** radio button to display the following options:

**Connection Manager group** drop-down list
:   The Connection Manager group that is responsible for scanning your GCP node(s). Select a Connection Manager group from the drop-down list.

**GCE service account JWT** upload field
:   The JSON Web Token (**JWT**) JSON file that is required to verify Guardian's access to your GCP instance. For more information on how to generate a JWT, see [Google Cloud Platform Service Account](https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/account-setup/google-cloud-platform-service-account/index.md).

**Create An Integration** checkbox
:   Option to store the credentials and create an GCP integration that checks for nodes in your GCP environment every two hours. For more information, see [Job Schedule](https://docs.cloudhouse.com/guardian/classic/control/job-schedule/job-schedule/index.md) (**Control** > **Job Schedule**).

    !!! note

        If you choose to Create An Integration, the integration is added to the Integrations tab (Control > Integrations), see [GCP Integration](https://docs.cloudhouse.com/guardian/classic/control/integrations/gcp-integration/index.md) for more information. Any nodes that are detected in your environment are then added to the Detected tab for processing. For more information, see  [Detected Nodes](https://docs.cloudhouse.com/guardian/classic/inventory/detected/detected/index.md).  <!--/callout-->If selected, the GCP integration name and Automatically start monitoring and scanning detected nodes options are displayed.

**GCP integration name** field
:   The display name for the GCP integration. Once created, the integration is displayed in the **Integrations** tab.

    !!! note

        This field is only displayed if the Create An Integration checkbox is selected.

**Automatically start monitoring and scanning nodes** checkbox
:   Option to automatically start monitoring and scanning your nodes once the GCP integration has been created. If selected, the imported nodes are automatically added to the **Monitored** tab for regular scanning. Here, you can apply policies, create node groups, and schedule regular scans. For more information, see [Monitored Nodes](https://docs.cloudhouse.com/guardian/classic/inventory/monitored/monitored/index.md).  If not selected, the nodes are added to the Detected tab for processing. To monitor the detected nodes, you must move them to the Monitored tab. For more information, see [Nodes](https://docs.cloudhouse.com/guardian/classic/getting-started/nodes/index.md).

    !!! note

        This option is only displayed if the Create An Integration checkbox is selected.

**Check things you want to detect** checkboxes
:   The option(s) you want to add to Guardian for monitoring. Select the checkbox(es) you want to detect. For example, ‘Storage Buckets’. For more information on the GCP services supported by Guardian, see [Supported GCP Services](https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/supported-cloud-services/supported-gcp-services/index.md).

**Ignore ephemeral nodes** checkbox
:   Option to ignore ephemeral nodes. If selected, ephemeral nodes are not imported and not included in node scans.

**Remove ephemeral nodes** checkbox
:   Option to remove ephemeral nodes. If selected, ephemeral nodes are removed from the Guardian import list.

4. Once you have set the correct values for each of the options displayed, click **Discover Nodes** to add the GCP nodes to your Guardian instance.

Once complete, any nodes that are detected within GCP are automatically added to the **Detected** tab. Here, you can choose which nodes you'd like to promote to the **Monitored** tab for regular scanning. For more information, see  [Detected Nodes](https://docs.cloudhouse.com/guardian/classic/inventory/detected/detected/index.md).
