Overview
MongoDB Atlas is MongoDB's managed cloud database service – runs on AWS, Azure, GCP. The Automize MongoDB Atlas connector covers document CRUD via the Atlas Data API (no driver needed).
- Regions: Cluster lives in one or more regions. Multi-region for global apps.
- Plans: Shared (free M0/M2/M5), Dedicated (M10+), Serverless (pay-per-RPU).
Setting up the connection
Auth type: Bearer Token.
- Atlas Console → Project → Data API → Enable + create API key.
- Copy URL endpoint + API key.
- In Automize → Settings → Connectors → MongoDB Atlas. Paste endpoint + token. Set database name + cluster.
Find your credentials at https://cloud.mongodb.com/.
Rate limits
Data API: ~1000 req/min/key on M0; higher on dedicated.
Data model
MongoDB primitives:
Project ─── Cluster ─── Databases ─── Collections ─── Documents (BSON)
└─ Atlas Search (text + vector indexes)Available operations
11 operations available. Click any row to jump to its detail.
| Operation | Category | What it does |
|---|---|---|
| Aggregate | General | Run an aggregation pipeline |
| Count Documents | General | Count documents matching a filter |
| Delete Many | General | Delete all documents matching a filter |
| Delete One | General | Delete a single document matching a filter |
| Find Documents | General | Find documents matching a filter |
| Find One Document | General | Find a single document matching a filter |
| Insert Many | General | Insert multiple documents |
| Insert One | General | Insert a single document |
| List Collections | General | List all collection names in the database |
| Update Many | General | Update all documents matching a filter |
| Update One | General | Update a single document matching a filter |
Operations
Aggregate
Run an aggregation pipeline
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Pipeline pipeline | Yes | textarea |
Tips
- pipeline: array of stages ($match, $group, $lookup, $project).
Count Documents
Count documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea |
Delete Many
Delete all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Delete One
Delete a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Tips
- First matching doc by filter.
Find Documents
Find documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea | |
Limit limit | No | number | |
Sort sort | No | textarea |
Tips
- Returns array. Supports skip + limit + sort. Use for paged reads.
Find One Document
Find a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea |
Tips
- filter: MongoDB query syntax e.g. {email:'foo@bar.com'}.
- projection: {field1:1, field2:1} to limit returned fields.
Insert Many
Insert multiple documents
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Documents documents | Yes | textarea |
Tips
- Bulk – up to 100k docs. Ordered (stop on first error) or unordered.
Insert One
Insert a single document
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Document document | Yes | textarea |
Tips
- document: full BSON object. Returns insertedId.
List Collections
List all collection names in the database
No input parameters.
Update Many
Update all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
Update One
Update a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
Tips
- filter to match + update object ({$set:{...}, $inc:{...}}).
- upsert=true creates if not found.
FAQ
- Data API vs Driver?
- Data API: REST, no driver to install, easier for backends. Drivers: lower latency, full feature set (change streams, transactions).
- Why is my $lookup slow?
- Add indexes on the joined field. Atlas Search for full-text. Avoid $lookup on large collections without indexes.