Step-by-Step Guide to Use MongoDB Atlas
- Sharon Rajendra Manmothe

- Jul 26
- 1 min read
Step 1: Create a MongoDB Atlas Account
Click "Start Free"
Sign up with:
Email + password OR
Google/GitHub account
🔹 Step 2: Create Your First Cluster
After login, click on "Build a Database"

Select Shared Cluster (Free) for practice
Choose:
Cloud Provider: AWS or GCP
Region: Closest to you (Mumbai for Pune)
Click Create Cluster

🔹 Step 3: Create a Database User
After cluster is ready (takes 1–2 mins), click Database > Database Access
Click “Add New Database User”
Set:
Username and Password (remember it)
Role: Read and write to any database

Click Add User
Step 4: Allow Access From Your IP
Go to Network Access > Add IP Address
Click "Add Current IP Address"

OR use 0.0.0.0 for all IPs (for testing only)
Click Confirm
Step 5: Connect to the Database
Go to Database > Connect > Connect your application
Copy the connection string — it looks like:
mongodb+srv://<username>:<password>@cluster0.mongodb.net/?retryWrites=true&w=majority
Replace <username> and <password> with your credentials.

🔹 Step 6: Use MongoDB Atlas with Compass (GUI)
Download Compass: https://www.mongodb.com/try/download/compass
Open Compass, paste the connection string, and connect
You can now:
Create databases/collections
Run queries (find, insert, update)
View documents visually


$50
Product Title
Product Details goes here with the simple product description and more information can be seen by clicking the see more button. Product Details goes here with the simple product description and more information can be seen by clicking the see more button

$50
Product Title
Product Details goes here with the simple product description and more information can be seen by clicking the see more button. Product Details goes here with the simple product description and more information can be seen by clicking the see more button.

$50
Product Title
Product Details goes here with the simple product description and more information can be seen by clicking the see more button. Product Details goes here with the simple product description and more information can be seen by clicking the see more button.




Comments