> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate BloodHound Enterprise with Cortex XSOAR

> Learn how to integrate BloodHound Enterprise with Cortex XSOAR by Palo Alto Networks.

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=b682a26b342bde12302ec829e265bdb6" alt="Applies to BloodHound Enterprise only" width="225" height="45" data-path="assets/enterprise-edition-pill-tag.svg" />

The BloodHound Enterprise integration for [Cortex XSOAR](https://www.paloaltonetworks.com/resources/datasheets/cortex-xsoar-for-mssps#:~:text=Cortex%20XSOAR%C2%AE%EF%B8%8F%20is%20a,of%20services%20for%20their%20clients.) lets you ingest and manage BloodHound Enterprise attack path findings in Cortex XSOAR as incidents.

Use this integration to:

* Automatically convert BloodHound Enterprise attack path findings into Cortex XSOAR incidents
* Attach remediation guidance and posture context to incidents
* Run playbooks and custom commands to analyze, triage, and remediate findings

Key capabilities include:

* Automated incident creation with titles, descriptions, remediation guidance, impact/exposure metrics, severity, and domain/environment context
* Playbook linking per incident to run custom analysis commands
* Custom commands:
  * Object ID lookup by name
  * Asset information by object ID
  * Path analysis between two nodes in the BloodHound graph

## Prerequisites

Before installing and configuring the Cortex XSOAR integration, ensure that you have the following:

* Cortex XSOAR instance with an admin account
* BloodHound Enterprise tenant
* BloodHound Enterprise API key/ID pair

<Note>We recommend a [non-personal API key/ID pair](/integrations/bloodhound-api/working-with-api#create-a-non-personal-api-key%2Fid-pair).</Note>

## Configure Cortex XSOAR

Set up the SpecterOps BloodHound Enterprise integration instance in Cortex XSOAR.

<Steps>
  <Step title="Open integration instances">
    1. Log in to your Cortex XSOAR instance.
    2. Go to **Settings & Info** > **Settings** > **Integrations** > **Instances**.

           <Frame>
             <img src="https://mintcdn.com/specterops/0ur1vlpDm_tTLi9J/images/integrations/cortex-soar/open-instances.png?fit=max&auto=format&n=0ur1vlpDm_tTLi9J&q=85&s=cb3a20641e8aca8f6e7313467c0d7a83" alt="Cortex XSOAR Integrations & Instances page with SpecterOps integration visible." width="1915" height="908" data-path="images/integrations/cortex-soar/open-instances.png" />
           </Frame>
  </Step>

  <Step title="Add SpecterOpsBHE instance">
    1. Search for the SpecterOps integration.
    2. Click **Add Instance** for the SpecterOpsBHE integration.
    3. Configure settings.

       | Field                            | Description                                                         | Required? |
       | -------------------------------- | ------------------------------------------------------------------- | :-------: |
       | **Name**                         | Instance display name (default can be modified)                     |    Yes    |
       | **BloodHound Enterprise Domain** | Your tenant domain, e.g., `https://example.bloodhoundenterprise.io` |    Yes    |
       | **Token ID**                     | API token ID from BloodHound Enterprise                             |    Yes    |
       | **Token Key**                    | API token key from BloodHound Enterprise                            |    Yes    |
       | **Proxy URL**                    | Proxy URL to reach BloodHound Enterprise                            |     No    |
       | **Proxy URL Username**           | Username for proxy authentication                                   |     No    |
       | **Proxy URL Password**           | Password for proxy authentication                                   |     No    |
       | **Finding Environment**          | Scope findings to one environment                                   |     No    |
       | **Finding Category**             | Scope findings to one category                                      |     No    |

       <Note>By default, **Finding Environment** and **Finding Category** are set to **All**.</Note>

           <Frame>
             <img src="https://mintcdn.com/specterops/0ur1vlpDm_tTLi9J/images/integrations/cortex-soar/add-bhe-instance.png?fit=max&auto=format&n=0ur1vlpDm_tTLi9J&q=85&s=4abca928595e0bbb77e8a550784c2ea1" alt="Cortex XSOAR instance configuration showing fetch settings." width="1051" height="762" data-path="images/integrations/cortex-soar/add-bhe-instance.png" />
           </Frame>
  </Step>

  <Step title="Enable fetching and schedule interval">
    1. Check the **Fetches incidents** option (required).
    2. Set **Incident Type** to "SpecterOpsBHE Attack Path" (optional).
    3. Set the **Incidents Fetch Interval** to your preferred schedule (required).

       <Note>The default fetch interval is 10 minutes.</Note>

           <Frame>
             <img src="https://mintcdn.com/specterops/0ur1vlpDm_tTLi9J/images/integrations/cortex-soar/schedule.png?fit=max&auto=format&n=0ur1vlpDm_tTLi9J&q=85&s=73c79876ada7164dafbd77bc5dbd8d7a" alt="Cortex XSOAR instance configuration detail view." width="996" height="708" data-path="images/integrations/cortex-soar/schedule.png" />
           </Frame>
  </Step>

  <Step title="Test and save the configuration">
    1. Click **Test** to verify connectivity and credentials.
    2. Close the modal, then **Save** the instance.

       <Tip>"Success" indicates working parameters and connectivity. "Error" indicates invalid parameters or connection failure.</Tip>

           <Frame>
             <img src="https://mintcdn.com/specterops/0ur1vlpDm_tTLi9J/images/integrations/cortex-soar/test-connection.png?fit=max&auto=format&n=0ur1vlpDm_tTLi9J&q=85&s=a347d40243585d908c825e034263e48a" alt="Cortex XSOAR instance save confirmation." width="1045" height="781" data-path="images/integrations/cortex-soar/test-connection.png" />
           </Frame>
  </Step>

  <Step title="Manage multiple domains or disable instances">
    * To add additional BloodHound Enterprise domains, create more instances with **Add Instance**.
    * To stop fetching, uncheck **Enable** to disable the instance.

          <Frame>
            <img src="https://mintcdn.com/specterops/0ur1vlpDm_tTLi9J/images/integrations/cortex-soar/manage-or-disable.png?fit=max&auto=format&n=0ur1vlpDm_tTLi9J&q=85&s=8c1ef97337b4b108cdbde56583a2fff8" alt="List of multiple SpecterOpsBHE instances in Cortex XSOAR." width="1426" height="318" data-path="images/integrations/cortex-soar/manage-or-disable.png" />
          </Frame>
  </Step>
</Steps>
