> ## Documentation Index
> Fetch the complete documentation index at: https://jobo.world/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MongoDB

> Sync job data as flexible JSON documents into MongoDB collections.

## Connection Configuration

| Field               | Type   | Required | Description                                                  |
| ------------------- | ------ | -------- | ------------------------------------------------------------ |
| `connection_string` | string | ✅        | Full MongoDB URI including credentials (`mongodb+srv://...`) |
| `database`          | string | ✅        | Target database name                                         |
| `auth_source`       | string | —        | Authentication database (default: `admin`)                   |

## Example Configuration

```json theme={null}
{
  "connection_string": "mongodb+srv://user:pass@cluster.mongodb.net",
  "database": "jobs_db",
  "auth_source": "admin"
}
```

## Setup Requirements

1. Create a database and ensure the user has `readWrite` role on the target database
2. If using MongoDB Atlas, add Jobo's IP to the network access list (contact support for the current IP range)
3. Use `mongodb+srv://` for TLS-encrypted connections

<Tip>
  MongoDB is ideal for storing the full job object with nested fields like
  `skills`, `locations`, and `compensation`. Jobo uses upsert semantics to
  deduplicate by job ID.
</Tip>
