MultiLine for Salesforce Installation Guide for Salesforce Lightning Admins

To set up the MultiLine integration into Salesforce Lightning, there are steps that must be followed in the MultiLine Management Portal and in Salesforce Lightning. Read this guide to follow the required steps for the Salesforce administrator. 


This guide is intended for Salesforce Lightning admins. We will let you know when there are prerequisite steps that must be taken by the MultiLine admin. 

In this guide you will install the package from the App Exchange listing and configure the MultiLine utility and Messages List to appear on Contacts, Leads, and Person Account Records pages for designated Call Center users.

MultiLine Admin Action Needed

Before proceeding, the MultiLine Admin needs to Create an API User for the Salesforce Admin. When completed, you'll receive a "Welcome Administrator" email, with the credentials you need to get started.

Step 1 - Set up public site

  1. Refer to your Welcome email for integration credentials.
  2. Deploy My Domain in your organization. For more information about My Domain, see Salesforce Help [external].
  3. Create new public site called "MultiLine".

Site Label and Site Name are case-sensitive.  Note that the "M" and "L" in MultiLine is capitalized.
For more information, see Salesforce Help [external].

Step 2 - Install Salesforce connector

Use these steps to install the MultiLine for Salesforce app package for all users. 

  1. Search for MultiLine for Salesforce on AppExchange [external] and select it.
  2. Click Get It Now and log in with your Salesforce credentials.
  3. Click Install in Production.
  4. Enter all required fields and accept Terms and Conditions.
  5. Click Confirm and Install.
  6. Click on Install for All Users then Install.
    A screenshot of a social media post Description automatically generated
  7. After the installation the MultiLine for Salesforce application will be listed as MultiLine within Installed Packages. 

Note: Users won't have access to MultiLine for Salesforce until you add them to the Call Center at a later step

Step 3 - Register MultiLine

To connect MultiLine with Salesforce you need to configure the webhook that exchanges information between the services.

  1. Open App Launcher and open MultiLine Registration.
  2. In the Configure Site tab, select MultiLine from the Select Site menu, then click Configure.

  3. Click Register Webhooks tab and enter the information in the fields below:
    • Endpoint: https://[MultiLine Management Portal URL]:8021 
      • The MultiLine Management Portal URL is listed in your "Welcome Administrator" email. Add ":8021" for the port. 
    • Username and Password credentials from the "Welcome Administrator" email.

  4. Click Configure and select Enable Softphone to complete.

Step 4 - Configure MultiLine Messages List

MultiLine Messages View can be added to Contacts, Leads, and Accounts Pages.

How to Add MultiLine Messages List to Contacts page

  1. Go to the Contacts page and select a Contact. 
  2. Access the Setup menu in the upper right-hand of the screen. 

  3. Select Edit Page.
  4. Click in the tab area. By default you see Related and Details tabs. This will pull up a section in the far right of the screen.

  5. Click the Add Tab button.
  6. By default, the new tab will also be named "Details. Click the tab once to relabel it.

  7. Select Custom tab label and name it "MultiLine"

  8. Find MultiLine Messages List View under Components in the left-most section
  9. Drag it under the MultiLine tab.

  10. Click Save.

  11. Click Activate.

  12. Click App Default. Then Assign as App Default.

  13. Select desired Lightning apps and click Next and Save.

Repeat the steps above for the Lead and Accounts pages.

Step 5 - Enable Open CTI for Salesforce connector

The MultiLine Salesforce Connector uses the Open CTI Softphone utility for integration. Learn more about utilities at Salesforce Help [External]. 

  1. From the Home tab in Setup, enter "App" in the Quick Find box, then select App Manager
  2. Select each Lightning app you want to enable with MultiLine
  3. Select Edit
  4. Select the Utility Items >> Add Utility Item >> Open CTI Softphone
  5. Rename "Open CTI Softphone" to "MultiLine"
  6. Set Panel Width to ‘340’ and Panel Height ‘540’ 
  7. Make sure Start Automatically checkbox is selected
  8. Click Save

Step 6 - Enable Out of Office

  1. Open Developer Console under Setup 
  2. Click Debug and Open Execute Anonymous Window
  3. Copy and paste the following code in the window as shown below then click Execute to complete 
String cronExp = '0 30 * ? * *';
MultiLine.MultilineUpdateOOOStatusScheduler  newSch = new MultiLine.MultilineUpdateOOOStatusScheduler();
System.schedule('Multiline OOO Status Scheduler', cronExp, newSch);

MultiLine Admin Action Needed

Before proceeding, the Salesforce Administrator needs to complete the steps in Configure MultiLine Portal.

Once the MultiLine administrator actions are complete, proceed.

Step 7 - Manage Licenses

  1. Go to Installed Packages under Setup
  2. Select MultiLine then click Manage Licenses.
  3. Click Add User and select your users and click Add to complete

Step 8 - Apply "MultiLine" Permissions set to users

  1. Open Permission Sets under Setup 
  2. Click MML Permissions
  3. Click Manage Assignments
  4. Click Add Assignments

Step 9 - Add users to Call Center

  1. Go to Call Centers under Setup and click Continue 
  2. Select OpenCTI and click Manage Call Center Users 
  3. Click Add More Users  
  4. Select Users and click Add to Call Center

Step 10 - Manage Users

Set Additional Fields to User Layout

  1. Go to user profile, click on Settings
  2. Select Advanced User Details. Expand the menu on the right and click Edit Layout.
  3. Under User Page Layout, drag each of the shown fields and drop into Additional Information section as shown(Fields to be selected: MultiLine, MultiLine Error, MultiLine Registration Date, Old Desk Phone, SIP PIN, SIP Username)
  4. Click Save.

Note: we recommend not granting MultiLine users Edit abilities in the Additional Information section.

Re-registering users

If the user sees any error (ex: “WebRTC details not found”) in the MultiLine utility, re-register user using following steps

  1. Under Setup, go to Users.
  2. Click user for User details. 
  3. Click Edit.
  4. Go to Additional Information section.
  5. Clear MultiLine error field, MultiLine field and MultiLine Registration Date.
  6. Save the settings. 
  7. Ask user to logout and login again. 


De-provisioning users

If the user needs to be deprovisioned from using MultiLine for Salesforce, 

  1. Clear MultiLine and MultiLine Registration Date as shown in the above steps.
  2. Change the user Profile to the one that doesn't have MultiLine Permissions or remove MultiLine from user’s Assignment


This completes the configuration of the Salesforce connector for MultiLineNext time when Salesforce users login into Salesforce, they'll see the MultiLine utility in the bottom left bar. 

After accepting the terms and conditions, they'll be able to use MultiLine.