# PaloAlto Xpanse

## Connection Requirements

{% stepper %}
{% step %}

### FQDN

Log in to Cortex Xpanse and navigate to **Settings → Configurations → Integrations → API Keys**.\
Right-click your generated API key and select **View Examples**.\
Copy the URL shown in the cURL example; the `api-{fqdn}` portion represents your tenant’s unique FQDN.
{% endstep %}

{% step %}

### API Key

From the same **API Keys** page, click **+ New Key**, choose **Standard** or **Advanced**, configure access roles (ensure **Public API** permissions are included), then click **Generate**.\
Copy the generated value immediately — this value is used in the `Authorization: {api_key}` header.
{% endstep %}

{% step %}

### API Key ID

In the **API Keys** table, locate the **ID** column corresponding to your generated key.\
This value is your API Key ID and is required in the header as `x-xdr-auth-id: {api_key_id}`.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Please perform a connection test to ensure there is a valid connection to the PaloAlto Xpanse host. When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}
