For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
  • Getting started
    • Introduction
    • Obtaining API keys
    • Quickstart
    • Concepts
    • Embedding authentication
    • Versioning
    • Idempotent requests
  • Configuring your connections
    • CDC streaming from databases
      • Affinity
      • Airtable
      • Amplitude
      • API
      • Apollo.io
      • Asana
      • Ascend
      • Attio
      • AWS S3
      • AWS Athena
      • AWS OpenSearch
      • Azure Blob Storage
      • Azure SQL
      • BiqQuery
      • CloudSQL (MySQL)
      • CloudSQL (Postgres)
      • Chargebee
      • ConstructionWire
      • CosmosDB
      • Customer.io
      • Databricks
      • Datadog
      • dbt Cloud
      • Delighted
      • Dialpad
      • Dittofeed
      • DynamoDB
      • Facebook Ads
      • Freshdesk
      • Front
      • FullStory
      • Google Cloud Storage
      • Github
      • Google Ads
      • Google Workspace
      • Google Sheets
      • Harmonic
      • Heap
      • Honeycomb
      • HubSpot
      • Intercom
      • Iterable
      • Jira
      • Klaviyo
      • Kustomer
      • Linear
      • Linkedin Ads
      • Lob
      • Mailercheck
      • Marketo
      • MongoDB
      • Microsoft Ads
      • MySQL
      • Netsuite
      • Outreach
      • Pardot
      • Pipedrive
      • Postgres
      • PredictLeads
      • Quickbooks
      • Recharge
      • Redshift
      • Redshift Serverless
      • Reply.io
      • Salesforce
      • Segment
      • SFTP
      • Shopify
      • Short.io
      • Slack
      • Snowflake
      • Statsig
      • Stripe
      • Survicate
      • Synapse
      • Tixr
      • Unbounce
      • Uservoice
      • Vanilla Forums
      • Webhooks
      • Zendesk Chat
      • Zendesk Support
      • ZoomInfo
  • API Reference
Logo
Log inBook a demo
On this page
  • Connection
  • Configuration
  • Example
  • Model Sync
  • Source
  • Configuration
  • Example
  • Target
  • Target creation
  • Bulk Sync
  • Source
Configuring your connectionsConnection configurations

MongoDB

Was this page helpful?
Previous

Microsoft Ads

Next

Supports:

  • ✅ Models
  • ✅ Model sync destination
  • ✅ Bulk sync source

Connection

Configuration

NameTypeDescriptionRequired
change_detectionbooleanUse change stream for bulk syncsfalse
databasestringAuth Databasefalse
hostsstringHostname(s)true
paramsstringAdditional Parameters

Additional connection parameters, formatted as a query string
false
passwordstringPasswordfalse
srvbooleanConnect using SRV record?false
sslbooleanUse TLS/SSLfalse
usernamestringUsernamefalse

Example

1{
2 "name": "MongoDB connection",
3 "type": "mongodb",
4 "configuration": {
5 "change_detection": false,
6 "database": "",
7 "hosts": "mongodb.example.net",
8 "params": "",
9 "password": "password",
10 "srv": false,
11 "ssl": false,
12 "username": "admin"
13 }
14}

Model Sync

Source

Configuration

NameTypeDescriptionRequired
aggregationstringfalse
collectionstringCollectiontrue
databasestringDatabasetrue
querystringfalse

Example

1{
2 ...
3 "configuration": {
4 "aggregation": "",
5 "collection": "users",
6 "database": "public",
7 "query": "db.users.find({\"name.family\": \"Smith\"})"
8 }
9}

Target

MongoDB connections may be used as the destination in a model sync.

Target creation

MongoDB connections may be used to create a new target for a model sync. The following parameters are required to create a new target:

NAMEDESCRIPTIONENUM
nameCollection namefalse

Bulk Sync

Source

MongoDB connections may be used as a bulk sync source. No additional configuration options are required.