> 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-agent-android-guide/9.3/install-the-agent-app-for-android.md).

# Install the Agent App for Android

Learn about the tasks required prior to and during installation of the Cortex XDR agent app for Android.

## Prepare for Cortex XDR Agent App Installation (administrator task)

The Cortex XDR administrator prepares the installation package from Cortex XDR, and then sends a link with installation instructions to the endpoint Android device user. This link contains the Distribution ID required to associate the app with the Cortex XDR tenant.

1. Create the agent installation package.
   1. From Cortex XDR, select **Endpoints → Agent Installations**.
   2. Create a new installation package.
   3. Enter a unique **Name** and an optional **Description** to identify the installation package.

      The package Name must be no more than 100 characters and can contain letters, numbers, hyphens, underscores, commas, and spaces.
   4. For **Package Type**, select **Standalone Installers**.
   5. For **Platform**, select **Android**, and optionally, add a Description.
   6. Create the package.

      Cortex XDR prepares the installation package and makes it available on the Agent Installations page.
2. Prepare the information for the endpoint user.
   1. Prepare an email or text message for the endpoint user.
   2. From **Endpoints → Agent Installations**, when the status of the package shows `Completed`, right-click, and click **View Installation Links**.
   3. Copy the installation link and paste it in the email/text message.

      For example:

      `https://play.google.com/store/apps/details?id=com.paloaltonetworks.trapsa&referrer=26218751f5bb4671b92c8c4XXXXXXXX`
3. Copy the following instructions to the message, and send the message to the endpoint user.
   1. From your Android device, open the download link for the Cortex XDR agent app.
   2. **Note:**

      > This link accesses the Cortex XDR app in the Google Play Store. Do not attempt to open this link in a browser.
   3. Install the app.
   4. When installation is complete, open the app.
   5. Enter your Username.
   6. Activate the app. If you are prompted to change Android settings on your device, such as missing permissions, follow the on-screen instructions.

      Your device is now activated and connected to the Cortex XDR server.
   7. Scan your device now, using **Scan Now**.
   8. (Optional) Configure additional app settings. From the home page, open the menu at the top left, and then select **Settings**. From this area, you can configure settings such as your preferred **Language** and preferences for **Notifications** that Cortex XDR displays.

## Install the Cortex XDR Agent App on your Android Device (endpoint user task)

The Cortex XDR administrator must send a link to download the app from the Google Play Store. The download link provides access to the app, which is otherwise hidden in the Google Play Store, and a unique Distribution ID. The Distribution ID contains the pairing code that is required to connect the app to the Cortex XDR server.

* Follow the instructions sent to you by your Cortex XDR administrator.


---

# 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-agent-android-guide/9.3/install-the-agent-app-for-android.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.
