# Install Purchased Apps and Algorithms

> Install active marketplace purchases onto provider devices.

Before installing, read compatible releases for the purchased item and device.

Use the dashboard for normal install operations.

## Before You Start

Confirm:

- checkout has completed,
- the purchase is active,
- the target device is owned by or linked to the provider organisation,
- the purchased app or algorithm has a linked Infuse IoT release compatible with the device,
- production install queueing is enabled for the environment.

## In the Dashboard

1. Open **Infuse-Marketplace**.
2. Select the marketplace instance.
3. Open **Provider**.
4. Open **Devices**.
5. Search for the target device.
6. Open the device.
7. Open the **Purchases** tab.
8. Select the purchased app or algorithm.
9. Review compatible releases.
10. Choose the release version to install.
11. Queue the install.
12. Track install progress from the install status card.

If no compatible releases are shown, check the linked Infuse IoT release metadata and the device board/state.

## Demo Lab

Use **Demo Lab** only for demonstration workflows. Demo installs are isolated from production checkout and install flows and use fixed demo resources.

## What Happens Behind the Scenes

Infuse checks the purchase entitlement, device ownership, linked Infuse IoT release compatibility, and requested version. If the request is accepted, Infuse hands the install request to Infuse IoT and returns install tracking information.

## API Equivalent

```http
GET /marketplace/providers/devices/{deviceId}/purchases/{marketplaceItemId}/releases
Authorization: Bearer {provider_access_token}
```

Then queue the selected version for install.

```http
POST /marketplace/providers/devices/{deviceId}/purchases/{marketplaceItemId}/install
Authorization: Bearer {provider_access_token}
Content-Type: application/json

{
  "version": "1.4.2"
}
```

Track the install RPC status:

```http
GET /marketplace/providers/rpc/{rpcId}
Authorization: Bearer {provider_access_token}
```
