[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Desktop](../../index.md) > [Step-by-step guides](../index.md) > Desktops > Creating a desktop

# Creating a desktop

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder where you want to create a [desktop](../../concepts/desktops-and-groups.md).
  1. Navigate to **Cloud Desktop**.
  1. In the left-hand panel, select ![image](../../../_assets/console-icons/display.svg) **Desktops**.
  1. Click **Create desktop**.
  1. Select a desktop group.
  1. Specify your desktop subnet.

      {% note info %}

      Make sure to [configure a NAT gateway](../../../vpc/operations/create-nat-gateway.md) in this subnet, so your desktop will have internet access.

      {% endnote %}

  1. Specify the desktop user.
  1. Click **Create**.

- Yandex Cloud CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../../cli/quickstart.md#install).

  1. See the description of the [CLI](../../../cli/index.md) command for creating a [desktop](../../concepts/desktops-and-groups.md):

      ```bash
      yc desktops desktop create --help
      ```

  1. Select a [desktop group](../../concepts/desktops-and-groups.md):

      ```bash
      yc desktops group list
      ```
      
      Result:
      
      ```text
      +----------------------+------------------+--------+---------------------+
      |          ID          |       NAME       | STATUS |   CREATED (UTC-0)   |
      +----------------------+------------------+--------+---------------------+
      | e3v1rbln45tl******** | my-desktop-group | ACTIVE | 2024-10-09 20:12:00 |
      | e3v7ikg3d4ga******** | ubuntu-group     | ACTIVE | 2024-10-09 19:34:10 |
      | e3v80f10pc01******** | kosmos-group     | ACTIVE | 2024-10-09 18:58:17 |
      +----------------------+------------------+--------+---------------------+
      ```

  1. Create a desktop:

      ```bash
      yc desktops desktop create \
        --desktop-group-id <desktop_group_ID> \
        --user-account-id <user_ID>
      ```

      Where:

      * `--desktop-group-id`: Desktop group ID.
      * `--user-account-id`: Desktop user ID.

      Result:
      
      ```text
      id: e3vmvhgbgac4********
      folder_id: b1g681qpemb4********
      desktop_group_id: e3v1rbln45tl********
      created_at: "2024-10-09T22:42:28.020Z"
      name: cli-desktop-5-6aa9b029038119b1
      resources:
        memory: "4294967296"
        cores: "2"
        core_fraction: "100"
      network_interfaces:
        - network_id: enp0asmd9pr9********
          subnet_id: e2lb1da2dd9v********
      users:
        - subject_id: aje9k8luj4qf********
      ```

- API {#api}

  Use the [create](../../api-ref/Desktop/create.md) REST API method for the [Desktop](../../api-ref/Desktop/index.md) resource or the [DesktopService/Create](../../api-ref/grpc/Desktop/create.md) gRPC API call.

{% endlist %}

Once the desktop appears in the list, you can [connect](connect.md) to it.