# MongoDB

### Before you begin

Make sure you have access to your **MongoDB connection string**. It can be in one of the following formats:

**Standard format:**

```python
mongodb://username:password@localhost:27017/myDatabase
```

**SRV format (used with MongoDB Atlas):**

```python
mongodb+srv://username:password@cluster0.mongodb.net/myDatabase
```

### How to Fill Out the Connection Form in Erathos

Use the details from your connection string to complete the form as follows:

| Field        | Value                                  |
| ------------ | -------------------------------------- |
| **DB**       | `myDatabase`                           |
| **Host**     | `cluster0.mongodb.net` or  `localhost` |
| **Port**     | `27017`                                |
| **User**     | `username`                             |
| **Password** | `password`                             |
