The Reimagined Trailblazer Community is Here! Learn More.

Test the Connection

Learning Objectives

After completing this unit, you’ll be able to:

  • Create field mappings to enable data synchronization.
  • Build a simple report as a source for an email send.
  • Send a Marketing Cloud email from within Salesforce CRM.

Create Field Mapping

One of the coolest features of Marketing Cloud Connect is its automatic synchronization of data between Marketing Cloud and Salesforce CRM. To make this work, we need to configure some basic field mapping. We specify the relationships between subscribers in Marketing Cloud and the corresponding fields in the Lead and Contact objects in Salesforce CRM.

  1. Log in to Marketing Cloud with your Marketing Cloud Connect API credentials.
  2. In Marketing Cloud, hover over Email Studio and click Email.
  3. Hover over Subscribers and select Profile Management.
  4. Click CreateProfile Management screenshot with create button selected.
  5. On the General tab, type First Name in the top text box.
  6. Click the Salesforce tab.
  7. Select First Name in the Map to Salesforce Lead Field picklist.
  8. Scroll down in the Map to Salesforce Contact/Account Field picklist to the Contact General section and select First Name. Select both checkboxes to display on Salesforce Profile Center.Configured Salesforce tab in the New Attribute Properties screen with Display on Salesforce Profile Center for Leads and Contacts selected.
  9. Click OK.
  10. Repeat steps 3–9 to create a second attribute, using Last Name instead of First Name.

Congratulations—you did it! Marketing Cloud Connect setup is now complete. 

6: Test

Progress chart with Step 6: Test highlighted.

Now that you’ve successfully set up Marketing Cloud Connect, let’s do a quick test to ensure everything is working properly. First, we build a basic email template in Marketing Cloud and then send an email to leads inside Salesforce CRM.

Create an Email in Marketing Cloud

Get started by creating a basic email template in Marketing Cloud Content Builder. 

  1. In Content Builder click Create.
  2. Select Email Message from the dropdown list.
  3. Below Define Properties, select Text Only from the dropdown list. On Create an Email screen, Text Only is selected from the dropdown.
  4. In the Name field type MC Connect Test and then click Next.
  5. In the Subject field, type Marketing Cloud Connect Test Email.
  6. Paste the following code into the body and then click Save and Exit.
Dear %%First Name%% %%Last Name%%,
System attributes (%%jobid%%, %%memberid%%)
Forward to a Friend: %%ftaf_url%%
Update Your Profile: %%profile_center_url%%
This email was sent by:
%%Member_City%%, %%Member_State%%,%%Member_PostalCode%%, %%Member_Country%%

Create a Test Lead in Salesforce CRM

Now that we have an email created in Marketing Cloud, we need to create recipients in the CRM environment to send our test message.

  1. Log out of Marketing Cloud and log in to your Salesforce CRM account.
  2. Select Leads in the navigation bar.
  3. Click New.
  4. Fill out First Name, Last Name, Company, and Email address with something memorable—you can use your name and company, for example. Ensure the email address you use is one that you have access to so you can view the test email.
  5. Click Save.

Create Test Lead Report 

  1. Navigate to Reports from the All Tabs page.
  2. Click New Report.
  3. In the Select Report Type section, click Leads, then click Create.
  4. Enter id in the Quick Find text box.
  5. Double-click Lead ID to add it as a column in the report.
  6. In the Show picklist, select All leads.
  7. Next to Filters, click Add. A new filter appears below the Date Field.
  8. Click the down arrow and scroll down the picklist to select Email.
    The Email field is selected for filtering in the report builder.
  9. Leave the operator as equals, and then enter the email address you specified when you created the test lead.
  10. Click OK.
  11. Click Run Report. You should see a single result: the test lead that you created. Report showing the single test lead as the only record.
  12. If the report looks as expected, click Save As.
  13. Name the report MC Connect Leads Test and save it in the Marketing Cloud Admin report folder.
  14. Click Save.

Send a Test Email from Salesforce CRM

Now it’s time for the real test. Here’s how to send that Marketing Cloud–generated email from within the Salesforce CRM org.


This is a real email you’re sending. So make sure you’re only sending it to yourself! Double-check the report results just prior to sending to ensure that only you receive the test message.

  1. In Salesforce CRM, click the plus icon to navigate to the All Tabs screen.
  2. Click Marketing Cloud.
  3. Click Find.
  4. Click Content Builder and select the MC Connect Test email template you created.

Selecting MC Connect Test in the Email Send configuration screen

  1. Click + icon in the Recipients section of the form.
  2. Select the Marketing Cloud Admin report folder.
  3. Select MC Connect Leads Test.
  4. In the From section of the form, select the desired value. Since this is a test email, any option is fine.
  5. Select the checkbox next to I certify all of these people have opted in (required).
  6. Click Send.

Voilà! The email is now queued to send. Even though the default setting is an immediate send, it can take up to an hour to see the email in your inbox. Marketing Cloud is designed for sending email to millions of subscribers at once, so there are a number of asynchronous processes and queues involved in this simple test. In other words, don’t worry if the email doesn’t show up right away.

When it does, if everything is set up properly, the test email arrives in your inbox with the first name and last name populated, along with other details from the email send.


Need some help? Check out the help page, Troubleshoot Installation and Configuration.

Marketing Cloud Connect Is Connected!

Cue the confetti—you have successfully set up Marketing Cloud Connect for your account.

When you are ready to deploy Marketing Cloud Connect to your users, be sure to:

  • In CRM: repeat steps to assign proper page layouts and permission sets to users who plan to use Marketing Cloud Connect.
  • In Marketing Cloud: Integrate all users needing access to both systems.

With that, you can get back to work or... go celebrate. We approve of either. You did some incredible work in this badge!


Keep learning for
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities