---
schema_version: "1"
id: d08ad0c4ee8034d1643f05fc53d5e040af6800549a6fdb488012b5888d549da9
title: Download and Install Discovery Agents
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/it_srvcs_discovery_install_agents.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.it_srvcs_discovery_install_agents.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6cc3a7bea908fd4984b8fe3773cfbc15541f6a7d8261902ab2bc9d2ad511dd24
description: Install discovery agents to collect hardware and software inventory data from Windows, macOS, and Linux systems. Agents continuously scan host environments and send collected data to Configuration Management Database (CMDB), keeping it accurate and up to date.
products:
  - Service Cloud
  - Agentforce IT Service
release: "264"
---
# Download and Install Discovery Agents

Install discovery agents to collect hardware and software inventory data from Windows, macOS, and Linux systems. Agents continuously scan host environments and send collected data to Configuration Management Database (CMDB), keeping it accurate and up to date.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with Agentforce IT Service that have Discovery enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d96797e70">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d96797e70 ">Manage Discovery Application</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d96797e70 ">IT Service Asset Discovery</td>

          </tr>
        </tbody>
      </table>

Before you install the agent, allow communication over TCP ports 8190 and 8191 on both the Discovery Application host and the agent host, and verify that the hosts can communicate. The connection uses mutual TLS (mTLS), with both hosts presenting certificates.

Agents differ by operating system and can be installed using an installation wizard or through command line for macOS and Linux.

1. From App Launcher, find and select **CMDB and Service Graph**.
2. In the navigations pane, in **Administration**, select **Discovery**, and then **Applications**.
3. From the list, select the discovery application where you want to install the agent.
4. Click **View** from the record actions to open an application record.
5. In the **Agents** tab, copy the registration token.
    
    The registration token links the discovery agent to your Salesforce CMDB and Service Graph environment. You must enter this token during the installation to register the agent with your organization.
6. Download the discovery agent based on the operating system where you want to install the agent.
    
    For macOS and Linux, the agent package includes command-line installation steps. The commands are shown in the Install Using Command Line section.
7. On the host machine, open the downloaded installation file.
8. In the installation wizard, accept the terms and conditions, and select **Next**.
9. Enter the registration token you copied earlier, and select **Next**.
10. Complete the installation and close the installation wizard.

The agent is installed on the host machine and begins running in the background. Asset data is automatically reported to CMDB by the agent based on the configured scan frequency.