# Install eSIM

Use the `installProfile` to install an eSIM profile on a user's device. The device operating system will show up an installation wizard for the user.&#x20;

Use the output of the `getProfile` method (see [Prepare eSIM Installation](/android-sdk/activate-inventory-item.md)) to install a dedicated profile on the device.

```kotlin
val profile = <use getProfile method>
Gigastore.installProfile(CONTEXT_PLACEHOLDER,
                         profile) { profile, error ->
    Log.i("GigastoreSDK", "Profile: $profile")
    Log.i("GigastoreSDK", "Error: $error")
})
```

Make sure to replace `CONTEXT_PLACEHOLDER` with your current Activity or Application context.

This function returns either the installed profile or an error object containing the error.

### Release Mode

To install an eSIM profile directly on an Android app, the app needs to be signed properly, and the SHA1 of the Keystore needs to be registered at Gigastore.

As debug builds often don't sign the app with the production keystore, please make sure to test the installation with the keystore by running a **Release Variant Build**.


---

# 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://docs.giga.store/android-sdk/install-profile.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.
