Setting Up Salesforce Sites For Consensus SFDC 9.X+ (*Required*)

Setting up Custom SFDC Site for Secure API Connection

Step: 1 Register Salesforce Site Domain

Setup >> Quick Find Box >> ‘Sites’ >> Register My Salesforce Site Domain as shown:

  1. If enhanced domains are enabled in your org, your Sites domain includes your org’s

My Domain in the format MyDomainName.my.salesforce-sites.com.

  1. If enhanced domains aren’t enabled in your org, select your Salesforce Sites

subdomain.

  1. Enter a unique name for your Salesforce Sites domain.
  2. Click Check Availability to confirm that the domain name you entered is unique. If it

isn't unique, you are prompted to change it.

  1. Read and accept the Sites Terms of Use by selecting the checkbox.
  2. Click Register My Salesforce Site Domain.




Step: 2 Create and Edit Salesforce Sites

 

  • In the site section click New.
    2) Enter information about your site.
    3) In the field: “Default Web Address” enter ’consensus’ as shown below.

    4) In the field: Active Site Home Page choose ‘Sso_Flow_Page’ as shown below.

    5) Click save.


    6) Click on the site label that you just created (the title of the Site you just created).

7) Click on Public Access Settings.

8) In the Apex Class Access section, click edit.



9) Add Classes as shown below and click save.

●    DemoManager (For webhooks)
●    SsoManager ( For Secure API)
●    IntegrationManager (For Opp sync)
●    IntegrationManager1 (For Opp sync)
●    IntegrationManager2 (For Opp sync)


10) Go to System Permissions (in the same Public Access Settings as before) and enable View All Custom Settings.

11) Go to Object Settings (in the same Public Access Settings as before), find Consensus Users Info, and give read permissions for the fields: 
●    Consensus email
●    Salesforce email

 

Step: 3 Configuration

  1. Open Consensus Configuration in SalesForce
  2. Checkbox Enable Secure API
  3. Fill “Public site URL” field from the Public Site URL for the Public Site you just created.

“Public site URL” link should be copied from:

  1. Salesforce Setup
  2. Enter “Sites” into Quick find field
  3. Open “Sites”
  4. Copy Site URL from the Site you just created

 

You will also need this Site URL later when setting up CRM Sync.