How to Install and Setup MongoDB Plugin on IntelliJ?
Last Updated :
07 Oct, 2022
MongoDB is an open-source platform for the usage of databases. It is the software that allows playing with databases. Like MySQL, MongoDB is also a famous software in this field. MongoDB is document-oriented and a no SQL database. It helps you to make an interactive database. For installing MongoDB as a plugin on IntelliJ, the user needs first to install both MongoDB & IntelliJ on the machine. Also, the user needs to configure the MongoDB server in the machine beforehand. In this article, we will learn how to install and set up MongoDB plugins on IntelliJ.
MongoDB Plugin on IntelliJ
MongoDB can store the data in databases. But they are not the traditional tables that users can often see in the SQL. Also, it can store a large number of data in a database. It helps to make changes there. There is the cloud version of MongoDB which saves the memory spaces in the machine. Some features of MongoDB are:
- MongoDB is widely used for its performance. The performance of MongoDB is much more than any other application.
- MongoDB is a schema-less database. So it can hold many documents in the same database.
- MongoDB is well known for its scalability. MongoDB provides horizontal scalability.
Installation Of MongoDB Plugin On IntelliJ
Step 1: Open the IntelliJ platform. The user needs to click on Create New Project. This will help make a new IntelliJ project for the MongoDB purpose.
Step 2: Then a new window will open in front of us. Click on the Empty Project. The user has to click on the Next button.
Step 3: In the next window, the user has to provide the name of the empty project. Users can provide any name there. But the installation location can’t be changed in it. Then the user has to click on Finish.
Step 4: A new project window will open. In the newly opened window, there will be a file section at the top of the left-hand side of the screen, click on it. Click on the Settings option.
Step 5: Then another new window will open. Click on the Plugin option. Click on the Browse Repositories button.
Step 6: Search for Mongo in the search box. Then the plugin for MongoDB will be available. Click on the Install button.
Step 7: The installation of the MongoDB plugin will start. It will take a little time to complete.
Step 8: Click on the Restart IntelliJ IDEA button. Restart IntelliJ to save the changes. Hence, the installed MongoDB plugin will be available there.
Configuration Of MongoDB Plugin On IntelliJ:
Step 1: After successfully restarting the IntelliJ platform, the user needs to configure the MongoDB plugin there. Click on the search icon on the right-hand side of the screen.
Step 2: After clicking on it, a search bar will open in front of the user. Search for Mongo. An option name Mongo Explorer will be visible, click on it.
Step 3: After clicking on it, the user can able to see a sidebar on the right-hand side of the screen. This is known as the MongoDB Explorer Panel. There the server will be present. The server is not configured yet, so nothing will be visible there. Click on the particular icon, it is the settings of the MongoDB Explorer Panel.
Step 4: Then a new window will open. In this step, there are many substeps. Those should follow with concern. Any mistake in this part will not create the server in IntelliJ.
- First, in the open window, the user has to click on the Other Settings. If the user expands the settings, the Mongo Server option is present. Click on it.
- After clicking on it, a new field has to be filled up by the user. The user needs to provide the path of their MongoDB executable file. The file folder should be in the bin folder of the installed MongoDB folder in the C drive of the machine.
- Then, the user needs to click on the Test button. This button is available beside the field where the user needs to provide the path. After clicking on the button, if it shows a green tick sign, means the path is correctly provided.
- After clicking on the Test button, some details will be filled up automatically. If the user correctly configured the MongoDB server when installing MongoDB, then there will be no issues.
- At last, the user needs to click on Apply. Click the Ok button.

Step 5: Then it will return back to the window where the MongoDB Explorer Panel was present. Earlier it was empty. But now, there is a server present. Users can see the present server there. Hence, we have successfully completed the configuration process.

Similar Reads
How to Install Golang plugin in Intellij?
IntelliJ is one of the most powerful and popular integrated development environments (IDE) written in Java for developing computer software written in Java, Kotlin, Groovy, etc. on almost all sorts of languages. It is developed by JetBrains and is available in a community edition and in a proprietar
1 min read
How to Install Scala plugin for IntelliJ?
IntelliJ IDEA is an intelligent, context-aware, and easy-to-use IDE for working with Java and other JVM languages like Kotlin, Scala, Groovy, etc on almost all sorts of software or applications. It provide various clever code completion, static code analysis, and refactorings to do routine and repet
1 min read
How to Install MongoDB on OpenSUSE?
MongoDB is a software that provides database connectivity. It is quite similar to MySQL, but still many users choose MongoDB for its easy user interface. As MongoDB is available in both cloud & server form. Basically, MongoDB provides database documentation. It provides the necessary query and i
2 min read
How to Install MongoDB on Openshift?
MongoDB is a database that is used to store data in the form of documents. It is widely used for its flexibility and scalability. MongoDB provides a cloud and server-based database management system. Also, MongoDB provides some extra plugins to use MongoDB in different aspects also. Like MongoDB pro
2 min read
How to Install MongoDB on Laravel Project?
MongoDB is a cross-platform memorandum database application that is open source. MongoDB, a NoSQL database application, employs documents that resemble JSON and may or may not include schemas. The PHP driver's high-level encapsulation is the MongoDB PHP Library. The installation procedures for Mongo
1 min read
How to Install MongoDB on AWS EC2 Instance?
AWS or Amazon web services is a cloud service platform that provides on-demand computational services, databases, storage space, and many more services. EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual com
2 min read
How to Install MongoDB on Android?
MongoDB is a NoSQL document-oriented database used to store data in high volume. Instead of using columns and rows or tables that were used in traditional relational databases like SQL, MongoDB makes use of collections and documents. MongoDB is written in C++ language. MongoDB is developed and manag
9 min read
How to Install MongoDB on GoDaddy Server?
MongoDB is a free, open-source, cross-platform NoSQL database. MongoDB is a schema-less database system and hence it's very easy to add new fields to it. It is a distributed system hence data recovery is instant and more reliable. Its features include highly flexible, performance, scalability, index
2 min read
How to Install MongoDB on Alpine?
MongoDB is an open-source NoSQL database. NoSQL databases are quite useful for working with large sets of distributed data. It is a good choice when your data is document-centric and doesn't fit well into the schema of a relational database. It provides full indexing support and replication with ric
2 min read
How to Install MongoDB Compass on Linux?
MongoDB is a free, open-source, cross-platform, document-oriented database. It is also classified as a non-SQL database program. Compass is an interactive tool for querying, optimizing & analyzing MongoDB data. It works in a visual environment. It can be installed in any operating system like Wi
1 min read