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
- 1 Introduction
- 2 Requirements
- 3 Installation
- 4 Enable Opportunity tab (optional)
- 5 Enable Cases tab (optional)
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:
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
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
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
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.
Navigate to the Connectors section and click Salesforce Auto Logging:
Select an environment (live/ sandbox) and click Install:
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:
Go to WMS -> PBX -> Integrations -> Cloud integrations
Select Salesforce Auto Logging
In the Activity section, click the View Traces button.
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.
You can also filter traces by status: All, Complete, Complete with errors, Error.
To view detailed information about a specific trace follow these steps:
Click on any trace entry in the list
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
In the Call Logging section, you can choose if you wish to save call as Task or Insight Boost, or both:
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:
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
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.
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:
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
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}
Once you configure the settings, click Save settings to apply them:
Disable Logging
To disable call, conference, or chat logging, just turn off the toggle in front of the necessary section:
Step 2. Install Salesforce integration
Go to WMS Settings -> PBX -> Integrations -> Cloud integrations
In the Apps section, click Salesforce:
Click Create integration:
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.
The integration gets installed:
Step 3. Update Salesforce settings
In Salesforce, you need to proceed with the following steps:
Configure CORS settings
Configure Profile permissions
Authorize the Salesforce Admin to activate integration in x-bees and perform Author changes
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)
From Setup left panel, under SETTINGS, go to Security -> CORS
Click New, then add the following domain:
In case you've requested development of some custom items that are available on demand, you also need to add the following domains one by one:
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
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
Proceed to Users -> Profiles
Select the profile you need and click on it
Proceed to Object Settings
In Object Settings list, find the following objects:
Leads
Contacts
Accounts
Click on the above mentioned objects one by one -> on the Object page and provide the following permissions
Leads: Name, Email, Phone, OwnerId, MobilePhone, Company
Contacts: Name, Email, Phone, OwnerId, MobilePhone
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:
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
Navigate to Permission Sets:
Click New to create a new permission set:
Enter permission set name, e.g. Wildix Permissions and click Save:
The newly created Permisson Set opens. Scroll down to System section and click on System Permissions:
Click Edit
Scroll down to the following options and enable the permissions
Approve Uninstalled Connected Apps (Approve access to connected apps that aren’t installed in this org.)
Set Audit Fields upon Record Creation (Set audit fields, such as Created By and Last Modified By, when you create a record (API only))
Scroll up and click Save. Permission Changes Configuration window opens. Click Save again
Click Manage Assignements to assign the user who will activate the integration:
Click Add Assignement:
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):
Click Assign:
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
Go to Setup (the Gear icon in the upper right-hand part of the screen)
From Setup left panel, under PLATFORM TOOLS, go to Apps -> Connected Apps → Connected Apps OAuth Usage
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.
Confirm the action by clicking Install
The app get installed
After the installation, go to Apps -> Connected Apps → Manage Connected Apps
Click Edit next to Xbees Frontend Integration
Under OAuth Policies, click Permitted Users dropdown menu and select one of the following options:
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:
Go to Salesforce Settings -> Object Manager
Navigate to Opportunity:
Navigate to Fields & Relationships:
Click New to add new custom field:
Choose the option Text and click Next at the bottom of the page:
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".
Choose which profiles the field should be visible to:
On the next screen, remove the Add field checkbox for all items and click Save:
Note: For the Opportunity tab to be visible in the current chat, the following conditions should be met:
User should have permissions for the Opportunity object.
The external user is an Account, Contact or PersonAccount.
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:
Go to Salesforce Settings -> Object Manager
Navigate to Case:
Navigate to Fields & Relationships:
Click New to add new custom field:
Choose the option Text and click Next at the bottom of the page:
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".
Choose which profiles the field should be visible to:
On the next screen, remove the Add field checkbox for all items and click Save:
Note: For the Case tab to be visible in the current chat, the following conditions should be met:
User should have permissions for the Case object.
The external user is an Account, Contact or PersonAccount.
There is at least one open case related to the Account (Contact -> Account).