---
name: cloudant-gen2-use-dashboard
title: Using the IBM Cloudant Dashboard
description: By using the IBM&reg; Cloudant&reg; for IBM Cloud&reg; Dashboard, you create an IBM Cloudant database, populate the database with data, and retrieve data by using queries or API endpoints. For more information about API endpoints, see the API and SDK reference.
last-updated: 2026-07-07
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/cloudant-gen2?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Using the IBM Cloudant Dashboard
{: #navigate-the-dashboard}
{: toc-content-type="tutorial"}
{: toc-services="Cloudant"}
{: toc-completion-time="20m"}

By using the IBM&reg; Cloudant&reg; for IBM Cloud&reg; Dashboard, you create an IBM Cloudant database, populate the database with data, and retrieve data by using queries or API endpoints. For more information about API endpoints, see the [API and SDK reference](https://cloud.ibm.com/docs/apis/cloudant/cloudant-gen2#intro){: external}.
{: shortdesc}

## Objectives
{: #objectives-navigate}

1. Open the IBM Cloudant Dashboard.
2. Create a database.
3. Add JSON documents to the database and run a query.
4. Replicate a database.
5. Monitor active tasks.

## Before you begin
{: #prerequisites-nav}

Create a service instance in IBM Cloud before you start this tutorial. You can follow the instructions in the [Getting started](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-getting-started-with-cloudant&format=markdown) tutorial to create one.

## Opening your service instance on IBM Cloudant Dashboard
{: #using-the-ibm-cloudant-dashboard}
{: step}

Open your IBM Cloudant service instance by following these steps:

1.  Go to the IBM Cloud Dashboard.

2.  Click **Services** in the Resource list.

3.  From the Services section, click the `Cloudant-o7` instance that you created in the *Getting started* tutorial, and click **Launch Dashboard**.
    The IBM Cloudant Dashboard opens.

Now, you can create a database and run queries against it.

## Creating a database
{: #creating-a-database-dt}
{: step}

In this exercise, you create the `dashboard-demo` [database](https://cloud.ibm.com/docs/apis/cloudant/cloudant-gen2#putdatabase){: external}, which
is the database that you use in this tutorial.

1.  From the IBM Cloudant Dashboard, click **Create database**.

    The Create database window opens.

2.  Enter the database name `dashboard-demo`.

3.  Select **Non-partitioned**, and click **Create**.

    The `dashboard-demo` database opens automatically.

Now, you can create some documents.

## Adding documents to the database
{: #creating-documents-in-the-database-dt}
{: step}

The [documents](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-documents&format=markdown#documents)
that you create in this exercise include the data that you use to query the `dashboard-demo` database in later exercises.

1.  Click **Create document**.

    The New Document window opens.

2.  Copy the following sample text and replace the existing text in the new document.
    Use the following sample text for document 1:

    ```json
    {
      "firstname": "Sally",
      "lastname": "Brown",
      "age": 16,
      "location": "New York City, NY",
      "_id": "doc1"
    }
    ```
    {: codeblock}

3.  Repeat steps 1 and 2 to add the remaining four documents to the database.
   Use the following sample text for document 2:

    ```json
    {
      "firstname": "John",
      "lastname": "Brown",
      "age": 21,
      "location": "New York City, NY",
      "_id": "doc2"
    }
    ```
    {: codeblock}

    Use the following sample text for document 3:

    ```json
    {
      "firstname": "Greg",
      "lastname": "Greene",
      "age": 35,
      "location": "San Diego, CA",
      "_id": "doc3"
    }
    ```
    {: codeblock}

    Use the following sample text for document 4:

    ```json
    {
      "firstname": "Anna",
      "lastname": "Greene",
      "age": 44,
      "location": "Baton Rouge, LA",
      "_id": "doc4"
    }
    ```
    {: codeblock}

    Use the following sample text for document 5:

    ```json
    {
      "firstname": "Lois",
      "lastname": "Brown",
      "age": 33,
      "location": "New York City, NY",
      "_id": "doc5"
    }
    ```
    {: codeblock}

    You populated the `dashboard-demo` with five documents. You can see the documents from the Table view in the following screen capture:

    ![Example documents shown in the Table view.](images/docs1.png){: caption="Sample documents" caption-side="bottom"}

### Running a simple query
{: #running-a-simple-query-dt}
{: step}

This example demonstrates how IBM Cloudant Query finds documents based on the `lastname` and the `firstname`.

1.  Click **Query**.
2.  Copy the following sample JSON and replace the existing text in the new query window:
    ```json
     {
        "selector": {
              "lastname" : "Greene",
              "firstname" : "Anna"
           }
     }
    ```
    {: codeblock}

3.  Click **Run Query**.

    The query displays the results. You can see them from the Table view in the following screen capture:

    ![Query results](images/dashboard_query1_results.png){: caption="Query results" caption-side="bottom"}

For more information, see the [IBM Cloudant Query](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-cloudant-query-performance-guide&format=markdown) tutorial or the API reference on [IBM Cloudant Query](https://cloud.ibm.com/docs/apis/cloudant/cloudant-gen2#getindexesinformation){: external}.

## Replicating a database
{: #replicate-database-dt}
{: step}

When you replicate a database, it synchronizes the state of two databases: source and target. A replication copies all the changes that happened in the source database to the target database. When a document is deleted from the source database, the document is also deleted from the target database.

For more information, see [Replication](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-replication-api&format=markdown#replication-operation).

1.  Click **Replication**.

2.  Click **New Replication**.

    The Job configuration page opens.

    Additionally, you can create a replication from the databases page by clicking **Replicate** in the Actions column.
    {: note}

3. Enter the following information for your replication job.
    Use the following information in the Source section:
      - Type - Select **Remote database**.
      - Name - Enter the database URL: `$SERVICE_URL/query-movies`.
      - Authentication - Leave as `None`.

    Use the following information in the Target section:
      - Type - Select **New local database**.
      - New database - Enter the name for the new database, **`query-movies`**.
      - New database options - Do not select the Partitioned option.
      - Authentication - Select **IAM Authentication**.
      - IAM API Key - Enter the `apikey` from the Service credentials for your instance.

      For more information, see the section on [Locating your service credentials](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-locating-your-service-credentials&format=markdown).

    Use the following information in the Options section:
      - Replication type - Leave as `One time`.
      - Replication document - Leave as `Custom ID (optional`.

      ![Replication configuration page described previously.](images/job-configuration.png){: caption="Replication configuration page" caption-side="bottom"}

4.  Click **Start Replication**.

    The Replication page opens where you can see that your replication job is running.

    ![The status page displays the information about your replication job.](images/status-replication-jobs.png){: caption="Status of your replication job" caption-side="bottom"}

5.  See the status when your job finishes change to Completed.

6.  Check that the database was created on the databases page.

    ![The Databases page shows the details of each database in your service instance. ](images/databases.png){: caption="Databases page" caption-side="bottom"}

## Monitoring active tasks
{: #monitoring-active-tasks-dt}
{: step}

The Active tasks page displays a list of all running tasks. When you monitor your system's performance, this list can help you find potential issues. You can see a list of active tasks, which includes compaction, replication, and indexing. For more information, see the [Managing tasks](https://cloud.ibm.com/docs/cloudant-gen2?topic=cloudant-gen2-managing-tasks&format=markdown) guide.

If your instance does not have any active tasks, you can return to the previous step, delete the `query-movies` database, and then replicate it again. If you open the Active Tasks page immediately, you can see your replication.
{: tip}

1. Click **Active Tasks**.

    The Active Tasks page opens.

    ![On the Active Tasks page, you can see a list of active tasks, which includes compaction, replication, and indexing.](images/active-tasks-page.png){: caption="Active tasks" caption-side="bottom"}

2. Click the associated tab to see task-specific information.