From Bright Pattern Documentation
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Enabling Access to SFDC Data from Scenarios

The server-side integration is implemented using Saleforce.com (SFDC) web services via the SFDC REST API (http://wiki.developerforce.com/page/REST_API).

Bright Pattern Contact Center authenticates with Salesforce using the Web Server OAuth Authentication flow. The refresh token mechanism is used to obtain and refresh the access token.


Step 1: Create a new Connected App.

  • Open Build (or App Setup).
  • Select Create | Apps | Connected Apps.
  • Click New.


Step 2: Configure the Connect App.

The following details shall be provided to configure the Connect App:

Basic information:

  • Connected App Name: Set any unused name as a Web App Name.
  • API Name: Set any unused name as an API Name.
  • Contact Email: Supply contact email.


Sfdc-integration-guide-image13.png


API (Enable OAuth Settings):

  • Check: API (Enable OAuth Settings) > Enable OAuth Settings
  • Callback URL: https://<your-brightpattern-domain>/admin/salesforcecallback.html
  • Select Available OAuth Scopes:
  1. Access and manage your data (API).
  2. Full access (full)
  3. Perform requests on your behalf at any time (refresh_token, offline_access).
  • Click Save.

Note: The SFDC updates for these parameters take a few minutes to propagate through the system--wait five minutes while SFDC updates these settings internally.


Sfdc-integration-guide-step2.png


Step 3: Update the earlier created Bright Pattern Contact Center/Salesforce integration account.

  • From the Bright Pattern Contact Center Administrator application, open Configuration > Call Center Configuration > Integration Accounts > Salesforce.com.
  • Use the consumer key and consumer secret obtained from the app created above.
  • From App Setup, select Apps, click Connected Apps, and select the app created earlier.
  • Copy the Consumer key and Consumer secret directly from the created SFDC Connected App.
  • Paste them into the Bright Pattern Contact Center integration account.


Sfdc-integration-guide-image15.png


Step 4: Update the security profile to include the new connected app.

  • From Administer (or Administration Setup), select Manage Users | Profiles.
  • Click System Administrator.
  • Click Edit.
  • In Connected App Access, check the Connected App created earlier.
  • Click Save.


Sfdc-integration-guide-image17.png


Step 5: Update the Bright Pattern Contact Center Administrator application.

  • Select Configuration > Call Center Configuration > Integration Accounts > Salesforce.com, and specify the following data:
    • Fill in the parameters and press the Request token button.
    • If your SFDC environment is a sandbox, select the Sandbox environment checkbox.


SFDC-Integration-Accounts.png


The Salesforce integration account configuration should now be complete. You can use the Check limits button to see the SFDC limits associated with this account.


Step 6. Use the following scenario blocks to access SFDC data and enable screen pop:


Bright Pattern Contact Center Administrator provides a scenario template for a simple inbound workflow involving look-ups and screen pop of SFDC data.


< Previous | Next >
< Previous | Next >