Creating a MongoDB Connection

After creating a project, you add a MongoDB Connection shared resource to create a connection between the plug-in and a MongoDB server.

Prerequisites

The MongoDB Connection shared resource is available at the Resources level. Ensure that you have created a project as described in Creating a Project.

Procedure

  1. In the Project Explorer view, expand the project.
  2. Open the MongoDB Connection wizard: Right-click the Resources folder and click New > MongoDB Connection.
    The resource folder, package name, and resource name of the MongoDB Connection are provided by default.
  3. If required, change the default values and click Finish.
  4. In the MongoDB Connection Editor, configure the MongoDB Connection shared resource.
    For more information regarding the configuration fields, see MongoDB Connection.
  5. Click Test Connection to validate the connection.