Salesforce Marketing Cloud Setup Guide
- A Salesforce Marketing Cloud account.
Setup Guide
-
Step 1: Obtain your Client ID and Client Secret
- Log in to your Salesforce Marketing Cloud account.
- Click your username > Setup.
- Go to Platform Tools > Apps > Installed Packages.
- Click New, enter a name, and click Save.
- Open the new package, and under Components, click Add Component.
- Select API Integration > Next.
- Select Server-to-Server as the integration type.
- Give Read permissions to: Campaign, Documents and Images, Email, Journeys, List and Subscribers, OTT, Push, Saved Content, SMS, Social, Web.
- Give Read and Write permissions to: Data Extensions.
- Give Read, Write, and Execute permissions to: Automations.
- Click Save.
- Copy the Client ID and Client Secret from the package's Components section. If using an Enhanced Installed Package, also copy the Sub-Domain (from the Authentication Base URI).
-
Step 2: Find your Marketing Cloud Instance
- Find your Marketing Cloud ID (MID) in your account.
- Go to the Salesforce Status page, search your MID, and find your Marketing Cloud instance.
- Make a note of the instance — you'll need it to configure Matia.
-
(Optional) Set up SFTP for data extension syncs
-
Password authentication:
- Click your username > Setup > Administration > Data Management > FTP Accounts.
- Note the Host and Port.
- Click Create User, enter an Email Address and Password, click Next.
- Note your FTP Username and Password.
- Under Authentication Options, select Password > Next.
- Select minimum permissions and click Save.
-
SSH key authentication:
- In Matia's connection setup, generate an SSH key pair and copy the public key.
- Save it as a
.pubfile, then convert it:ssh-keygen -e -f file_name.pub -m ssh2 > file_name.pem. - In Salesforce Marketing Cloud, go to Setup > Administration > Data Management > Key Management > Create.
- Select Key Type: SSH, check Public Key, upload the
.pemfile, click Save. - Go to FTP Accounts > Create User, enter an Email Address, select Read Only, and enter the uploaded SSH key.
- Under Authentication Options, select SSH Key, select minimum permissions, click Save.
- Note the Host, Port, and Username.
-
-
Step 3: Connect Salesforce Marketing Cloud in Matia
- Enter the Client ID and Client Secret.
- Select the Marketing Cloud Instance.
- If using an Enhanced Installed Package, enable Is Enhanced Installed Package and enter your Sub-Domain.
- If using SFTP, enter the Host, Port, and User (and Password, or enable Log in with key pair for SSH).
- Enter an Asset Name.
- (Optional) Enter a Description.
- (Optional) Assign Tags.
- Select an Owner.
- Click Test Connection, then Connect.