> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudcruise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Desktop Images

> Run workflows on a Windows desktop with your own apps installed

Some workflows need a Windows app instead of a website: a practice management system, a billing client, or a desktop app that your team signs in to every day. A **desktop image** is a saved Windows machine with those apps installed. Each run of a workflow that uses the image starts on a fresh Windows machine built from it, so every run begins from the same clean state.

You manage desktop images under **Workspace Settings → Desktop Images**. Workspace owners and members can create, update and delete images; viewers can see them.

> [!NOTE]
>
> Desktop images are in early access. Contact CloudCruise to turn them on for your workspace.

## Create a desktop image

**1. Start a machine**

Go to **Workspace Settings → Desktop Images**, choose **New image**, give it a name and choose **Set up the machine**. We start a Windows machine for you. It takes a few minutes, and the live view opens when it is ready.

**2. Set it up in the browser**

Use the live view to set the machine up the way your workflows need it:

* Install your apps.
* Open each app once so it finishes its first-run setup.
* Put a shortcut on the desktop for every app your workflows should open. Those become the apps workflows can open, named like the shortcut.
* Sign out of every app and website.

> [!WARNING]
>
> Don't save passwords on the machine. Workflows sign in with the logins in your [Vault](https://docs.cloudcruise.com/concepts/vault.md).

**3. Save it**

Choose **Save image**. Saving takes about 15 minutes. You can leave the page and come back: the image shows **Ready** under Desktop Images when it is done.

> [!NOTE]
>
> A setup machine stays open for a limited time, shown on the page. You can add 30 minutes once. If the time runs out before you save, the machine closes and anything that wasn't saved is gone.

## Run a workflow on a desktop image

When you create a workflow, set **Runs on** to **Windows Desktop** and pick the **Desktop image**. The [Builder Agent](https://docs.cloudcruise.com/concepts/builder-agent.md) then opens on a Windows machine with that image's apps installed, and every run of the workflow starts on a machine built from the image.

To change the image of an existing workflow, open the workflow's **General** tab and pick another image under **Runs on**. Future runs move to the new image's machines. Runs that are already going finish where they are.

## Update an image

Open the image under Desktop Images and choose **Update image**. A machine starts from the latest saved version, with everything you set up before. Make your changes, then choose **Save update**. You can describe the change in **What changed?**; the note is shown next to the new version under **Versions**.

* Workflows keep using the current version until the update is saved. After that, new runs start on the new version.
* Apps, files and settings you remove during an update are removed from the image too.
* If the machine closes before you save, the update isn't saved and the image stays as it was.

## Delete an image

Expand the image under Desktop Images and choose **Delete image**. Deleting can't be undone.

You can't delete an image while workflows run on it. The dialog lists those workflows so you can move them to another image first. You also can't delete an image while its machine is open: save or discard the machine first.

## Use desktop images through the API

Every desktop image has an ID. Use it in these fields:

| Field | Where | What it does |
| - | - | - |
| `desktop_image_id` | [Create a workflow](https://docs.cloudcruise.com/workflow-api/create-workflow.md) and [update a workflow](https://docs.cloudcruise.com/workflow-api/update-workflow.md) | The workflow runs on this desktop image. Send `null` to make it a browser workflow again, or leave the field out to keep the current image. |
| `desktopImageId` | Starting a builder conversation (`POST /workflow-builder/agent/session`, and the `builder.start` tool for coding agents) | The builder starts on a Windows machine built from this image instead of a browser. |

The image must be saved and belong to the same workspace. A workflow's `desktop_image_id` is also returned when you [get the workflow](https://docs.cloudcruise.com/workflow-api/get-workflow.md).

```json Create a workflow on a desktop image theme={null}
{
  "name": "Check eligibility",
  "desktop_image_id": "3f1c2a7e-9b4d-4e8a-a1f0-6c2d9e5b7a31",
  "nodes": [],
  "edges": {},
  "input_schema": {},
  "output_schema": {},
  "max_retries": 1
}
```

> [!NOTE]
>
> Proxy settings don't apply to builder conversations on a desktop image.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.