# Integrate Toky Dialer with Salesforce Lightning

To install the Toky Dialer for Lightning, first, you should install the Salesforce Open CTI demo adapter. Please follow the steps below:

1. Start by logging in to your Salesforce account [here](https://login.salesforce.com/).
2. Download the package from [this page](https://login.salesforce.com/packaging/installPackage.apexp?p0=04t41000000bSXh). *Note: This package can be installed on: Enterprise, Performance, Unlimited, and Developer Editions. If your Salesforce account is on trial for Personal Edition, it may not work.*
3. Go to Setup

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-473efdcf4cda06286f8ed2149fa32749f457197e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4\. In quick find, search for "call centers"

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-304dba1290e3854266d44cbee400502e71c29aac%2Fimage__1_.png?alt=media" alt=""><figcaption></figcaption></figure>

5\. Click edit on Demo Call Center Adapter.\
\
6\. In General Information, edit the following fields and **Save**:

*InternalName : TokyCTI*\
\&#xNAN;*DisplayName: TokyCallCenter*\
\&#xNAN;*CTI Adapter URL:* <https://app.toky.co/business/dialer/SFLightning>\
\&#xNAN;*CTI Adapter URL2:* <https://app.toky.co/business/dialer/SFLightning>\
\&#xNAN;*Softphone Height: 550*\
\&#xNAN;*Softphone Width: 350*

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-652cdb56748fba7d8054cc3e1cb02f28577ef1c5%2Fimage__2_.png?alt=media" alt=""><figcaption></figcaption></figure>

\
\&#xNAN;*\*Illustrative image, to fill in the fields, use the information detailed in point 6 of this article.*

7\. Add a user to the Call Center. On the TokyCallCenter page, click **Manage Call Center Users** and add any additional users that you want to use this adapter.

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-584038aa9a562304d7f1e065d9e415c3d645dcd0%2Fimage__3_.png?alt=media" alt=""><figcaption></figcaption></figure>

8\. Create a Lightning Experience app. You must be in Lightning Experience to create Lightning apps.

*8.1 From Setup, use the App Manager to create a new Lightning app that uses Console Navigation. In the name of the app you could use "Toky Lightning App". Optionally, you can also choose to enable Service Setup.*

*8.2 Add the Open CTI Softphone to your utility bar.*

*8.3 Add the navigation items you want.*

*8.4 Assign the app to the user profiles you want to access the app.*\
\
9\. To launch your Toky Lightning app, click on App Launcher and then click on "Toky Lightning App".

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-58e66763a8e59c046c7aa03b2ccf7c7945f54086%2Fimage__4_.png?alt=media" alt=""><figcaption></figcaption></figure>

\
10\. When you launch your Toky Lightning App, here’s what the softphone looks like:

<figure><img src="https://766977813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMgClsjsTSlUrSU2WhwDe%2Fuploads%2Fgit-blob-eb3e462af9ba9ec1f7c8f65f75bdf5d5511c14d8%2Fimage__5_.png?alt=media" alt=""><figcaption></figcaption></figure>
