After creating a project, you have to create a MongoDB Connection shared resource to connect to the MongoDB server.
Prerequisites
MongoDB Connection shared resource is available at the
Resources level. Ensure that you have created a project as described in
Creating a Project.
Procedure
Expand the created project in the Project Explorer view.
Right-click the
Resources folder and click
New > MongoDB Connection to open the MongoDB Connection wizard.
The resource folder, package name, and resource name of the MongoDB Connection are provided by default. If you do not want to use the default configurations, change them accordingly. Click
Finish to open the MongoDB Connection Editor.
Configure the MongoDB Connection shared resource in the MongoDB Connection editor.