# View MongoDB Clusters

After successfully configuring your MongoDB clusters, you can modify specific details, restore backups, or delete a specific cluster if it is no longer required.

To modify the values, follow these steps:

* In the **DCD**, go to **Menu** > **Databases** > **MongoDB**. A list of all MongoDB clusters is displayed.

{% hint style="success" %}
**Result:** You can view the total number of resources allocated and the list of all clusters in addition to the following details:

* **NAME:** Displays the name of the cluster. Select the name of the cluster to view its [<mark style="color:blue;">details</mark>](#view-individual-cluster-details).
* **STATE:** Displays the state of the respective cluster:
  * **BUSY:** When the cluster is being created or updated. For example, after creation, modifying its details, or after restoration.
  * **AVAILABLE:** When the cluster is available and running normally.
  * **DESTROYING:** When the cluster is being deleted.
  * **FAILED:** An error occurred.
* **LOCATION:** Displays the location where the cluster is located.
* **INSTANCES:** Displays the number of instances.
* **VERSION:** The version selected during cluster creation.
* **EDITION:** The edition selected during cluster creation.
* **OPTIONS:** Select ![Options menu](/files/zMw81MF9KCPxOHBMLSog) to perform the following:
  * **Details:** Select to view the [<mark style="color:blue;">details</mark>](#view-individual-cluster-details) of the respective cluster.
  * **Edit:** Select to [<mark style="color:blue;">edit</mark>](/cloud/databases/mongodb/how-tos/update-mongodb-cluster.md) the respective cluster.
  * **Delete:** Select to delete the corresponding cluster. In the dialog box that appears, select **Delete** to confirm deletion. For more information, see [<mark style="color:blue;">Delete a MongoDB Cluster</mark>](/cloud/databases/mongodb/how-tos/delete-cluster.md).<br>
    {% endhint %}

![List of MongoDB clusters](/files/PxF8SyRStFnkkOW002bp)

## View individual Cluster details

You can view the details of a specific cluster. To do so, follow these steps:

1\. In the **DCD**, go to **Menu** > **Databases** > **MongoDB**.

A list of all MongoDB clusters is displayed.

2\. Select a cluster from the list by clicking on its name. Alternatively, click **Details** in the **OPTIONS** column.

![Cluster selection to view its details](/files/LmLDvPIwZaPXviXg4Ued)

{% hint style="success" %}
**Result:** You can copy the cluster's **Cluster UUID** and **Connection URI** from the **Cluster details** tab. Additionally, you can also do the following:

* [<mark style="color:blue;">Edit a MongoDB Cluster</mark>](/cloud/databases/mongodb/how-tos/update-mongodb-cluster.md)
* [<mark style="color:blue;">Delete a MongoDB cluster</mark>](/cloud/databases/mongodb/how-tos/delete-cluster.md)
* [<mark style="color:blue;">Restore a MongoDB Cluster through the DCD</mark>](/cloud/databases/mongodb/how-tos/restore-mongodb-cluster.md)
* [<mark style="color:blue;">Define roles</mark>](#user-management)
  {% endhint %}

![View the details of a MongoDB cluster](/files/SYttjihjfYoWDRPD99pH)

## User management

To assign users and define roles, follow these steps:

1\. In the **DCD**, go to **Menu** > **Databases** > **MongoDB**.

A list of all MongoDB clusters is displayed.

2\. Select a cluster from the list for which you want to assign users and define roles.

3\. From the **MongoDB cluster overview**, go to **User management** tab.

4\. Click **Add user** to create and manage user roles for the MongoDB cluster.

![User management](/files/CTVuWv5CvPqpFX1SG4ze)

5\. Enter the **User** name, **Password**, select the **Role** from the drop-down list that shows all MongoDB's built-in roles, and enter the **Database** name. You can add one or more roles. For more information, refer to the [<mark style="color:blue;">MongoDB Documentation</mark>](https://www.mongodb.com/docs/manual/reference/built-in-roles/).

![Define roles](/files/PFF1zAzefnV8bVFNR9sj)

6\. Click **Add**.

{% hint style="success" %}
**Result:** The user is successfully created and displayed in the **Manage users** overview page.
{% endhint %}

![Successful user creation](/files/bblkHTgJg2i4N87JNOGW)

You can edit the user's password, role, and database details or delete the user from the **Manage users** page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/databases/mongodb/how-tos/view-clusters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
