Forem

Karthikeyan
Karthikeyan

Posted on

3

How to setup a Cluster using MongoDB atlas ?

#ai

Hello everyone,

In this blog , we will be seeing how to create a cluster using MongoDB atlas.

Process 🚀

Step 1

  • After that , Click on the New project from the top left of the projects dropdown

Step 2

  • Give the project name , go with default options and create a project.

Step 3

  • Now you will be on your created project console. Click on Build a database.

Step 4

  • Now click on the shared cluster and click Create. You will be then navigated to the cluster configuration page. Go with default options and click on Create Cluster.

Step 5

  • For authenticating the connection , enter a user name for eg, admin and autogenerate the password. Keep both username and password safe, as we will be needing it while establishing a connection from any server side framework with your mongodb atlas. Click on Create User.

Step 6

  • For Where would you like to connect from , choose the local environment , click on Add my current IP address and click on Add Entry. Finally , click on Finish and close.

Congratulations 🎉 🥳 🥂 . You have finally created your shared cluster.

Next Steps 🪜

  1. You can connect your MongoDB cluster to any of the following
    1. MongoDB shell.
    2. Server side application using native MongoDB drivers.
    3. MongoDB Compass.
    4. MongoDB host in VSCode.
  2. You can create a collection and database and play around with it.

Conclusion 🎉

Thanks for reading everyone. In the next blog , we will see how to create an API with FastApi ( Python web framework ) and MongoDB.

https://media.giphy.com/media/lOJKLVYkNDWN8GoPoA/giphy.gif

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up