Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Quick reference
...
Step
...
Content
...
Tip
...
1
...
...
as system administrator: Link Salesforce to CleverReach via Oauth
...
2
...
...
as system administrator: provide CleverReach registration
...
3
...
Authentication for External Systems
...
in each user's setup in Salesforce ("My settings" → "personal")
...
4
...
...
page layouts for campaign and campaign members; page layout for lead and contact; campaign searchlayout
...
5
...
...
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
...
...
Activated Clickjack Protection for Visualforce pages
Anchor | ||||
---|---|---|---|---|
|
...
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 | ||||
---|---|---|---|---|
|
...
Go to Setup | Security | Named Credentials
Select New Legacy from the dropdown on the right side:
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 | ||
---|---|---|
|
...
|
...
|
...
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.
...