Edit

Share via


Azure Cosmos DB for MongoDB RU extension for Azure Data Studio (preview)

Important

Azure Data Studio is retiring on February 28, 2026. We recommend that you use Visual Studio Code. For more information about migrating to Visual Studio Code, visit What's happening to Azure Data Studio?

The Azure Cosmos DB API for MongoDB RU extension enables you to manage and query your API for MongoDB RU accounts using the capabilities of Azure Data Studio.

The Azure Data Studio functionality available for Azure Cosmos DB API for MongoDB includes:

Prerequisites

Install the extension

Start by installing the Azure Cosmos DB for MongoDB RU extension in Azure Data Studio.

  1. Open the extensions manager in Azure Data Studio. Either select the extensions icon or select Extensions in the View menu.

  2. Enter Cosmos in the search bar.

  3. Select the Azure Cosmos DB for MongoDB extension and view its details.

  4. Select Install.

Connect to the MongoDB source

Use the extension for the first time to connect to your existing API for MongoDB RU account. Ensure that you have the connection credentials for the account ready before starting this section.

  1. Locate the connections icon in the menu bar, and select New Connection.

  2. In the Connection pane, fill out the following fields:

    Value
    Connection type Mongo account
    Connection string/Parameters Use the connection string or parameters for your existing source MongoDB instance.
    Server group Default
    Name (optional) Provide a unique name for this connection.
  3. Select Connect.