> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/gateway-guide/activate-a-tenant/activate-cortex-aes-tenant.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Activate Cortex AES tenant

Learn how to activate your Cortex AES tenant.

Cortex AES is a tenant type for customers who purchase Agentic Endpoint Security (AES) without Cortex XDR. To activate a tenant, you need to log in to Cortex Gateway, a centralized portal for activating and managing tenants, users, roles, and user groups. When you activate a Cortex AES tenant, Cortex automatically provisions a paired AES tenant, which you access from inside your Cortex AES tenant. You must repeat this task for each tenant if you have multiple tenants. The activation process involves accessing Cortex Gateway, activating the tenant, and then accessing the tenant's resources.

{% hint style="info" %}

#### Note

If you purchased Cortex XDR ONE, which includes Agentic Endpoint Security, activate a Cortex XDR tenant instead. For more information, see [Activate Cortex XDR tenant](https://cortex-docs.paloaltonetworks.com/gateway-guide/activate-a-tenant/activate-cortex-xdr-tenant.md).
{% endhint %}

{% hint style="warning" %}

#### Prerequisite

* An Agentic Endpoint Security license (PAN-CORTEX-AES). You don't need an existing Cortex XDR or Cortex XSIAM tenant. If you purchased with Flex Credits, see the note below.
* The Cortex AES activation email.
* A Customer Support Portal (CSP) account.

  You need to set up your CSP account. For more information, see [How to Create Your CSP User Account](https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClNVCA0).

  When you create a CSP account, you can set up two-factor authentication (2FA) to log into the CSP by using an Email, Okta Verify, or Google Authenticator (non-FedRAMP accounts). For more information, see [How to Enable a Third Party IdP](https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sZ8mCAE).
* You have the following roles assigned in the CSP:

  | Role        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Super User  | <p>Your Customer Support Portal account must have the Super User role. The user who creates the account receives this role.<br><br>Use this role to sign in to Cortex Gateway for the first time. You then receive the initial Account Admin permissions required to activate the Cortex AES tenant.<br><br>In Cortex Gateway, you can activate new tenants, access existing tenants, and create and manage role-based access control (RBAC) for all your tenants.</p> |
  | Cortex User | <p>You must be assigned the <strong>Cortex User</strong> role within the Customer Support Portal to ensure that user synchronization completes successfully during and after the activation process. Without this role assigned, activation fails.<br><br>NOTE: If adding users through the CSP, assign them the Cortex User role; otherwise, they won't appear in the Cortex Gateway or tenant user lists and will be blocked from using the tenant.</p>              |

{% endhint %}

{% hint style="info" %}
**Note**

**Flex Credits:** If you purchased Agentic Endpoint Security with Flex Credits, you set up the tenant and select its region in the Customer Support Portal, not in Cortex Gateway. When the tenant is ready, you receive a welcome email with a direct link to the tenant, and you don't need to follow the activation steps on this page. You can't purchase Cortex XDR ONE with Flex Credits.
{% endhint %}

## How to activate Cortex AES

1. Log in to [Cortex Gateway](https://cortex-gateway.paloaltonetworks.com/signin/).

   You can also access the link from the activation email.
2. Enter your username and password or multi-factor authentication (if set up) by using your Customer Support Portal account credentials to sign in.

   After you sign in, you can view the following:

   * If you are a CSP Account Admin, you can see tenants allocated to your CSP account and ready for activation. After activation, you cannot move your tenant to a different CSP account.
   * Tenant details such as license type, number of endpoints, and purchase date.
   * Tenants that were activated and are now available. If you have more than one Customer Support Portal account, the tenants are displayed according to the Customer Support Portal account name.
3. In the **Available for Activation** section, locate the **AES** tile, and then click **Activate**.

   If you have more than one tenant available for activation, use the serial number from your activation email to identify the correct tile.
4. On the **Tenant Activation** page, select the Customer Support Portal account for the tenant, and then click **Next**.
5. Define the following tenant settings:

   | Parameter        | Description                                                                                                                                                                                                                                                                                 |
   | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   | Tenant Name      | Enter the name of the tenant. Use a unique name across your company account up to 59 characters long.                                                                                                                                                                                       |
   | Region           | <p>Geographic location where your tenant will be hosted. The region also determines where the paired AES tenant is hosted:</p><p>If you select any other region, the paired AES tenant is hosted in the United States.</p><p>You can't change the region after you activate the tenant.</p> |
   | Tenant Subdomain | <p>DNS record associated with your tenant. Enter a name that will be used to access the tenant directly using the full URL:</p><p><code>https\://\<subdomain>xdr.\<region>.paloaltonetworks.com</code></p>                                                                                  |

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Agentic Endpoint Security requires cross-region data transfer, because the paired AES tenant can be hosted in a different region from your Cortex AES tenant.</p></div>
6. Review and **agree to the terms and conditions of the Privacy policy, Terms of Use, and EULA**, and then **Activate** your tenant.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Activation can take about an hour and does not require you to remain on the activation page. Cortex AES sends a notification to your email when the process is complete.</p></div>
7. After activation, from Cortex Gateway, in the **Available Tenants**, when hovering over the activated tenant, do the following:
   * Ensure that you can successfully access the tenant by clicking the Cortex AES tenant name (when the tenant is active).
   * In the dialog box, view the tenant status, region, serial number, and license details.

     <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>If you want to change your tenant's name or the subdomain, on the right-hand side, click the ellipsis.</p><p>You can only change the subdomain once, and it cannot be undone.</p><p>After deleting the subdomain, you can reuse it after 7 days.</p></div>
8. Verify that the paired AES tenant is available. In your Cortex AES tenant, select **Modules** > **Agentic Endpoint Security**.
9. Enable and verify access to Cortex communication servers, storage buckets, and various resources in your firewall configuration. For more information, see [Enable access to required PANW resources](https://cortex-docs.paloaltonetworks.com/cortex-xdr/onboard-cortex-xdr/deployment-steps/activate-cortex-xdr/enable-access-to-required-panw-resources.md).

#### **Next steps**

To protect your endpoints, create an agent installation package in your Cortex AES tenant and install it on your endpoints. For more information, see [Cortex AES tenants onboarding checklist](https://cortex-docs.paloaltonetworks.com/cortex-xdr/onboard-cortex-xdr/deployment-steps/cortex-xdr-onboarding-checklist.md#cortex-aes-tenants).

To give users access to Agentic Endpoint Security, assign them one of the following predefined roles:

| Role                   | Access                                                                     |
| ---------------------- | -------------------------------------------------------------------------- |
| Viewer                 | View all Agentic Endpoint Security pages, except **Settings**.             |
| Security Admin         | View and edit all Agentic Endpoint Security pages, except **Settings**.    |
| Instance Administrator | View and edit all Agentic Endpoint Security pages, including **Settings**. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/gateway-guide/activate-a-tenant/activate-cortex-aes-tenant.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
