Skip to content

Commit

Permalink
Updating connection string section
Browse files Browse the repository at this point in the history
  • Loading branch information
ajosh0504 committed Sep 16, 2024
1 parent b8af139 commit e48aa7a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/20-mongodb-atlas/3-get-connection-string.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@ In the Atlas UI, navigate to the **Overview** page. In the **Clusters section**,

<Screenshot url="https://cloud.mongodb.com" src="img/screenshots/20-mongodb-atlas/3-get-conn-string/1-connect-button.png" alt="Screenshot of the connect button" />

A modal will display several ways to connect to your database.
A modal will display several ways to connect to your database. Select **Drivers**.

<Screenshot url="https://cloud.mongodb.com" src="img/screenshots/20-mongodb-atlas/3-get-conn-string/2-connect-modal.png" alt="Screenshot of the connect modal" />

Select **Compass**. While we won't be using Compass to import the data, it's an easy way to see your connection string.

<Screenshot url="https://cloud.mongodb.com" src="img/screenshots/20-mongodb-atlas/3-get-conn-string/3-connect-compass.png" alt="Screenshot of the connection string" />

Look for your connection string. It should look something like:
Look for your connection string. It should look something like `mongodb+srv://<username>:<password>@<cluster-url>/`

```
mongodb+srv://<username>:<password>@<cluster-url>/
```

<Screenshot url="https://cloud.mongodb.com" src="img/screenshots/20-mongodb-atlas/3-get-conn-string/3-connect-compass.png" alt="Screenshot of the connection string" />

Click the copy button next to your connection string to copy it to your clipboard. Paste the connection string somewhere safe.

:::tip
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e48aa7a

Please sign in to comment.