<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dishanyaa Shrii K M</title>
    <description>The latest articles on DEV Community by Dishanyaa Shrii K M (@dishanyaa_shrii_k_m).</description>
    <link>https://dev.to/dishanyaa_shrii_k_m</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3547959%2F6e57678c-0d27-40ab-9e08-ad3a8b40d913.png</url>
      <title>DEV Community: Dishanyaa Shrii K M</title>
      <link>https://dev.to/dishanyaa_shrii_k_m</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dishanyaa_shrii_k_m"/>
    <language>en</language>
    <item>
      <title>🚀 Getting Started with MongoDB Atlas and Compass: My First Database Setup</title>
      <dc:creator>Dishanyaa Shrii K M</dc:creator>
      <pubDate>Mon, 06 Oct 2025 10:15:44 +0000</pubDate>
      <link>https://dev.to/dishanyaa_shrii_k_m/getting-started-with-mongodb-atlas-and-compass-my-first-database-setup-4985</link>
      <guid>https://dev.to/dishanyaa_shrii_k_m/getting-started-with-mongodb-atlas-and-compass-my-first-database-setup-4985</guid>
      <description>&lt;p&gt;Task: Setting Up DEV.to and MongoDB Environment&lt;br&gt;
&lt;strong&gt;Step 1:&lt;/strong&gt; Created an Account in DEV.to&lt;/p&gt;

&lt;p&gt;Visited the official DEV.to website: &lt;a href="https://dev.to"&gt;https://dev.to&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Clicked on “Create account”.&lt;/p&gt;

&lt;p&gt;Signed up using GitHub (recommended) or email for easy integration with coding projects.&lt;/p&gt;

&lt;p&gt;Set up the profile with:&lt;/p&gt;

&lt;p&gt;Display name and username&lt;/p&gt;

&lt;p&gt;Short bio and skills/interests&lt;/p&gt;

&lt;p&gt;Profile picture (optional)&lt;/p&gt;

&lt;p&gt;Verified the account through the confirmation email sent by DEV.to.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fshky7bqm4k29awojiyks.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fshky7bqm4k29awojiyks.png" alt="✅ Result: DEV.to account successfully created for publishing and sharing cybersecurity or development blogs.&amp;lt;br&amp;gt;
" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Downloaded MongoDB Compass&lt;/p&gt;

&lt;p&gt;Navigated to the official MongoDB Compass download page:&lt;br&gt;
&lt;a href="https://www.mongodb.com/try/download/compass" rel="noopener noreferrer"&gt;https://www.mongodb.com/try/download/compass&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Selected the appropriate OS (Linux/Windows/Mac) version.&lt;/p&gt;

&lt;p&gt;Installed MongoDB Compass using the default installation steps:&lt;/p&gt;

&lt;p&gt;Opened the downloaded installer file.&lt;/p&gt;

&lt;p&gt;Followed on-screen instructions to complete installation.&lt;/p&gt;

&lt;p&gt;Launched MongoDB Compass after installation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F77fp5q107znvige4ymey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F77fp5q107znvige4ymey.png" alt="✅ Result: MongoDB Compass installed and ready for database management with a visual interface." width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
**&lt;br&gt;
Step 3:** Logged in to MongoDB Atlas&lt;/p&gt;

&lt;p&gt;Visited MongoDB Atlas website: &lt;a href="https://www.mongodb.com/cloud/atlas" rel="noopener noreferrer"&gt;https://www.mongodb.com/cloud/atlas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Logged in using the MongoDB account (created via email or Google).&lt;/p&gt;

&lt;p&gt;Accessed the Atlas Dashboard, which is used to manage cloud-based databases.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxccwlbz4ju1ym9h5d805.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxccwlbz4ju1ym9h5d805.png" alt="✅ Result: Successfully logged in to MongoDB Atlas, ready to create and manage cloud clusters." width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Created a New Cluster in MongoDB Atlas&lt;/p&gt;

&lt;p&gt;From the Atlas Dashboard, clicked “Build a Database.”&lt;/p&gt;

&lt;p&gt;Selected:&lt;/p&gt;

&lt;p&gt;Deployment type: Shared (Free tier)&lt;/p&gt;

&lt;p&gt;Cloud provider: AWS (default)&lt;/p&gt;

&lt;p&gt;Region: Nearest to your location (e.g., Mumbai for India)&lt;/p&gt;

&lt;p&gt;Named the cluster (e.g., Cluster0 ).&lt;/p&gt;

&lt;p&gt;Waited for the cluster to be created (takes a few minutes).&lt;/p&gt;

&lt;p&gt;Clicked “Connect” → “Connect with MongoDB Compass.”&lt;/p&gt;

&lt;p&gt;Copied the connection string for Compass.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj4nlfddpfk0iyaa8ylw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj4nlfddpfk0iyaa8ylw.png" alt="✅ Result: New MongoDB cluster successfully created in Atlas and ready for use with Compass or any application." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Created My First Database&lt;/p&gt;

&lt;p&gt;Connected Compass to Atlas using the connection string, clicked “Create Database,” and named it 722824149013 with the first collection as 722824149013.&lt;br&gt;
Now my cloud database is fully ready to store and manage cybersecurity project data!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5dsmnjpxzmxcxfpmztrk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5dsmnjpxzmxcxfpmztrk.png" alt="Screenshot of Database created" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;**Step 6: **Inserting Data Values into the Database&lt;br&gt;
Steps to Insert Data in MongoDB Compass&lt;/p&gt;

&lt;p&gt;Open MongoDB Compass and connect to your cluster using the connection string.&lt;/p&gt;

&lt;p&gt;In the left sidebar, expand your database — e.g., CyberSecurityDB.&lt;/p&gt;

&lt;p&gt;Click on your collection (for example: users).&lt;/p&gt;

&lt;p&gt;On the top-right corner, click “INSERT DOCUMENT.”&lt;/p&gt;

&lt;p&gt;Click “Insert” to save the document.&lt;/p&gt;

&lt;p&gt;Repeat this process to add multiple data entries if needed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F733engn4sza6u8o4kji1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F733engn4sza6u8o4kji1.png" alt="✅ Result: The data is now stored inside your MongoDB Atlas cluster and can be viewed, queried, or updated anytime from Compass.&amp;lt;br&amp;gt;
" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7:&lt;/strong&gt; Created Database Access&lt;/p&gt;

&lt;p&gt;Connected MongoDB Compass to the Atlas cluster using the connection string.&lt;br&gt;
Created a new database named CyberSecurityDB with a collection called users.&lt;br&gt;
Inserted documents to store user information, like name, email, role, and project.&lt;br&gt;
Verified access by querying the collection and ensuring the data was correctly stored.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptjqhbqlr8eid037rwcy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fptjqhbqlr8eid037rwcy.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
**&lt;br&gt;
Step 8:** Connect MongoDB Compass to Atlas Cluster&lt;/p&gt;

&lt;p&gt;Open MongoDB Compass and click “New Connection.”&lt;/p&gt;

&lt;p&gt;Paste your Atlas connection string: mongodb+srv://name:@cluster0.ne4n8n.mongodb.net/&lt;/p&gt;

&lt;p&gt;Replace  with the password for the dikus user.&lt;/p&gt;

&lt;p&gt;Click Connect to establish the connection.&lt;/p&gt;

&lt;p&gt;Your databases and collections will appear; you can now view, insert, or query data. ✅ Success&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq1jma2n2x2vk6ch8ycct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq1jma2n2x2vk6ch8ycct.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 9:&lt;/strong&gt; Perform CRUD Operations via Command Line&lt;/p&gt;

&lt;p&gt;Open the MongoDB shell and switch to your database using use .&lt;/p&gt;

&lt;p&gt;Insert a document: db.movies.insertOne({MovieName: "SitaRamam", releaseyear: "2022"}).&lt;/p&gt;

&lt;p&gt;Read documents: db.movies.find(), update: db.movies.updateOne({MovieName: "SitaRamam"}, {$set: {releaseyear: "2023"}}).&lt;/p&gt;

&lt;p&gt;Delete documents: db.movies.deleteOne({MovieName: "SitaRamam"}) to complete CRUD.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2i0da1txe8t3npx4slje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2i0da1txe8t3npx4slje.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10:&lt;/strong&gt; View Final Output&lt;/p&gt;

&lt;p&gt;Open MongoDB Compass or the shell and select your database.&lt;/p&gt;

&lt;p&gt;Run db.movies.find() to list all documents.&lt;/p&gt;

&lt;p&gt;Verify that inserted, updated, or deleted records reflect correctly.&lt;/p&gt;

&lt;p&gt;Your CRUD operations are now successfully completed and visible. ✅&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qt9yig9d9v3n9t5gwlv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qt9yig9d9v3n9t5gwlv.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/jeeva_dharshini_p"&gt;@jeeva_dharshini_p&lt;/a&gt;&lt;br&gt;
 &lt;a class="mentioned-user" href="https://dev.to/aksharaal_13"&gt;@aksharaal_13&lt;/a&gt;&lt;br&gt;
 &lt;a class="mentioned-user" href="https://dev.to/divya_dharshinik_0601"&gt;@divya_dharshinik_0601&lt;/a&gt;&lt;br&gt;
 &lt;a class="mentioned-user" href="https://dev.to/keerthi_laksana_818fef1dc"&gt;@keerthi_laksana_818fef1dc&lt;/a&gt;&lt;br&gt;
 &lt;a class="mentioned-user" href="https://dev.to/santhoshnc"&gt;@santhoshnc&lt;/a&gt; &lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>database</category>
    </item>
  </channel>
</rss>
