[Yandex Cloud documentation](../../../index.md) > [Yandex Resource Manager](../../index.md) > [Step-by-step guides](../index.md) > Cloud > Getting a cloud ID

# Getting a cloud ID

{% list tabs group=instructions %}

- Management console {#console}

  You can get the cloud ID on the dashboard or on the **Cloud details** tab.

  **Getting ID on the dashboard**

  1. In the [management console](https://console.yandex.cloud), in the top panel, click ![image](../../../_assets/console-icons/layout-side-content-left.svg) or ![image](../../../_assets/console-icons/chevron-down.svg) and select the [cloud](../../concepts/resources-hierarchy.md#cloud).
  1. The cloud ID is specified at the top, below the cloud name. To copy the ID, hover over it and click ![image](../../../_assets/console-icons/copy.svg).

     {% cut "ID location" %}
    
     ![cloud-dashboard-id](../../../_assets/resource-manager/cloud-dashboard-id.png)

     {% endcut %}

  **Getting ID on the Cloud details tab**

  1. In the [management console](https://console.yandex.cloud), in the top panel, click ![image](../../../_assets/console-icons/layout-side-content-left.svg) or ![image](../../../_assets/console-icons/chevron-down.svg) and select the [cloud](../../concepts/resources-hierarchy.md#cloud).
  1. To the right of the cloud name, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Cloud details**.
  1. In the window that opens, you will find the cloud ID in the **Cloud ID** field. To copy the ID, hover over it and click ![image](../../../_assets/console-icons/copy.svg).

     {% cut "ID location" %}

     ![cloud-info-menu](../../../_assets/resource-manager/cloud-info-option.png)
    
     ![cloud-info-id](../../../_assets/resource-manager/cloud-info-id.png)

     {% endcut %}

- CLI {#cli}

  If you know the [cloud's](../../concepts/resources-hierarchy.md#cloud) name, set it as a `get` command parameter:

  ```
  yc resource-manager cloud get <cloud_name>
  ```
  Result:

  ```
  id: b1gd129pp9ha********
  ...
  ```

  If you do not know the cloud ID, retrieve a list of clouds with their IDs:

  ```
  yc resource-manager cloud list
  ```
  Result:
  
  ```
  +----------------------+------------+----------------------+--------+
  |          ID          |    NAME    |   ORGANIZATION ID    | LABELS |
  +----------------------+------------+----------------------+--------+
  | b1g66mft1vop******** | my-cloud-1 | bpf2c65rqcl8******** |        |
  | b1gd129pp9ha******** | my-cloud-2 | bpf2c65rqcl8******** |        |
  +----------------------+------------+----------------------+--------+
  ```

- API {#api}

  To get a list of [clouds](../../concepts/resources-hierarchy.md#cloud) with their IDs, use the [list](../../api-ref/Cloud/list.md) REST API method for the [Cloud](../../api-ref/Cloud/index.md) resource or the [CloudService/List](../../api-ref/grpc/Cloud/list.md) gRPC API call.

{% endlist %}