Overview
This source syncs marketing data from Salesforce Marketing Cloud (SFMC) using both the Marketing Cloud Engagement REST API and the SOAP API. Authentication uses the OAuth 2.0client_credentials flow via an installed package.
Authentication
Create an Installed Package in Marketing Cloud:- In Marketing Cloud, go to Setup → Platform Tools → Apps → Installed Packages.
- Click New and give the package a name.
- Under Components, click Add Component → API Integration → Server-to-Server.
- Grant the scopes listed below and save.
- Copy the Client ID, Client Secret, and the tenant subdomain from the Authentication Base URI (e.g.
mc563885gzs27c5t9-63k636ttgmfromhttps://mc563885gzs27c5t9-63k636ttgm.auth.marketingcloudapis.com/).
Required scopes
Configuration
Sample configs
Minimal — REST streams only:Streams
REST streams
SOAP streams
Event streams use 30-day date windowing to avoid SFMC server-side timeouts on large datasets. The
start_date config value (or the EventDate bookmark from a previous sync) is used as the window start.