Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel1
typeflat

Quick reference

...

Step

...

Content

...

Tip

...

1

...

Authentication Provider

...

as system administrator: Link Salesforce to CleverReach via Oauth

...

2

...

Named Credential

...

as system administrator: provide CleverReach registration

...

3

...

Authentication for External Systems

...

in each user's setup in Salesforce ("My settings" → "personal")

...

4

...

Configure Salesforce layouts

...

page layouts for campaign and campaign members; page layout for lead and contact; campaign searchlayout

...

5

...

Permission Sets

...

optional (for Marketing User)

...

6

...

Create a CleverReach Account in Salesforce

...

in the CleverReach-App (tab): registration/link with the CleverReach User

...

7

...

Default Values for Mandatory Fields

...

in the CleverReach-App (tab)

...

8

...

Known Issues and Solutions

...

Activated Clickjack Protection for Visualforce pages

Anchor
sf_idprovider
sf_idprovider
Step 1: Create Authentication Provider

...

Provider type: OpenID Connect
Name: any
URL suffix: any
Consumer key: Client ID from the OAuth app (CleverReach Configuration, Step 3)
Consumer secret: Client Secret from the OAuth app
Authorization endpoint URL: https://rest.cleverreach.com/oauth/authorize.php
Token endpoint URL: https://rest.cleverreach.com/oauth/token.php
Send access token to in header: check
Other Fields: empty/not needed

...

Anchor
sf_namedcred
sf_namedcred
Step 2: Create Named Credentials (Legacy)

...

  1. Go to Setup | Security | Named Credentials

  2. Select New Legacy from the dropdown on the right side:

    Image Added
  3. Create New Named Credential with following settings:

...

Click Edit. You can now define a value that is always used in the required fields when the CleverReach app generates a lead in Salesforce and no content is delivered via CleverReach. If you do not create your own fields in Salesforce, you will only find the entries LastName and Company. You can find out how to create required fields themselves, in the Salesforce Manual.

...

Anchor
sf_

...

knownIssues
sf_

...

knownIssues
Step 8: Known Issues and Solutions

...

Clickjack Protection

For Classic currently an error message is shown if Clickjack protection is active when a page with added visualforce page in the page layout is shown.
Clickjack protection must be deactivated therefor (default configuration) Setup | Security Controls | Session Settings | Clickjack Protection:

...

In this case, the authentication has to be renewed. To do this, the named credentials are edited: Setup | Settings | Security | Named Credentials (alternatively enter "named credentials" in the Quick Search). There you'll find the named credentials created in step Step 2 from the Salesforce Configuration .

...

For the named credentials, click Edit. In the subsequent dialog, make sure that the check mark next to Start Authentication Flow on Save is set.

...