---
title: "Add a GitHub node"
description: "Add a GitHub organisation or repository for agentless scanning."
product: "Guardian"
edition: "Classic"
type: "workflow"
url: "https://docs.cloudhouse.com/guardian/classic/inventory/add-nodes/add-a-single-node/agentless/github-node/"
---
# Add a GitHub node

Add a GitHub organisation or repository for agentless scanning. Guardian supports two types of GitHub nodes: an organisation and a repository node. Once you have added a GitHub node, you can secure your GitHub account, see [Secure your GitHub Account](https://docs.cloudhouse.com/guardian/classic/tech-articles/secure-your-github-account/index.md) for more information.

Applies to: `Guardian Classic`

## Dependencies

To add a GitHub node, the following dependencies must be met:

- **Windows Connection Manager** – Set up in Guardian. For more information, see [Windows Connection Manager](https://docs.cloudhouse.com/guardian/classic/inventory/connection-managers/connection-managers/windows/windows-connection-manager/index.md).
- **GitHub Account** – Set up with access to the GitHub organisation and repositories to be scanned.
- **GitHub API Token** – To generate or access personal access tokens.

## Add a GitHub organisation node

Adding a GitHub organisation node to your Guardian instance lets you monitor and track the configuration of projects within that organisation.

To add a GitHub Organisation node for Agentless scanning, complete the following steps:

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

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

2. Select 'GitHub Organization' from the list of node types and click the **Go Agentless** button to proceed. The **Connect Agentlessly to GitHub Organization** page is displayed.

    ![Go agentless github org](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/inventory/add-nodes/single-nodes/go-agentless-github-org.png)

3. Here, complete the following options:

    ![Connect agentlessly github org](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/inventory/add-nodes/single-nodes/connect-agentlessly-github-org.png)

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

**Node Name** field
:   The name of the node. The value you enter here will be used as the display name in Guardian.

**GitHub organization URL** field
:   The base URL of the GitHub organisation you want to connect to. For example, 'https://www.github.com/cloudhousetech'.

**GitHub API token** field
:   The personal access token required to connect to the GitHub organisation. This can be found and generated via the [Personal Access Tokens](https://github.com/settings/tokens) page in GitHub Settings.

4. Once you've completed the above options click **Scan Node** to add the GitHub organisation node to your Guardian instance.

Now, Guardian performs an initial scan of the node. You can wait on this page for the scan to finish, at which point you will see a **View Scan** button. To view the results of this initial scan, click **View Scan**. However, you can also navigate elsewhere while Guardian performs its initial scan of the node. You can then view the status of the scan on the [**Job History**](https://docs.cloudhouse.com/guardian/classic/control/job-history/job-history/index.md) page (**Inventory** > **Job History**). For more information on what to do next after adding a node, see below.

## Add a GitHub repository node

Adding a GitHub repository node to your Guardian instance lets you monitor and track the configuration of code, files, and settings within that repository.

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

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

2. Select 'GitHub Repository' from the list of node types and click the **Go Agentless** button to proceed. The **Connect Agentlessly to GitHub Repository** page is displayed.

    ![Go agentless github repo](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/inventory/add-nodes/single-nodes/go-agentless-github-repo.png)

3. Here, complete the following options:

    ![Connect agentlessly github repo](https://docs.cloudhouse.com/guardian/classic/assets/images/guardian/inventory/add-nodes/single-nodes/connect-agentlessly-github-repo.png)

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

**Node Name** field
:   The name of the node. The value you enter here will be used as the display name in Guardian.

**GitHub repository URL** field
:   The base URL of the GitHub repository you want to connect to. For example, 'https://www.github.com/cloudhousetech/content'.

**GitHub API token** field
:   The personal access token required to connect to the GitHub repository. This can be found and generated via the [Personal Access Tokens](https://github.com/settings/tokens) page in GitHub Settings.

4. Once you have set the correct values for each of the options displayed, click **Scan Node** to add the GitHub repository node to your Guardian instance.

Now, Guardian performs an initial scan of the node. You can wait on this page for the scan to finish, at which point you will see a **View Scan** button. To view the results of this initial scan, click **View Scan**. However, you can also navigate elsewhere while Guardian performs its initial scan of the node. You can then view the status of the scan on the [**Job History**](https://docs.cloudhouse.com/guardian/classic/control/job-history/job-history/index.md) page (**Inventory** > **Job History**). For more information on what to do next after adding a node, see below.

## Where next

- [*Read* **Node Scan Results** What every scan of a node collected.](https://docs.cloudhouse.com/guardian/classic/inventory/monitored/nodes/node-scan-results/index.md)
- [*Organise* **Node groups** Group nodes by type, location and more.](https://docs.cloudhouse.com/guardian/classic/inventory/monitored/node-groups/node-groups/index.md)
- [*Tune* **Scan options** Choose what each scan collects.](https://docs.cloudhouse.com/guardian/classic/inventory/monitored/scan-options/scan-options/index.md)
- [*Compare* **Configuration differencing** Compare nodes, groups and scans.](https://docs.cloudhouse.com/guardian/classic/inventory/monitored/configuration-differencing/configuration-differencing/index.md)
- [*Govern* **Policies** Define the configuration you expect.](https://docs.cloudhouse.com/guardian/classic/control/policies/policies/index.md)
- [*Connect* **Integrations** Sync nodes and act on events.](https://docs.cloudhouse.com/guardian/classic/control/integrations/integrations/index.md)
