MongoDB Atlas integration

Managed MongoDB cloud database (find, insert, update, delete, aggregate)

Help CentreConnectors

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.

  1. Atlas Console → Project → Data API → Enable + create API key.
  2. Copy URL endpoint + API key.
  3. 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.

OperationCategoryWhat it does
AggregateGeneralRun an aggregation pipeline
Count DocumentsGeneralCount documents matching a filter
Delete ManyGeneralDelete all documents matching a filter
Delete OneGeneralDelete a single document matching a filter
Find DocumentsGeneralFind documents matching a filter
Find One DocumentGeneralFind a single document matching a filter
Insert ManyGeneralInsert multiple documents
Insert OneGeneralInsert a single document
List CollectionsGeneralList all collection names in the database
Update ManyGeneralUpdate all documents matching a filter
Update OneGeneralUpdate a single document matching a filter

Operations

Aggregate

Run an aggregation pipeline

ParameterRequiredTypeDescription
Collection collectionYestext
Pipeline pipelineYestextarea

Tips

  • pipeline: array of stages ($match, $group, $lookup, $project).

Count Documents

Count documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea

Delete Many

Delete all documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea

Delete One

Delete a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea

Tips

  • First matching doc by filter.

Find Documents

Find documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea
Projection projectionNotextarea
Limit limitNonumber
Sort sortNotextarea

Tips

  • Returns array. Supports skip + limit + sort. Use for paged reads.

Find One Document

Find a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea
Projection projectionNotextarea

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

ParameterRequiredTypeDescription
Collection collectionYestext
Documents documentsYestextarea

Tips

  • Bulk – up to 100k docs. Ordered (stop on first error) or unordered.

Insert One

Insert a single document

ParameterRequiredTypeDescription
Collection collectionYestext
Document documentYestextarea

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

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea
Update updateYestextarea
Upsert upsertNoswitch

Update One

Update a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea
Update updateYestextarea
Upsert upsertNoswitch

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.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.