> 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/5.0/traps-app-5.0-for-android/install-traps-app-for-android.md).

# Install Traps App for Android

To install the Traps app, you must Create an Installation Package from the Traps management service and obtain the download link. This link contains the distribution ID required to associate the app with your Traps management service tenant. You can send this link to your end users to have them install the Traps 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 Traps app.

      This opens the Traps app in the Google Play. 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 Traps to monitor apps.

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

      <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 Traps app usage settings and then return to the Traps app.
   6. Activate the Traps app for Android.

      Enter the **First name** and **Last name** of the end user, and the user’s **Company email address** and then click **ACTIVATE**.

      The Traps management service 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, Traps 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></div>
   7. (Optional) Configure additional app settings.

      From the **Summary** page, select the Traps 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 Traps 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/5.0/traps-app-5.0-for-android/install-traps-app-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.
