Skip to content

Commit 955d90f

Browse files
committed
update connecting to mongodb api doc
1 parent f770110 commit 955d90f

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

articles/cosmos-db/connect-mongodb-account.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
22
title: Connect a MongoDB application to Azure Cosmos DB
33
description: Learn how to connect a MongoDB app to Azure Cosmos DB by getting the connection string from Azure portal
4-
author: markjbrown
5-
ms.author: mjbrown
4+
author: timsander1
5+
ms.author: tisande
66
ms.service: cosmos-db
77
ms.subservice: cosmosdb-mongo
88
ms.topic: conceptual
9-
ms.date: 12/02/2019
9+
ms.date: 03/19/2020
1010
ms.reviewer: sngun
11-
1211
---
13-
1412
# Connect a MongoDB application to Azure Cosmos DB
15-
Learn how to connect your MongoDB app to an Azure Cosmos DB by using a MongoDB connection string. You can then use an Azure Cosmos database as the data store for your MongoDB app.
13+
14+
Learn how to connect your MongoDB app to an Azure Cosmos DB by using a MongoDB connection string. You can then use an Azure Cosmos database as the data store for your MongoDB app.
1615

1716
This tutorial provides two ways to retrieve connection string information:
1817

@@ -21,27 +20,30 @@ This tutorial provides two ways to retrieve connection string information:
2120

2221
## Prerequisites
2322

24-
- An Azure account. If you don't have an Azure account, create a [free Azure account](https://azure.microsoft.com/free/) now.
23+
- An Azure account. If you don't have an Azure account, create a [free Azure account](https://azure.microsoft.com/free/) now.
2524
- A Cosmos account. For instructions, see [Build a web app using Azure Cosmos DB's API for MongoDB and .NET SDK](create-mongodb-dotnet.md).
2625

27-
## <a id="QuickstartConnection"></a>Get the MongoDB connection string by using the quick start
26+
## Get the MongoDB connection string by using the quick start
27+
2828
1. In an Internet browser, sign in to the [Azure portal](https://portal.azure.com).
29-
2. In the **Azure Cosmos DB** blade, select the API.
30-
3. In the left pane of the account blade, click **Quick start**.
29+
2. In the **Azure Cosmos DB** blade, select the API.
30+
3. In the left pane of the account blade, click **Quick start**.
3131
4. Choose your platform (**.NET**, **Node.js**, **MongoDB Shell**, **Java**, **Python**). If you don't see your driver or tool listed, don't worry--we continuously document more connection code snippets. Please comment below on what you'd like to see. To learn how to craft your own connection, read [Get the account's connection string information](#GetCustomConnection).
3232
5. Copy and paste the code snippet into your MongoDB app.
3333

3434
![Quick start blade](./media/connect-mongodb-account/QuickStartBlade.png)
3535

36-
## <a id="GetCustomConnection"></a> Get the MongoDB connection string to customize
36+
## Get the MongoDB connection string to customize
37+
3738
1. In an Internet browser, sign in to the [Azure portal](https://portal.azure.com).
38-
2. In the **Azure Cosmos DB** blade, select the API.
39-
3. In the left pane of the account blade, click **Connection String**.
39+
2. In the **Azure Cosmos DB** blade, select the API.
40+
3. In the left pane of the account blade, click **Connection String**.
4041
4. The **Connection String** blade opens. It has all the information necessary to connect to the account by using a driver for MongoDB, including a preconstructed connection string.
4142

4243
![Connection String blade](./media/connect-mongodb-account/ConnectionStringBlade.png)
4344

4445
## Connection string requirements
46+
4547
> [!Important]
4648
> Azure Cosmos DB has strict security requirements and standards. Azure Cosmos DB accounts require authentication and secure communication via *SSL*.
4749
>
-446 Bytes
Loading

0 commit comments

Comments
 (0)