MongoDB Atlas organisation and database creation. | Getting a MongoDB database lined!


Hello, in this article, we will give you information about creating a MongoDB Atlas database and creating an organisation. MongoDB is a type of database that has become very popular in recent years. It has become indispensable for many large companies and developers because it is very fast and secure.

Creating a MongoDB Organisation

  • We register from the MongoDB official site -> mongodb.com
  • We go to the organisations page from this link.
  • Click on the green button named "Create New Organisation" on the top right.

2: Organisation Building Steps













  • Choose a name for your organisation from the place shown in the picture.
  • Select where it says "MongoDB Atlas" at the bottom.
  • Press the green button that says Next.
  • Press the green button named "Create Organization" on the page that opens.



3: Create MongoDB Atlas Project

  • Log in to your organisation page.
  • Press the green button named "New Project" on the top right.
  • Give your project a name and press the Next button.
  • Press the green button named "Create Project".


4: Creating MongoDB Atlas Database (Cluster)

  • Log in to your Project page from your Organisation page.
  • Press the green button in the centre of the screen that says "Build a Database".
  • Press the button named "Create" from the free section that says "Shared" at the end of the right.
  • Select the properties in the picture and press the "Create Cluster" button.



  • Write your username and password where you can access the database in the places shown in the picture. You determine this name and password.
  • Press the green button named "Create User".


    • From the menu on the left, click on the section labelled "Network Access".
    • Click on the green button that says "Add IP Address".
    • Click on the button that says "ALLOW ACCESS FROM ANYWHERE
    • Click the green button labelled "Confirm".



    • Again from the left menu, this time click on the section labelled "Database".
    • From the page that opens, click on the button that says "Connect" from the place shown in the picture.
    • From the screen that opens, click on the 2nd box, that is, the section that says "Connect your application".
    • The extension in the window that opens is your database access key. Example Below

    mongodb+srv://test:<password>@cluster0.85rzldq.mongodb.net/?retryWrites=true&w=majority 

     

    NOTE: Definitely write your password by deleting the <password> part completely when writing your password, and delete the <> signs.


    A key similar to this will be on your screen, this is your MongoDB Atlas database access key. You can access the mongodb database in your projects with your key by typing the password you set when creating a database access account in the section that says <password>.


    How about giving your opinion by commenting on this post?

    Previous Post Next Post