> 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/7.1.3/install-cortex-xdr-agent-app-7.1-for-android.md).

# Install Cortex XDR Agent App 7.1 for Android

To install the Cortex XDR app, first [Create an Agent Installation Package](/cortex-xdr-3.x/cortex-xdr-3.x-documentation/endpoint-security/install-and-manage-endpoints/set-up-endpoint-protection/create-an-agent-installation-package.md) from Cortex XDR and obtain the download link. This link contains the distribution ID required to associate the app with your Cortex XDR tenant. Send this link to your end users to install the Cortex XDR app.

1. Obtain the link for your Android distribution package and send the link to your end users.
2. Instruct the end user to perform the following steps:
   1. From the Android endpoint, open the custom download link for the Cortex XDR app.

      This opens the Cortex XDR app in the Google Play Store. Do not attempt to open the link in a browser.
   2. **Install** the app and follow the on-screen prompts to complete installation.
   3. **Open** the app when installation completes.
   4. (Android 5.1 and later releases) Grant access to Cortex XDR to monitor apps.

      If additional permissions are required for your Android version, the Cortex XDR app prompts you to **Permit usage access**.

      ![](/files/epteOF8O4TXqCaWmrtCp)

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>This setting may have a different name depending on your Android version.</p></div>
   5. Exit the Cortex XDR app usage settings and then return to the Cortex XDR app.
   6. Activate the Cortex XDR app for Android.

      Enter the **First name** and **Last name** of the end user.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>Cortex XDR uses these names to comprise the endpoint name by adding a separating dash: &#x3C;<code>firstname</code>><code>—</code>&#x3C;<code>lastname</code>></p><p>.</p></div>

      Next, enter the user’s **Company email address** and then click **ACTIVATE**.

      ![](/files/krHUMqMH406pNx6BGTrq)

      Cortex XDR uses this information to identify the endpoint.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Tip</h3><p>If activation fails, the Cortex XDR app displays a notification with a link to manually supply the custom package URL or distribution ID. For example, if your custom package URL is <strong><code>https://play.google.com/store/apps/details?id=com.paloaltonetworks.trapsa&#x26;referrer=123456abcdef</code></strong>, you can specify the entire URL, or, you can specify only the distribution ID which is the string following <strong><code>referrer=</code></strong> in the URL (for example, 123456abcdef). To retry activation, click <strong>ACTIVATE BY URL</strong> and supply the required information.</p><p><img src="/files/2sVuvhe38VNBsBiXDWRf" alt="" data-size="original"></p></div>
   7. (Optional) Configure additional app settings.

      From the **Summary** page, select the Cortex XDR 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.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-agent-android-guide/7.1.3/install-cortex-xdr-agent-app-7.1-for-android.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
