MongoDB
The information on this page relates to the new upgraded interface of the IConduct platform. To view information about the Classic version of the user interface, follow this link.
MongoDB is a cross-platform document-oriented database program. MongoDB is a powerful suite of services that allow teams to safely expose their data from their frontend, build backend logic, third-party service integrations, or APIs, and run code in response to data changes — all without thinking about the server. This connector is used for connecting to the Mongo DB provider.
To configure the MongoDB connector, follow the instructions below:
- In the Main Menu, select Connections and press Create connection.
Accessing connection
- Scroll down to the Database Servers section and select the MongoDB item from the list.
Connector Selection Page
- In the MongoDB Provider work area, fill in the following fields and press Create.
Connection Details Area
Fields | Description |
---|---|
Connection |
A new connection name. Enter a connection alias here. |
Is Active |
Toggles connector’s activity at interface execution. Enable the checkbox to activate the connection for execution. |
Cloud Agent |
The LAN you are working with. Select "IConduct" for cloud systems and your corporate agent for internal systems. |
Implementation Type |
Defines the implementation type. Select from the drop-down list:
|
Is Source |
This connection entity is available as a data source for Import (writing to Schema). Enable the checkbox to ensure data import. |
Is Target |
This connection entity is available as a data target that receives data from schema to current data container. Enable the checkbox to ensure data export. |
Timeout |
The length of time (in milliseconds) the IConduct platform waits for a response from the connection provider before returning a timeout error. Set the time value to stop the system from connection attempts. |
SQL |
The box is intended for entering a query. |
DateTime Format |
Not used in this connector. |
Server URL |
Mongo DB connection string contains database, username and password. For more information see here. |
Database |
The name of the database to which the connection is being established. |
Collection |
The name of the document collection. Use this field to define the collection that stores the document. |
Username |
Username for the database. |
Password |
Password for the database user. |
JSON Schema of the MongoDB document |
The box is designated for defining the MongoDB document structure. Using this field, set a JSON array to include one or more objects that must consist of these properties:
For more information about the JSON schema standards visit this page. |
Once the connection is saved, you can test if it is successful. Press the Test Connection button. If the created connection works, you will receive a success message.
Testing the Connection