---
title: Palo Alto Networks Cortex XDR
slug: authentication-guides/palo-alto-networks-cortex-xdr
docTags: 
createdAt: 2026-01-19T21:44:37.099Z
---

# Introduction

This guide explains how to authenticate the Palo Alto Networks Cortex XDR connector in Swimlane using Cortex API Token authentication.
You will generate Cortex XDR API credentials, collect the required identifiers, and configure the connector inside Swimlane Turbine.

# Prerequisites

## Cortex XDR Access Requirements

You must have administrative access to the Palo Alto Networks Cortex XDR tenant to:

- Generate API keys
- View tenant base URL
- Access Cortex XDR API settings

## Required Credentials

During setup, you will collect:

- Cortex XDR Base URL
- API Token
- Cortex XDR API Key ID

## Authentication Overview

Cortex XDR uses token-based authentication with a custom HTTP header.
Authentication requires:

- API Token
- API Key ID (x-xdr-auth-id header)

## Cortex XDR Setup

Take the following steps to generate the Cortex XDR API credentials:

1. Log in to the Palo Alto Networks Cortex XDR Console.
2. Navigate to Settings > Configurations > Integrations > API Keys.
3. Click Generate API Key.
4. Enter a name for the API key.
5. Copy and securely store the API Key ID and API Token.

:::hint{type="info"}
The API Token is shown only once. Copy and save it for further usage.
:::

# Connector Configuration in Swimlane

1. Log in to Turbine.
2. From the left-hand navigation pane, click **ORCHESTRATION** and click **Assets**.
   Asset homepage opens.
3. Click the **plus** icon to open the Configure your Connector Asset window.
4. Select **Palo Alto Networks Cortex XDR** from the Asset type list.
5. Fill in the **Asset Settings&#x20;**&#x61;nd **Asset Input** as shown:

**Configuration – Cortex XDR Authentication**

Authenticates using Cortex XDR API Token and API Key ID.

| **Field**     | **Description**         | **Required** |
| ------------- | ----------------------- | ------------ |
| url           | Cortex XDR API base URL | Required     |
| token         | API Token               | Required     |
| x-xdr-auth-id | API Key ID              | Required     |
| verify\_ssl   | Verify SSL certificate  | Optional     |
| http\_proxy   | Proxy configuration     | Optional     |

![](https://api.archbee.com/api/optimize/n8uUzk0MM4uC57-zlHNtY/-h-jKw6-FRWl9N2I2_BdK_image.png)

# Troubleshooting

**401 Unauthorized:**

- Invalid or expired API Token
- Incorrect API Key ID

**403 Forbidden:**

- Insufficient API permissions

**Connection Errors:**

- Incorrect base URL
- SSL or proxy issues

You have successfully authenticated the Palo Alto Networks Cortex XDR connector in Swimlane.

