Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Cloudfon connector hub CloudCX Connector Hub provides integration with Salesforce via the API for CRM. The configuration is done server-side, in an easy and straightforward way. Let's follow the instructions step by step to complete the integration with Salesforce.

Table of Contents

...

Create A Salesforce App

To integrate with Salesforce, you have to create a Salesforce app in your Salesforce.

Prerequisites

  1. A valid Salesforce Account.

  2. An account that has the Administrator role.

Create A Salesforce

...

App

...

  1. Go to your Salesforce

...

  1. portal and click on “Setup”.

...

  1. Go to PLATFORM TOOLS > Apps > App Manager

...

Click to Create a new Connected App

...

  •  Fill in some information necessary to create the app and then click "save"

...

  1. , click on “New Connected App”.

...

  1. In the Basic Information, enter basic details like the Connected App Name, API Name and Contact Email.

...

  1. In the API (Enable OAuth Settings), select Enable OAuth Settings and add the Authorized Redirect URL https://your_cx_domain/backend/api/v2.0/integration/app/callback/api/salesforce to the Callback URL.

...

  1. Select and add OAuth Scopes to the Selected OAuth Scopes.

...

  1. Select the required permissions mentioned below for your Salesforce App, then click on “Save” to create the App.

Require Secret for Web Server Flow

Require Secret for Refresh Token Flow

Enable Client Credentials Flow

Enable Authorization Code and Credentials Flow

Require user credentials in the POST body for Authorization Code and Credentials Flow

Note: Please do not select the ”Require proof key for Code Exchange (PKCE) Extension for Supported Authorization

...

Flows” permission, otherwise

...

your CloudCX will not be able to connect Salesforce properly.

...

  1. Re-enter App Manager, find the newly created connected app in the list on the left, click

...

Image Removed

...

  1. on “View” to go to Manage Connected Apps.

...

  1. In the Manage Connected Apps, click on “Manage Consumer Details

...

In the Consumer Details, you will have to obtain the Consumer Key and Consumer Secret

...

. These values will be required while setting up in the Connector Hub.

...

Image Added

Configure Salesforce Integration in CloudCX

Log in to the your system administrator portal , click "Advance"-> "Connector Hub Settings"-> "Salesforce" to enter the Salesforce settings page.

...

Fill in the Consumer Key and Consumer Secret of your Salesforce application into Client-id and Client-Secret, and fill "https://your_cx_domain:9006, go to Advance > Connector Hub Setting > Salesforce to configure.

  • Paste the Consumer Key & Consumer Secret to Client ID & Client Secret, the Client ID & Client Secret obtain from Consumer Details here.

  • Copy the Authorized Redirect URL and paste to Callback URL here.

  • Enter the Salesforce login URL “https://login.salesforce.com/ into

...

  • Account Server Address

...

  • & CRM address

...

Configure Callback for Salesforce APP

  • Copy Authorized Redirect URL

...

  • Go back to Salesforce App and past the copied Authorized Redirect URL into Callback URL

...

  • .

...

That's all the Salesforce integration, now, and then you can connect your Salesforce account to the App & Integrations > Salesforce in your tenant here