connector
MongoDB logo

MongoDB

Document database — query collections with arcodash's editor.

Connection fields

FieldRequiredDescription
hostYesHostname or IP address of the MongoDB server.
portNoDefaults to 27017.
userNoUsername, if the server requires auth.
passwordNoPassword for user.
dbYesDatabase name to connect to.
auth_sourceNoDatabase to authenticate against. Defaults to "admin".
replica_setNoReplica set name, if connecting to a replica set.

MongoDB isn't SQL — the query editor expects a JSON document like {"collection": "orders", "filter": {}, "limit": 100}, or {"collection": "orders", "aggregate": [ ... pipeline stages ... ]} for an aggregation.

Example configuration

{
  "host": "mongo.internal.example.com",
  "port": 27017,
  "user": "arcodash_reader",
  "password": "••••••••",
  "db": "analytics",
  "auth_source": "admin"
}

Caveats

  • Query text must be valid JSON in the collection/filter (or collection/aggregate) shape above — plain MongoDB shell syntax (db.orders.find(...)) is not accepted.
  • Schema introspection samples one random document per collection (via $sample) to infer column names — a collection with inconsistent document shapes will only show the fields present in that one sampled document.