# 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="https://38998153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCL8wF0y1T2vLnm3yR2MW%2Fuploads%2FWZAyHsZJY7lEon3MZAUm%2FtechnigalGuides_findMyInstallationIOS_090625.png?alt=media&#x26;token=cf8f278c-ace4-4ced-a6a6-3fd39dc6a2f0" 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="https://38998153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCL8wF0y1T2vLnm3yR2MW%2Fuploads%2F7mADZDDUwiov2cAorGBT%2FtechnicalGuides_selectDeviceConsole_090625.png?alt=media&#x26;token=d21b613f-273a-4d56-b104-b046f5a324bf" 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="https://38998153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCL8wF0y1T2vLnm3yR2MW%2Fuploads%2FdUuucK27ZUaVx1wJPwiy%2FtechnicalGuides_searchBatchLogsConsole_090625.png?alt=media&#x26;token=2a165446-35ca-4d28-b8ba-a0fdad1f7671" 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="https://38998153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCL8wF0y1T2vLnm3yR2MW%2Fuploads%2FLTnbfMXOgOo6HI2ca6NV%2FtechnicalGuides_installationIDInConsole_090625.png?alt=media&#x26;token=852e3cd1-a73b-4c93-8890-b16cbe649b9b" 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.
