Get Connection String
Overview
In this guide, you will retrieve your database deployment's connection string.
Add your IP address to the allowlist to allow access to your Atlas cluster.
Locate your connection string and copy it.
Time required: 15 minutes
What You'll Need
A MongoDB account. See Sign Up for a MongoDB Account.
An Atlas cluster. See Create a New Cluster.
A MongoDB user. See Configure MongoDB Users in the Atlas documentation.
Procedure
1
Navigate to the Database Deployments page for your project.
2
Summary
If you have successfully completed this guide, you have retrieved your database deployment's connection string in your copy buffer.
What's Next
Add a MongoDB Driver
5 mins
View and install one of the MongoDB drivers we cover in our guides.
Start Guide