Salesforce Integration with x-bees – Admin Guide

Salesforce Integration with x-bees – Admin Guide

This Guide explains how to set up Salesforce integration with x-bees.

Other x-bees documentation: x-bees documentation.

Salesforce integration user guide: Salesforce Integration with x-bees - User Guide.

Created: March 2025

Updated: February 2026

Permalink: https://wildix.atlassian.net/wiki/x/AYBJR

Introduction

Salesforce integration enables automatic logging of calls, conferences and conversations that take place on the Wildix system between users and Salesforce leads. From x-bees, users can create new Salesforce leads, find existing leads, view all the previous interactions with them, create tasks, log activities and start a new conversation or schedule a call with them. 
Also, Salesforce integration with x-bees allows to manage Salesforce Opportunities, track stages, view and edit summary, view and edit notes and tasks. 

For managing calls and contacts directly from Salesforce account, refer to a separate integration: Salesforce Lightning Integration User Guide (compatible only with Lightning).

Requirements

  • x-bees-Standard subscription or higher

  • Admin access to Salesforce Classic or Lightning account

  • Salesforce subscription with API access. API access is included in the following Salesforce editions:

    • Enterprise Edition

    • Unlimited Edition

    • Developer Edition

    • Performance Edition

API access is not included in the following versions:

  • Professional Edition: API access can be purchased from Salesforce

  • Essential Edition

Information: https://help.salesforce.com/s/articleView?id=000326486&type=1.

Installation

Installation consists of 3 steps:

  1. Install Salesforce Auto Logging integration: it ensures automatic logging of calls and conferences that take place in x-bees between users and Salesforce leads; also, the integration ensures contact lookup for calls

  2. Install Salesforce integration: this allows to view Salesforce lead data on the Info frame in x-bees, see Salesforce contacts in Live Search and Dialpad search, create tasks and new Salesforce leads, and manage Salesforce Opportunities via x-bees

  3. Update Salesforce Settings: for correct work of Salesforce integration with x-bees

Important: The integration will only work if the same user (with the same email address) performs all three actions: enables the integration in WMS, has the Permission Sets assigned in Salesforce, and activates the Salesforce integration in x-bees for the first time.

Step 1. Install Salesforce Auto Logging integration

  1. Go to WMS Settings -> PBX -> Integrations -> Cloud integrations

Note: In case of WMS version lower that WMS 6.05.20231110.2, the tab is named x-bees (not Cloud integrations). Your PBX should be on the x-bees subscription, otherwise, the x-bees tab is greyed out. 

  1. Navigate to the Connectors section and click Salesforce Auto Logging:

salesforce-auto-logging-in-cloud-integrations.png
  1. Select an environment (live/ sandbox) and click Install:

salesforce-auto-logging-live-or-sandbox.png
  1. Log in to your account. Salesforce Auto Logging integration gets activated and you can configure its settings:

Activity

With the View Traces feature, you can closely monitor Salesforce activity, including errors, tool usage, message flow, and detailed pipeline execution.

To access View Traces, follow the steps below:

  1. Go to WMS -> PBX -> Integrations -> Cloud integrations

  2. Select Salesforce Auto Logging

  3. In the Activity section, click the View Traces button.

view-traces-salesforce.png
  1. The Salesforce Traces page will open, displaying a list of all activity. Each trace entry includes the following columns: Activity ID, Activity Type, Status, Duration, and Date.

  2. You can also filter traces by status: All, Complete, Complete with errors, Error.

filter-traces-by-status.png

To view detailed information about a specific trace follow these steps:

  1. Click on any trace entry in the list

  2. In the opened Details panel, you will see full technical details, including:

    • Status

    • Duration

    • Activity ID

    • Trace ID

Call Logging

There are three available Logging Modes. To activate one, go to WMS -> PBX -> Integrations -> Salesforce Auto Logging and select one of the following modes in Call Logging section:

  • Smart logging: updates a related task, created by the user during a conversation, or creates a new one if no existing conversation is found

  • Request manual matching: users will be requested to manually select related entities within 10 minutes, or create a new one

  • Require manual matching: users will be requested to manually select related entities within 10 minutes. If they do not select and confirm the creation task, any logging will be performed

call-logging-mode.png

In the Call Logging section, you can choose if you wish to save call as Task or Insight Boost, or both: 

task-insight-boost.png

Note: To get access to Insight Boost, it should also be configured in Salesforce. The setup is available on demand only. 

In the call logging configurations, you can select which calls have to be logged:

  • Salesforce User - Salesforce Customer: logs calls between a Salesforce user and a Contact/ Lead/ Account

  • Salesforce User - Unknown Person: logs calls between a Salesforce user and a contact not found in Salesforce 

  • Salesforce User - Salesforce User: logs calls between two Salesforce users

When choosing Salesforce User - Salesforce User option, you have possibility to exclude Salesforce users that do not have Customer records:

exclude-salesforce-users-without-records.png
  • Salesforce Customer - Salesforce Customer: logs calls between two Salesforce customers (Contacts, Leads, Accounts)

  • Salesforce Customer - Unknown Person: logs calls between a Salesforce customer and a contact not found in Salesforce

  • Unknown Person - Unknown Person: logs calls between two people not found in Salesforce 

call-logging-configuration.png

You can select multiple options. 

In the Voicebot task assignment section you can choose which Salesforce user Voice bot calls should be assigned to. You can leave the default option – in this case, calls will be logged and assigned to user who enabled the integration. The manual option allows to indicate the Salesforce user ID, for whom the tasks should be assigned.

voicebot-assignment.png

The Task subject format section allows to select how the task title should be displayed. By default the task subject caller and callee. You can leave the default option or choose to set title manually:

title-options.png

Available variables for manual option in case of call logging are: ${caller}, ${callee}. At least one of the available variables should be included in the task title.

Conference Logging

For conference logging, you can choose:

  • how to log a conference: as Task or Insight Boost

  • the format of task subject: default (the name of the conference) or manual option 

conference-logging.png

Available variable for custom task title in case of conference logging is: ${subject}

Chat Logging

For chat logging, you can choose:

  • Save chat as: Task or Insight Boost

  • Chatbot task assignment: default or manual. In case you choose the option Manual, you can add Salesforce user ID for Chatbot assignments to track chatbot interactions in Salesforce.

  • ChatBot session task creation: choose if you wish to log internal users sessions, customer sessions and/ or unknown sessions with bots

  • Task subject format: default (title of the conversation) or manual option. Available variable for custom task title in case of chat logging is: ${subject} 

chat-logging.jpg

Once you configure the settings, click Save settings to apply them: 

save-settings.png


Disable Logging

To disable call, conference, or chat logging, just turn off the toggle in front of the necessary section:

disable-logging.png

Step 2. Install Salesforce integration

  1. Go to WMS Settings -> PBX -> Integrations -> Cloud integrations

  2. In the Apps section, click Salesforce:

ready-integrations-click-install (1).png
  1. Click Create integration:

x-bees-client-integrations-salesforce-installed.jpg

Note: If required, you can edit the Salesforce integration (e.g. make available only to some users, block access to certain users, etc.). For more information about the settings and how to manage them, check out the guide How to set up Client integrations.

edit-salesforce-integration.png
  1. The integration gets installed:

x-bees-client-integrations-salesforce-installed.jpg

Step 3. Update Salesforce settings

In Salesforce, you need to proceed with the following steps:

  1. Configure CORS settings

  2. Configure Profile permissions 

  3. Authorize the Salesforce Admin to activate integration in x-bees and perform Author changes

  4. Install x-bees app in Salesforce settings

Important: Without the changes in Salesforce settings, the integration features (e.g. automatic logging) may not work. 

CORS settings

  • Go to Salesforce Setup (the Gear icon in the upper right-hand part of the screen)

x-bees and Salesforce-Setup.png
x-bees-added-to-cors.jpg

For more details and instructions, check Salesforce documentation.

  • It is also required to enable CORS for the supported OAuth endpoints in CORS -> Cross-Origin Resource Sharing (CORS) Policy Settings. For more details, check this link

Cross-Origin-Resource-Sharing-CORS-Policy-Settings.png

Configure Profile permissions

Also, you need to make the following changes in Salesforce settings for the integration to work:

  • From Setup left panel, under ADMINISTRATION, go to Users -> User Management Settings

  • Enable Enhanced Profile User Interface

salesforce-user-management-settings.png
  • Proceed to Users -> Profiles

salesforce-setup-users-profiles.png
  • Select the profile you need and click on it

  • Proceed to Object Settings

profiles-object-settings.png
  • In Object Settings list, find the following objects:

    1. Leads

    2. Contacts

    3. Accounts

  • Click on the above mentioned objects one by one -> on the Object page and provide the following permissions 

    1. Leads: Name, Email, Phone, OwnerId, MobilePhone, Company

    2. Contacts: Name, Email, Phone, OwnerId, MobilePhone

    3. Account: Name, Phone, OwnerId

To provide the necessary permissions, click Edit and in the Field Permissions list make sure the relevant checkboxes (both Read Access and Edit Access) are ticked off:

object-field-permissions-enabled.jpg
  • Save the settings

Authorize the SF Admin to activate integration and perform Author changes

Below you can find the instruction on how to authorize the SF admin to activate Salesforce integration with x-bees and perform Author changes. Follow this instruction to make sure that logging activities can be performed and leads are created with the correct Author in SF.

  • From Setup left panel, under ADMINISTRATION, go to Users -> Users

Screenshot 2022-02-07 at 12.14.44.png
  • Navigate to Permission Sets:

permission-sets-tab.png
  • Click New to create a new permission set:

create-new-persmission-set.png

 

  • Enter permission set name, e.g. Wildix Permissions and click Save:

permissions-set-name.png
  • The newly created Permisson Set opens. Scroll down to System section and click on System Permissions:

system-permissions.png
  • Click Edit

edit-system-permissions.png
  • Scroll down to the following options and enable the permissions

  1. Approve Uninstalled Connected Apps (Approve access to connected apps that aren’t installed in this org.)

approve-uninstalled-connected-apps-permission.png
  1. Set Audit Fields upon Record Creation (Set audit fields, such as Created By and Last Modified By, when you create a record (API only))

set-audit-fields.png

 

  • Scroll up and click Save. Permission Changes Configuration window opens. Click Save again

permission-changes-configuration.png
  • Click Manage Assignements to assign the user who will activate the integration:

manage-assignements.png

 

  • Click Add Assignement:

add-assignement.png

 

  • Select user who will get access to activating the app and click Next. This user will have to activate Salesforce integration in x-bees (see the document Salesforce Integration with x-bees - User Guide). After this, the x-bees app appears in Connected Apps in Salesforce and needs to be installed (see Step 4 of this guide):

select-user-to-assign.jpg
  • Click Assign:

assign-user.png

Important: The user who is assigned the Permission Set in Salesforce, should be the first to activate Salesforce integration in x-bees (via x-bees Settings -> Integrations -> find Salesforce, click Activate and log in).

After the assigned user activates the integration, x-bees app is automatically added to the Connected Apps in Salesforce (see Step 4 of this guide).

Step 4. Install x-bees app in Salesforce settings

  1. Go to Setup (the Gear icon in the upper right-hand part of the screen)

  2. From Setup left panel, under PLATFORM TOOLS, go to Apps -> Connected Apps Connected Apps OAuth Usage

  3. In the list of apps, find Xbees Frontend Integration and click Install

There are two apps: one for the production environment and one for the sandbox environment. The app labeled “App for iframe integration” is intended for production use.

Salesforce Integration-Setup-Install x-bees app.jpg
  1. Confirm the action by clicking Install

Salesforce Integration-Install x-bees app.png
  1. The app get installed

  2. After the installation, go to Apps -> Connected Apps → Manage Connected Apps

  3. Click Edit next to Xbees Frontend Integration

Salesforce integration with x-bees-Manage connected apps.jpg
  1. Under OAuth Policies, click Permitted Users dropdown menu and select one of the following options:

Salesforce integration with x-bees-OAuth Policies.png
  • All users may self-authorize (default, recommended): No restrictions, allows all users to authorize x-bees after successfully signing in. Users must approve the app the first time they access it

  • Admin approved users are pre-authorized: Restricted access, allows only users with the associated profile or permission set to access x-bees without first authorizing it. After selecting this option, manage profiles for x-bees by editing each profile's Connected App Access list. Or manage permission sets for x-bees by editing each permission set's Assigned Connected App list

You can check more details in https://help.salesforce.com/s/articleView?id=005132365&type=1.

Once the integrations are installed, from x-bees, it is possible to create new SF leads and manually log activities to SF:

  • The user who performs an action on a Salesforce record from x-bees is assigned as the author of this activity in Salesforce

  • If the user who performs an action is not present in Salesforce, then the activity is automatically assigned to the account's Admin

Enable Opportunity tab (optional)

For an Opportunity tab to appear in Salesforce integration within x-bees Info frame, follow the steps below:

  1. Go to Salesforce Settings -> Object Manager

object-manager.png
  1. Navigate to Opportunity: 

object-manager-opportunity.jpg
  1. Navigate to Fields & Relationships:

opportunity-fields-and-relationships.png
  1. Click New to add new custom field:

opportunity-fields-and-reletionships-new-field.png
  1. Choose the option Text and click Next at the bottom of the page:

opportunity-text.png
  1. Enter the new field details:

    • Field Label: conversationId

    • Length: 255

    • Field Name: conversationId

    • Enable the checkbox “Do not allow duplicate values”

    • In front of External ID field enable the checkbox “Set this field as unique record identifier from an external system”

    • Click Next

Note: Make sure the field label and name are exactly "conversationId".

new-field-details.png
  1. Choose which profiles the field should be visible to:

new-field-visibility.jpg
  1. On the next screen, remove the Add field checkbox for all items and click Save:

add-field-remove-checkbox.png

Note: For the Opportunity tab to be visible in the current chat, the following conditions should be met:

  1. User should have permissions for the Opportunity object.

  2. The external user is an Account, Contact or PersonAccount.

  3. There is at least one not Closed Opportunity related to the Account (Contact -> Account) or a previously assigned Opportunity to the current chat.

Enable Cases tab (optional)

For Cases tab to appear in Salesforce integration within x-bees Info frame, follow the steps below:

  1. Go to Salesforce Settings -> Object Manager

object-manager.png
  1. Navigate to Case: 

object-manager-case.jpg
  1. Navigate to Fields & Relationships:

cases-fields-and-relationships.png
  1. Click New to add new custom field:

cases-new-field.png
  1. Choose the option Text and click Next at the bottom of the page:

case-new-text-field.png
  1. Enter the new field details:

    • Field Label: conversationId

    • Length: 255

    • Field Name: conversationId

    • Enable the checkbox “Do not allow duplicate values”

    • In front of External ID field enable the checkbox “Set this field as unique record identifier from an external system”

    • Click Next

Note: Make sure the field label and name are exactly "conversationId".

case-new-field-conversationid.png
  1. Choose which profiles the field should be visible to:

case-choose-profiles.jpg
  1. On the next screen, remove the Add field checkbox for all items and click Save:

case-save-field.png

Note: For the Case tab to be visible in the current chat, the following conditions should be met:

  1. User should have permissions for the Case object.

  2. The external user is an Account, Contact or PersonAccount.

  3. There is at least one open case related to the Account (Contact -> Account).