Tutorials Miscellaneous Salesforce Integration

Salesforce Integration

Reading Time: 4 minutes

Estimated reading time: 8 minutes | Target users: Supervisors

You can now integrate VCC Live® with Salesforce. The way the integration works is simple: when your agent handles a call in the VCC Live® application, the system automatically looks up your customer’s phone number in your Salesforce CRM database. If a match is found, the relevant CRM record will pop up. If no match is found, the Salesforce dashboard will appear.

The integration allows your agents to be even more productive — they don’t have to spend time on searching the CRM for the lead while the customer is waiting on the end of the line.

In this lesson, you will learn:

  • How to set up the integration using Salesforce Connected Apps
  • How to configure the integration in VCC Live®
  • How to access the Salesforce CRM through the Agent Workspace

Recommended knowledge:

1. Adding a New Connected App in Salesforce App Manager

You need to add VCC Live® to your connected apps in Salesforce. This process includes generating your application access token (a Consumer Key, Consumer Secret and Callback URL) that works as the security credentials needed for integration.

  1. Log in to your Salesforce Application Manager.
  2. Refer to the navigation bar list on the left side of the screen. From the Platform Tools section, navigate to Apps > App Manager.
  3. Press New Connected App.
  4. Mark the Enable OAuth Settings checkbox.
  5. Find the Selected OAuth Scopes section, then add the following items from the Available OAuth Scopes list: Access and manage your data (api), Allow access to your unique identifier (openid), Perform requests on your behalf at any time (refresh_token, offline_access).
  6. In the Callback URL field, enter the following URL:
  7. Once each required field is filled in, press Save.
  8. Make sure to note down the following details: Consumer key, Consumer secret, and Callback URL — you might need them later.
  9. Press the Manage button. Make sure the refresh token is set to valid until revoked, so it won’t expire.

2. Configuring the Integration in VCC Live® Desk

Now you need to configure the integration in the VCC Live® Desk application. This includes creating a new database field for your Salesforce ID, adding your Salesforce instance URL to the agent browser and a script (or datasheet), and implementing the API commands.

2.1 Creating a Salesforce ID Database Field

  1. Log in to VCC Live® Desk as an admin user.
  2. Select a project from the project list, then select Database > Fields.
  3. Create a new field, for example, salesforce_id. For more details about creating fields, see To Manually Create a New Field.

2.2 Setting Up a New Agent Browser Tab Pointing to Your Salesforce URL

  1. Select a project from the project list, then select the Agent browser tab.
  2. Press New. A new row appears with a text field.
  3. Enter your Salesforce instance URL, then press Save.

2.3 Creating an Agent Script or Datasheet Page for Embedding Salesforce

  1. Select a project from the project list, then select Script editor > Datasheet or Script.
  2. Select a datasheet or script for editing.
  3. Drag and drop a Browser control from the toolbar to a blank space on the page.
    Adding button control illustration
  4. In the URL field, enter https://yourSalesforceUrl/{fieldPreviouslyCreated} (e.g., https://eu26.lightning.force.com/{salesforce_id}).
  5. Press Save.

2.4 Adding the API Commands to the Script

  1. Make sure the datasheet or script page you previously created is open.
  2. Press Edit code to open the page for editing.
  3. Use our API commands in the code. If you don’t have a permanent access token, you need to generate one using the salesforce.getAccessToken method method.
    • Use the searchObject method function through onLoad to find the Salesforce ID for your existing lead.
    • Use the setFieldValue method to update the value of your Salesforce field with the returned Salesforce ID.
    • Use the goNext function to force a browser window reload if necessary.
  4. Save the finished script or datasheet page.

For more details about the API functions, see salesforce.getAccessToken and searchObject methods.

3. Logging in to Salesforce on the Agent Workspace

  1. Log in to VCC Live® Desk as an agent user.
  2. Press VCC Live Agent Browser icon on the taskbar to access the agent browser. The Salesforce login screen will appear.
  3. Log in to Salesforce using your login details.
  4. The first time you log in, you will see a prompt from Salesforce asking you to allow or deny access to your data. Press Allow.


You’ve just learned how to integrate VCC Live® Desk with Salesforce.

There are no comments yet.
Subscribe to our newsletter
or Contact us!
Please note that by subscribing to our newsletter, you agree to receive regular email messages from VCC Live® about service related news and updates. By subscribing to our newsletter, you also agree that VCC Live® will use your data in accordance with the applicable Privacy Policy until you unsubscribe from the newsletter.