<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "marketplacekit",
  "identifier" : "/documentation/MarketplaceKit/AppLibrary/requestInlineAppInstallation(_:subjectToken:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MarketplaceKit"
    ],
    "preciseIdentifier" : "s:14MarketplaceKit10AppLibraryC013requestInlineC12Installation_12subjectTokenyAC0G7RequestV_SSSgtYaKF"
  },
  "title" : "requestInlineAppInstallation(_:subjectToken:)"
}
-->

# requestInlineAppInstallation(_:subjectToken:)

Requests the installation of a web-distributed app that you also distribute.

```
nonisolated final func requestInlineAppInstallation(_ request: AppLibrary.InstallationRequest, subjectToken: String?) async throws
```

## Parameters

`request`

An installation request that describes the alternative distribution package URL, account, and install verification token for the app to install.

`subjectToken`

An optional authentication token equivalent to the [`MarketplaceKitURIScheme`](/documentation/MarketplaceKit/MarketplaceKitURIScheme) `token` parameter.

## Discussion

The system verifies that the app to install meets the following requirements:

- From the same developer account as the app that calls the method.
- Approved for web distribution. For information about the approval process, see [Participating in alternative distribution for specific regions](/documentation/marketplacekit/participating-in-alternative-distribution-for-specific-regions).

If the app fails to meet these criteria, the system throws [`MarketplaceKitError`](/documentation/MarketplaceKit/MarketplaceKitError).

If the app meets the criteria, the system presents a sheet that prompts the person to approve the installation. When the person gives their approval, the system proceeds with the installation using the [`AppLibrary.InstallationRequest`](/documentation/MarketplaceKit/AppLibrary/InstallationRequest) you provide and an optional authentication token. If the installation request fails (for example, if your web server doesn’t provide the app) or the person declines the prompt, the method throws [`MarketplaceKitError`](/documentation/MarketplaceKit/MarketplaceKitError).

> Important: The `requestInlineAppInstallation(_:subjectToken:)` method is for use in the European Union. Only call this method to install an app owned and controlled by you.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)