> 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-ios-guide/8.0/cortex-xdr-agent-ios-app/install-and-connect-cortex-xdr-agent-app-for-ios/install-cortex-xdr-agent-ios-app-on-the-ios-device.md).

# Install Cortex XDR Agent iOS App on the iOS Device

The Cortex XDR administrator must send a link to download the app from the Apple App Store. The download link provides access to the app, which is otherwise hidden in the App 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.

1. Refer to the instructions and links sent to you by your Cortex XDR administrator.
2. The Onboarding wizard takes you through the required permission settings. For full protection, agree to authorize the permissions, allow notifications, and allow location following.
   1. The install wizard opens **Settings**. Set **Location** to **Always**.
   2. In **Notifications**, find **Call Blocking Notifications**, enable Cortex XDR and return to the setup.
   3. The install wizard opens **Settings**. Find **Unknown and Spam messages** and enable for Cortex XDR.

If all the permissions required are granted and call blocking is enabled the Cortex XDR home screen will show the status **Protected**.

For full protection, these notifications and settings must be allowed and enabled. If any of the notifications are disabled, the Cortex XDR home screen will show **Partially Protected**.

During onboarding, you will grant location permission. However, it should be noted that when the Corder XDR app is running in the background, iOS will inform you with another pop up that "Cortex XDR has been using your location in the background". When this popup is shown, you must answer **Always Allow**. If you do not grant this "Always allow" permission, the app will change to the **Partially Protected** operational status.

In such a state, the Open Permissions Wizard will appear under the Cortex XDR logo. Tapping the button shows instructions for granting the required permissions and enabling the required extensions.

{% hint style="info" %}

### Note

Manual startup of the Cortex XDR Agent app is required after every restart of the iOS device.
{% endhint %}


---

# 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-ios-guide/8.0/cortex-xdr-agent-ios-app/install-and-connect-cortex-xdr-agent-app-for-ios/install-cortex-xdr-agent-ios-app-on-the-ios-device.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.
