# MongoDB

##

​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FHI1OPAUFTRt2AZsCnNXg%2Fimage.png?alt=media\&token=6312d4e3-5ec3-4d93-8051-c34841e6e35a)​

The following set of steps displays how to create a Mongo DB Data Connector:

* Select the **MongoDB** connector icon from the Data Connector page.
* The **MongoDB Connector** page opens.
* Provide a name for the data connector.
* Add Data Connector Description.
* Provide the following information:
  * Connector Type: Select an option out of **Standard** or **SRV**
  * Username
  * Password
  * IP/Host address
  * Port number
  * Database Name
  * SSL Type: Select either of the choice out of SSL or NON SSL
* Click the ***Save*** icon.

<figure><img src="https://content.gitbook.com/content/IctE5LjGWDD6zEdW4vpJ/blobs/P2SuNzQC548CGQZLMZXt/image.png" alt=""><figcaption><p><em><strong>Field configuration for the Standard Connection Type with Non SSL type</strong></em></p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/IctE5LjGWDD6zEdW4vpJ/blobs/yN2smgNtEVkrFxfPQmlq/image.png" alt=""><figcaption><p><em><strong>Field configuration for the Standard Connection Type with SSL type</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*

* *MongoDB supports the Authsource in Database field to authenticate the user.*
* *The MongoDB Data Connector supports multiple IP/ Host separated by commas.*
* *The MongoDB Data Connector supports multiple Port numbers.*
  {% endhint %}

Check out the following images to get an idea of the required fields while choosing the ***SRV*** ***Connection Type*** option:

<figure><img src="https://content.gitbook.com/content/IctE5LjGWDD6zEdW4vpJ/blobs/O2fpt6AuHzfJyKwwfqG0/image.png" alt=""><figcaption><p><em><strong>Field configuration for the SRV Connection Type with Non SSL type</strong></em></p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/IctE5LjGWDD6zEdW4vpJ/blobs/B2xOozo5NWM4mXz2VeeT/image.png" alt=""><figcaption><p><em><strong>Field configuration for the SRV Connection Type with SSL type</strong></em></p></figcaption></figure>

* A success message appears, and the newly created Mongo DB Connector gets added to the Data Connectors list.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-center-3/data-center/data-connectors/supported-data-connectors/database-connectors/mongodb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
