> For the complete documentation index, see [llms.txt](https://resources.less.tech/less-tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.less.tech/less-tech/connectors/connector-guides/mongodb.md).

# MongoDB

{% hint style="info" %}
💪 **Difficulty:** advanced

⏳ **Time to complete**: approx: 10-15 min (if your database has a restricted inbound IP security rule, you need to schedule a call with us - we’re working on something better!)
{% endhint %}

## 💬 Description

MongoDB is a no-SQL database storing all your data in JSON

## 🤑 Use Case

Connecting to MongoDB is very helpful if you have your own application that pushes data to a database. It usually contains information on your customers and their behavior

## 🛠️ Setup

This Connector should probably be configured by (or with assistance from) your database responsible - you’re also welcome to [schedule a call.](https://calendly.com/thomas-less/speak-to-less)

{% hint style="danger" %}
If your MongoDB (or the server its hosted on) has restrictive inbound IP rules, you need to [schedule a call ](https://calendly.com/thomas-less/speak-to-less)with us as you cannot access the Less application’s IP currently. We are working on displaying the IP of the Less application inside the web application.&#x20;

If your MongoDB (or the server its hosted on) has unrestricted IP access, continue below 👇
{% endhint %}

### Step #1: Host IP

Input the Host IP of your MongoDB in the Less configuration window. Usually looks something like this: `mongodb0.example.com`

### Step #2: Host Port

Input the Host Port of your MongoDB in the Less configuration window. It’s usually `27017`.

### Step #3: Database Name

Input the Database name of your MongoDB in the Less configuration window.

### Step #4: Input Collection(s)

Input the names of the MongoDB Collections you want to extract in the Less configuration window. This should be a comma-separated list like `collection1,collection2,collection3`

### Step #5: Username & Password

Input the username and password of a MongoDB account with read access. Everything is encrypted in transit and at rest.

###
