- 4 Minutes to read
- DarkLight
Salesforce Marketing Cloud
- 4 Minutes to read
- DarkLight
Salesforce Marketing Cloud is a comprehensive digital marketing platform within the Salesforce ecosystem. It enables businesses to create and manage marketing campaigns across various channels, including email, social media, mobile, and advertising, providing tools for customer engagement, personalization, and analytics to optimize marketing strategies.
Refer to Salesforce's official documentation to see all available endpoints from the Salesforce Marketing Cloud API.
Authorize Connection to Salesforce Marketing Cloud
In Salesforce
To authorize your Salesforce account, you will need your subdomain name, client ID, and your client secret.
- In your Salesforce account, navigate to the Setup page.
- Under Platform Tools, click on Apps, and continue to Installed Packages.
- Select a package or create a new one with the following permissions to access data extentions:
data_extensions_read
data_extensions_write
email_read
campaign_read
list_and_subscribers_read
- Select the Server-to-server integration type and assign the following permissions
- List and Subscribers - Read, Write
- Marketing Cloud Connect - Read, Write
- Data Extensions - Read, Write
- Add an API component to display the Client ID and Client Secret.
- Copy the values.
In Dataddo
- On the Authorizers page, click on Authorize New Service and select Salesforce Marketing Cloud.
- Fill in the following fields:
- Subdomain: Your Salesforce Marketing Cloud subdomain name, e.g.
mydomain
fromhttps://mydomain.auth.marketingcloudapis.com
. - Client ID: Your Salesforce client ID.
- Client Secret: Secret to your client ID.
- Subdomain: Your Salesforce Marketing Cloud subdomain name, e.g.
- Rename your authorizer for easier identification and click on Save.
Create a Dataddo Data Extension
To access your data, the Dataddo Salesforce Marketing Cloud connector needs a Data Extension. A data extension is a table or relational database to contain all company or customer information just like a spreadsheet. There are two methods of creating a data extension:
Create a Data Extension in Email Studio
- In the top-left menu in Marketing Cloud, hover over Email Studio and click on Email.
- Under Subscribers, select on Data Extensions.
- In the top-right, click Create.
- Select the Standard data extension to create custom fields and data types. You can also add the following types on top of the Standard version.
- Filtered: Add filter fields, measures, filters.
- Random: Select a random subscriber from a source data extension.
- Name your extension, skip the External Key field, and add a description.
- Select your Data Retention settings.
- Complete the information in the Fields section and include a Primary Key.
- Click on Create.
Create a Data Extension in Contact Builder
- In the top-left corner of your your Email Studio, hover over Email, then Audience Builder, and click on Contact Builder.
- Navigate to the Data Extensions tab and click on Create.
- Select or create a data extension.
- Fill in the necessary fields, skip the External Key field, and click on Next.
- Configure your Data Retention settings.
- Complete the information in the Fields section and include a Primary Key.
- Click on Create.
How to Create a Salesforce Marketing Cloud Data Source
- On the Sources page, click on the Create Source button and select the connector from the list.
- From the drop-down menu, select your authorizer, Data Extension, and API Version.Didn't find your authorizer?
Click on Add New Authorizer at the bottom of the drop-down and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.
- Name your data source and select your metrics and attributes.
- [Optional] Configure your advanced settings (for more information please refer to the section on Advanced Settings). If you are unsure about how to proceed, we recommend skipping this step.
- Configure your snapshotting preferences. Choose your sync frequency or the exact synchronization time under Show advanced settings.DATADDO TIP
If you need to load historical data, please refer to the Data Backfilling article.
- Preview your data by clicking on the Test Data button in the top right corner. You can adjust the date range for a more specific time frame.
- Click on Save and congratulations, your new data source is ready!
Troubleshooting
Data Preview Unavailable
No data preview when you click on Test Data might be caused by an issue with your source configuration. The most common causes are:
- Date range: Try a smaller date range. You can load the rest of your data afterward using manual data load.
- Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.
- Invalid metrics, attributes, or breakdowns: You may not have any data for the selected metrics, attributes, or breakdowns.
- Incompatible combination of metrics, attributes, or breakdowns: Your selected combination cannot be queried together. Please refer to the service's documentation to view a full list of metrics that can be included in the same data source.
Related Articles
Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.
Sending Data to Dashboarding Apps
Sending Data to Data Storages
Other Resources