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 SFDC web services via the SFDC REST API (http://wiki.developerforce.com/page/REST_API).

ServicePattern 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 and Click New

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>:8443/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)


Sfdc-integration-guide-image14.png


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.


Step 2. Update the earlier created ServicePattern Integration Account. From the ServicePattern Contact Center Administrator application, open Configuration > Call Center Configuration > Integration Accounts > Salesforce.com, and 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
Available directly from the created SFDC Connected App, paste into the ServicePattern Integration Account:


Sfdc-integration-guide-image15.png



Sfdc-integration-guide-image16.PNG


Step 3. Update the Security Profile to include the new Connected App. From Administer (or Administration Setup), select Manage Users | Profiles and click System Administrator. Click Edit.

  • Connected App Access: Check the Connected App created earlier


Sfdc-integration-guide-image17.png


Click Save


Step 4. Update the ServicePattern Contact Center Administrator application, select Configuration > Call Center Configuration > Integration Accounts > Salesforce.com, and specify the following data:

  • Fill the parameters and press the Request token button.
  • If your SFDC environment is a sandbox, select the Sandbox environment checkbox

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.


Sfdc-integration-guide-image18.PNG


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

ServicePattern provides a scenario template for a simple inbound workflow involving look-ups and screenpop of SFDC data.

< Previous | Next >