Log in Using OAuth 2.0 log-in-using-oauth-2-0
Salesforce uses the OAuth protocol to allow users of applications to securely access (authenticate the application using OAuth 2.0) data without having to reveal login credentials. Below are the steps to be performed to securely connect and sync Marketo Engage with Salesforce.
Set Up Connected App set-up-connected-app
-
In Salesforce, under Setup, within the Platform Tools, navigate to Apps, App Manager, and click New Connected App.
-
Fill in the details and click Save.
-
Click the Enable OAuth Settings checkbox. For Callback URL, enter
https://app.marketo.com/salesforce/getSfdcOAuthTokensRedirect
. Select all the available OAuth Scopes and click Add. -
Click Save.
-
Click Continue.
-
Copy the Consumer Key and Consumer Secret (you’ll need them later for use in Marketo Engage).
Set Up Marketo set-up-marketo
- API access must be enabled for the Salesforce Sync User (if you’re a Salesforce Professional Edition user, that access is not available by default—please contact your Salesforce Account Executive).
- Marketo Sync user has to be created in Salesforce.
- For existing customers, Feature to “Enable OAuth for SFDC sync” is enabled on the customer’s subscription.
- Pop-up blockers are disabled.
- Connected App is created and we have the Consumer Key and Consumer Secret are available for use.
-
In the Marketo Admin section, click CRM, then Sync with Salesforce.
-
Add the Consumer Key and Consumer Secret info you previously recorded and click and Save.
-
On the Marketo Salesforce sync page, click the Login with Salesforce button.
note caution CAUTION If you’re seeing Username/Password/Token fields and not a “Login with Salesforce” Button, your Marketo Subscription is enabled for Basic Authentication. Please refer to Set up Marketo with Basic Authentication. Once the sync begins using a set of Credentials, there is no switching of Salesforce credentials or subscription. If you want to use Oauth 2.0, reach out to the Adobe Account Team (your Account Manager). -
A pop-up with the salesforce login page will show up. Key in your “Marketo Sync User” credentials and log in.
-
Enter the verification code you received via email (sent by Salesforce) and click Verify.
-
Upon successful verification, the access page will show up requesting access. Click Allow.
-
In a few minutes, a pop-up will appear in Marketo. Click Confirm Credentials.
-
Upon completion of Field Syncing, click Start Salesforce Sync.
-
Click Start Sync.
Your Sync between Marketo and Salesforce is now in progress.