> 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/cortex-xdr/onboard-cortex-xdr/cortex-aes-tenants/set-up-a-cortex-aes-tenant.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Set up a Cortex AES tenant

Set up your Cortex AES tenant to deploy Targeted agents and manage Agentic Endpoint Security.

{% hint style="info" %}

#### Note

If you're an existing Cortex XDR customer, you can manage the Agentic Endpoint Security module from Cortex XDR by pairing the Cortex AES tenant with your Cortex XDR tenant. For more information, see [Pair Cortex AES for existing Cortex XDR customers](https://cortex-docs.paloaltonetworks.com/cortex-xdr/onboard-cortex-xdr/cortex-aes-tenants/pair-cortex-aes-for-existing-cortex-xdr-customers.md).
{% endhint %}

To set up a Cortex AES tenant, do the following:

<table><thead><tr><th width="200">Step</th><th width="240">Action</th><th width="540">Details</th></tr></thead><tbody><tr><td>Step 1: Activate your Cortex AES tenant</td><td><a href="https://cortex-docs.paloaltonetworks.com/gateway-guide/activate-a-tenant/activate-cortex-aes-tenant.md">Activate and sign in to Cortex Gateway</a></td><td>Follow the instructions in the activation email, and enable access to the required resources.</td></tr><tr><td>Step 2: Set up users</td><td><a href="https://cortex-docs.paloaltonetworks.com/cortex-xdr/onboard-cortex-xdr/deployment-steps/set-up-users-and-roles/assign-user-roles-and-groups.md">Assign roles to users</a></td><td><p>Assign each user one of the following predefined roles:</p><ul><li><strong>Viewer</strong>: View all Agentic Endpoint Security pages, except <strong>Settings</strong>.</li><li><strong>Security Admin</strong>: View and edit all Agentic Endpoint Security pages, except <strong>Settings</strong>.</li><li><strong>Instance Administrator</strong>: View and edit all Agentic Endpoint Security pages, including <strong>Settings</strong>.</li></ul></td></tr><tr><td>Step 3: Install agents</td><td><a href="https://cortex-docs.paloaltonetworks.com/cortex-xdr/protect-your-endpoints/install-and-manage-endpoints/create-an-agent-installation-package.md">Create an installation package</a></td><td>Only the <strong>Standalone</strong> package type is available, and the package installs the Targeted agent type.</td></tr><tr><td></td><td><a href="https://cortex-docs.paloaltonetworks.com/cortex-xdr/onboard-cortex-xdr/deployment-steps/install-cortex-xdr-agents/deploy-agent-installation-packages.md">Deploy the installation package</a></td><td>Install the package on your Windows, macOS, and Linux endpoints.</td></tr><tr><td>Step 4: Turn on AES</td><td><a href="https://cortex-docs.paloaltonetworks.com/cortex-xdr/protect-your-endpoints/install-and-manage-endpoints/set-up-endpoint-protection/set-up-endpoint-profiles-and-exception-rules/set-up-agent-settings-profiles.md#settings-by-agent-type">Configure and apply an Agent Settings profile</a></td><td>On the <strong>Targeted</strong> tab, set <strong>AES run-mode</strong> to <strong>Enabled</strong>, and apply the profile to your endpoints in a policy rule.</td></tr></tbody></table>


---

# 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/cortex-xdr/onboard-cortex-xdr/cortex-aes-tenants/set-up-a-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.
