Skip to content
CRM ⇄ Database

Dun And Bradstreet to MongoDB integration — real-time data sync

Keep Dun And Bradstreet and MongoDB in sync without custom scripts. Cut weeks of integration work, eliminate silent data drift, and give your team a single, reliable source of truth.

  • SOC 2 and 6 other compliance frameworks
  • POC with real engineers in minutes

Adopted by fast-scaling companies moving mission-critical data in real time

Case study
Migrated from MuleSoft
Case study
Migrated from Celigo
Migrated from Heroku Connect
Migrated from Matillion
Case study
Migrated from Fivetran
Case study
Migrated from Celigo
Why teams connect Dun And Bradstreet and MongoDB

Treat Dun And Bradstreet like part of your database: its records live in MongoDB as real tables, and writes in either place sync to the other in seconds.

Dun And Bradstreet is a read-only source: Stacksync reads its data in real time and delivers it into MongoDB, so MongoDB always reflects the current state of Dun And Bradstreet — without exports, scripts, or schedulers.

Product and engineering teams constantly need CRM data, and the CRM API is a poor way to get it: rate limits, pagination, custom objects, and integration code that breaks when an admin renames a field. What they actually want is the data in MongoDB, where it can be queried and joined like everything else.

Common use cases

  • 01 Build target-account lists with Criteria Search and land the resulting DUNS plus firmographics in a database for outbound and TAM analysis.
  • 02 Poll D&B Monitoring notifications for a registered portfolio of key accounts and suppliers and update the CRM or warehouse record whenever a firmographic or risk score changes.
  • 03 Consolidate documents from multiple clusters or tenants into a single warehouse-facing store.
  • 04 Sync MongoDB collections with a CRM so customer documents written by the application appear as CRM records, and CRM edits flow back as document updates.

Common sync patterns

Trigger workflows from CRM changes

Field and stage updates in Dun And Bradstreet arrive as row changes in MongoDB, ready to drive jobs and notifications.

Query the CRM like a database

Accounts, contacts, and custom objects from Dun And Bradstreet become tables in MongoDB you can join with application data directly.

Product events onto CRM records

Signup, usage, or lifecycle changes written to MongoDB sync onto the matching records in Dun And Bradstreet, giving go-to-market teams live product context.

What you can sync between Dun And Bradstreet and MongoDB

Representative objects on each side — any object or custom field can map to any target. Schemas are auto-detected; types are converted between the two systems.

Dun And Bradstreet objects MongoDB objects How this pairing syncs
Criteria Search Query companies by firmographic criteria (industry, geography, size) and get back a list of D-U-N-S Numbers to enrich; read-only list building. Documents BSON records created, updated, and deleted during syncs, keyed by _id. Criteria Search is specific to Dun And Bradstreet and Documents to MongoDB — each maps to any object or custom field on the other side.
Monitoring Notifications Change notices for a registered portfolio of DUNS; read-only feed pulled from the notifications endpoint (retained ~60 days) or delivered as bundled push. Embedded documents and arrays Nested structures that syncs flatten or map to related records in relational targets. Monitoring Notifications is specific to Dun And Bradstreet and Embedded documents and arrays to MongoDB — each maps to any object or custom field on the other side.
Company Information (Data Block) Core firmographics for a D-U-N-S Number - legal name, addresses, industry codes, employees, sales, status. Retrieved read-only via the Enrich endpoint; blocks come in levels L1-L4. Indexes Keep lookups by sync key fast on large collections. Company Information (Data Block) is specific to Dun And Bradstreet and Indexes to MongoDB — each maps to any object or custom field on the other side.
Principals & Contacts (Data Block) Company officers, executives, and contacts tied to a D-U-N-S Number; read-only enrichment used to populate CRM contact and account-owner fields. Views Read-only aggregation-defined sources for filtered sync datasets. Principals & Contacts (Data Block) is specific to Dun And Bradstreet and Views to MongoDB — each maps to any object or custom field on the other side.
Company Hierarchy & Connections (Family Tree) Parent, subsidiary, branch, and global-ultimate DUNS relationships; read-only, used to build account hierarchies and corporate-family rollups. Change streams The oplog-backed event feed that powers real-time change capture. Company Hierarchy & Connections (Family Tree) is specific to Dun And Bradstreet and Change streams to MongoDB — each maps to any object or custom field on the other side.
Financial Strength & Risk Insight (Data Block) D&B risk and credit signals - D&B Rating, PAYDEX, Failure Score, Delinquency Score, Viability - keyed by D-U-N-S Number; read-only. GridFS files Chunked file storage whose metadata can be referenced by synced documents. Financial Strength & Risk Insight (Data Block) is specific to Dun And Bradstreet and GridFS files to MongoDB — each maps to any object or custom field on the other side.

How changes propagate between Dun And Bradstreet and MongoDB

Each direction of the sync is driven by what the source system can signal and what the destination accepts — detection, delivery, and expected latency below.

Dun And Bradstreet MongoDB Interval-based propagation

DetectionStacksync polls Dun And Bradstreet for changes on an incremental schedule, reading only records changed since the previous pass. Polling via D&B Monitoring - register a portfolio of DUNS and pull change notices from the notifications endpoint (retained ~60 days).

DeliveryEach detected change is applied to MongoDB as a row-level write, with types converted between the two schemas.

MongoDB Dun And Bradstreet Sub-second propagation

DetectionChanges in MongoDB are captured at the source via change data capture — no polling loop against its API. MongoDB oplog and change streams (requires the database to run as a replica set — even single-node).

DeliveryDun And Bradstreet does not accept inbound record writes, so this direction carries requests rather than records: Dun And Bradstreet's output flows back as field updates on the originating MongoDB records.

Rate-limit considerations

  • Dun And Bradstreet: Per-contract transactions-per-second cap plus weekly/monthly/yearly quotas; exceeding TPS returns HTTP 429 with error 0045/0046 (0047 on spike arrest). Quotas reset on UTC boundaries.
What ships with Dun And Bradstreet ⇄ MongoDB

Connect Dun And Bradstreet and MongoDB for flexible, real-time data sync.

Real-time sync, workflow automation, event queues, EDI, and monitoring, for every Dun And Bradstreet–MongoDB connection.

Real-time

Real-time sync

Changes in Dun And Bradstreet or MongoDB instantly reflect in both systems. No stale data, no manual imports.

No-code + pro-code

Workflow automation

Trigger automated workflows whenever Dun And Bradstreet or MongoDB data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.

At scale

Event queues

Handle millions of events per minute without losing a single Dun And Bradstreet or MongoDB record.

Observability

Monitoring

Track your Dun And Bradstreet ⇄ MongoDB sync health, view errors, and replay failed events in one click.

Trading partners

EDI

Transform legacy EDI complexity into simple database interactions between Dun And Bradstreet and MongoDB.

How the Dun And Bradstreet and MongoDB connectors work

Dun And Bradstreet

Integration surface
D&B Direct+ REST API (plus.dnb.com) - capability groups for Identity Resolution (Match), Search, Enrich (Data Blocks by D-U-N-S Number), Multi-Process, Data File/Batch, and Monitoring
Authentication
OAuth 2.0 client-credentials: Base-auth a consumer key/secret to POST /v3/token for a bearer token; access tokens expire after 24 hours.
Change detection
Polling via D&B Monitoring - register a portfolio of DUNS and pull change notices from the notifications endpoint (retained ~60 days). Bundled push delivery is configured with your D&B rep; there is no standard HTTP webhook and no log-based CDC.
Capabilities
read
Rate limits
Per-contract transactions-per-second cap plus weekly/monthly/yearly quotas; exceeding TPS returns HTTP 429 with error 0045/0046 (0047 on spike arrest). Quotas reset on UTC boundaries.

MongoDB

Integration surface
MongoDB wire protocol via official drivers; Atlas additionally offers an administration REST API for cluster management
Authentication
Database credentials (username/password) or TLS/SSL X.509 certificate (.pem upload), entered individually or via a MongoDB connection string (SRV or standard); Stacksync IP allowlisting required
Change detection
MongoDB oplog and change streams (requires the database to run as a replica set — even single-node); Stacksync leverages these built-in tools to track changes in real time
Capabilities
read · write · CDC
MongoDB setup guide
How it works

How to connect Dun And Bradstreet to MongoDB — three steps, no code

Configure and sync within minutes, no code. Whether you sync 50k or 100M+ records, Stacksync handles the queues, infra, and plumbing. Integrations are non-invasive and need zero setup on your systems.

  1. 01

    Connect your apps

    Authenticate Dun And Bradstreet and MongoDB with each platform's native method — OAuth, API keys, or service accounts — plus secure options like SSH tunneling, IP whitelisting, and VPC peering.

    • OAuth 2.0
    • SSH tunnel
    • VPC peering
    Dun And Bradstreet connected
    MongoDB connected
    OAuth 2.0
    SSH tunnel
    SSL certificate
    VPC peering
  2. 02

    Choose tables

    Pick the Dun And Bradstreet and MongoDB objects to sync — Stacksync auto-detects both schemas, including custom fields where the platform exposes them. Sync to existing tables, or let Stacksync create new ones with ideal data types.

    • Standard objects
    • Custom objects
    • Auto-schema
    objects · Dun And Bradstreet ⇄ MongoDB
    Customers 12,480
    Sales Orders 8,213
    Invoices 5,902
    Items 1,344
  3. 03

    Map fields

    Fields map automatically even when names and types differ. Stacksync handles transformation and type casting for you, zero configuration required.

    • Auto-map
    • Type casting
    • Transforms
    Dun And Bradstreet MongoDB
    Company company_name text
    Email email text
    Amount amount numeric
    Created created_at timestamp
FAQ

Dun And Bradstreet and MongoDB integration FAQ

SECURITY

Security teams trust Stacksync

As a data company, we understand the importance of keeping your data secure. Stacksync is built with security best practices to keep your data safe at every layer, and is DPF-certified for US, EU, UK and CH data transfers.

SOC 2 Type II
ISO 27001
HIPAA BAA
GDPR
CCPA
CSA STAR
DPF US-EU-UK-CH
→ SECURITY WITH BENEFITS

SSO & SCIM

Let your users access Stacksync from your centralized user management systems. Works with Okta, Azure, Google SSO and more.

Alerts

Immediately get alerted about record syncing issues over email, Slack, PagerDuty and WhatsApp. Resolve issues from a centralized dashboard with retry and revert options.

Secure connection options

Securely connects to your systems with:

Related integrations

Every pair below is a real-time, two-way sync. Search all 517 integrations available for Dun And Bradstreet and MongoDB.

Popular · 8 of 517
Coworkers laughing in front of a laptop in a casual office setting

Your last integration took months.
Your next one takes a prompt.