# How to find my Installation ID on an iOS device?

Usually, using the Custom User ID is the easiest way to locate your device on Batch and register yourself as a tester on the platform.

However, this identifier isn't always available in Batch:

* It's only set for logged-in users.
* You may not know your Custom User ID.

This is why Batch created the **Installation ID**. This ID is unique and is generated when the application is installed.

{% hint style="danger" %}
The Installation ID is renewed every time the app is uninstalled/reinstalled.
{% endhint %}

You can retrieve your Installation ID following the methods below:

## Option A: Use the "Find my installation" feature <a href="#h_6121f721eb" id="h_6121f721eb"></a>

From version 1.18 of our SDK, Batch will copy the Installation ID to the clipboard when the application appears in the foreground 4 times within 20 seconds.

Here is how to do it:

{% stepper %}
{% step %}
Close your application (from the background)

{% endstep %}

{% step %}
Reopen it and switch to the background 4 times in a row in less than 20 seconds

{% endstep %}

{% step %}
Open a clipboard and paste the text: this is your Installation ID!
{% endstep %}
{% endstepper %}

You can also follow the video below:&#x20;

{% embed url="<https://www.loom.com/share/12629c7cc7894a8da49ff190880289dd?sid=84f054a1-2b64-4580-ac90-1fc97a9f1a69>" %}

{% hint style="warning" %}
If you are on an older version of the SDK or if you have deactivated this feature via [our dedicated method](https://doc.batch.com/developer/sdk/ios/troubleshooting#copying-the-installation-id), we recommend displaying the Installation ID somewhere in the app: [Displaying the installation ID](https://doc.batch.com/developer/sdk/ios/troubleshooting#displaying-the-installation-id).

\
If it hasn't been done, you'll still be able to find your Installation ID following the option detailed below.
{% endhint %}

## Option B: Use the Mac Console <a href="#h_fcd104b62b" id="h_fcd104b62b"></a>

{% stepper %}
{% step %}

### Prerequisites

To find your Installation ID for an iOS app, you need to have your device plugged into a Mac.
{% endstep %}

{% step %}

### Open the console <a href="#h_64993f035f" id="h_64993f035f"></a>

Use Spotlight (CMD + Space) to locate the Console app, and open it.

<figure><img src="/files/YvCwhCtz6CMMGGOyRrUi" alt="A screenshot of a Mac OS search showing the app &#x22;Console&#x22; after searching for &#x22;console&#x22;. " width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Select your device <a href="#h_359977aa1b" id="h_359977aa1b"></a>

Your device should appear in the left pane; select it. If it doesn't appear, please check that you're correctly plugged into your computer.

<figure><img src="/files/3WSURroqjOeVQlWpeiMK" alt="The macOS Console app displays device logs and reports. The selected &#x22;iPhone Claire&#x22; under &#x22;Devices&#x22; indicates logs for that phone are being viewed. " width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Find your Installation ID <a href="#h_5ff67e41ac" id="h_5ff67e41ac"></a>

Once your device is selected, open your app on your device (smartphone/tablet).\
Then, filter the results of the logs in the Console: type `com.batch.ios` and select the "Subsystem" category.

<figure><img src="/files/JaHOJw82xDo3dZ5ZGeH6" alt="In the macOS Console app, the key action is to search for &#x22;com.batch.ios&#x22; by selecting &#x22;Subsystem&#x22; as the search category. This filters the logs to show messages from the Batch iOS subsystem."><figcaption></figcaption></figure>

Your Installation ID will appear in the logs:

<figure><img src="/files/yiE4l6zzmcIBWO4i2KuS" alt="The macOS Console app now shows a single log entry for &#x22;com.batch.ios&#x22; from &#x22;Eurosport Player&#x22;, containing the &#x22;Installation ID: 8CA9EEB9-F8FB-4934-AB03-DE0BAA9F4774&#x22;. This ID is highlighted in the detailed view."><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

You can now copy it and find it in the dashboard's Profile view. For more information, see [how to find a user's profile on the dashboard](https://doc.batch.com/guides-and-best-practices/profiles/how-to-find-a-users-profile-on-the-dashboard).

The Installation ID has many uses. Indeed, it can be used to send test push notifications and retrieve all the data linked to the ID.


---

# Agent Instructions: 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:

```
GET https://doc.batch.com/developer/technical-guides/how-to-guides/mobile/ios-specific/how-to-find-my-installation-id-on-an-ios-device.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
