Check the Package and Enable Cross-Domain Access

Launch Your New Trailhead Playground and Install the CTI Adapter

Time to open your new Trailhead Playground and install the CTI Adapter. Scroll to the bottom of this page, select your new Trailhead Playground and click Launch. If you see a tab in your org labeled Install a Package, great! Follow the steps below.

If not, click App Launcher to launch the App Launcher, then find and open Trailhead Starter and follow the steps. If you don't see the Trailhead Starter app, copy this AppExchange link and check out Install a Package a App to Complete a Trailhead Challenge on Trailhead Help.

  1. Click the Install a Package tab.
  2. Paste 04t4p000001zqduAAA into the field.
  3. Click Install.
  4. Select Install for Admins Only, then click Install.

When the app is finished installing, you see a confirmation page and get an email to the address associated with your playground.

In a typical business scenario, you install for specific profiles to control who can use the CTI Adapter. You may also install in a Sandbox first, to ensure the adapter is configured and tested appropriately.

Great work! You installed the Amazon Connect CTI Adapter in your Trailhead Playground. But you're not quite ready to test SSO and place calls. Let's keep going!

Find Your Playground Domain

Record your domain so you can add it to the AWS access list later.

  1. In your playground, go to Setup.
  2. Copy the URL in your browser. Trailhead Playground Setup page with URL highlighted by a red box and arrow
  3. Save your domain in a place where you can retrieve it later in this step.
    1. When you save your domain, it should start with the https:// and end at .com. So the domain you save should look like this:

Find Your Lightning Adapter Page

The package you installed in the previous step created a call center in Salesforce. Record the call center domain for the AWS access list.

  1. In your playground, go to Setup, enter visual in the Quick Find box, then click Visualforce PagesVisualforce Pages in Setup
  2. In the Name column, click the AC_LightningAdapter link.
  3. Click the Preview button. A new browser tab will open with the URL of the Lightning Adapter page. It’s in this format: Copy the preview link URL and save it.

Configure Your Call Center

Your call center needs to reference the Visualforce page. Set that up.

  1. Go back to Setup and enter call in Quick Find, then click Call Centers.
  2. Click Continue, then click into your new call center, AC Lightning Adapter.
  3. Click Edit.
  4. In the CTI Adapter URL field, replace the current value with the Lightning Adapter URL you gathered above. AC Lightning Adapter Call Center page in Setup with CTI Adapter URL field highlighted with a red box
  5. Click Save.

Stay on your call center page. You need to set up permissions next.

Manage Call Center Users and Access

Add yourself as a call center user so you have the appropriate permissions to access the call center.

  1. In the AC Lightning Adapter Call Center setup page, click Manage Call Center Users.
  2. Then, click Add More Users.
  3. Set search criteria to find your own Salesforce user.
    1. First Name | equals | the first name associated with your Trailhead account.
    2. Click FindCall Center Search for New Users screen with First Name equals First Name highlighted with a red box.
  4. Check the box next to your user name, then click Add to Call Center.

Now, assign Amazon Connect permission sets to call center users.

  1. In Setup, enter permission in the Quick Find box, click Permission Sets.
  2. Click AC_Agent in the Permission Set Label column.
  3. Click Manage Assignments, then click Add Assignments.
  4. Check the box by your name and any other users you wish, then click Assign.
  5. Click Done.

Great, your user is all set up! Now, it's time to activate the phone in Service Console.

Activate Console Phone

To use the CCP in Service Console, you need to activate it as a utility.

  1. In Setup, enter app manager in the Quick Find box, then click App Manager.
  2. Next to Service Console, click the disclosure triangle, and click EditThe disclosure triangle clicked for Service Console and the Edit option highlighted by a red oval
  3. In the Edit App screen, click Utility Items in the upper navigation bar.
  4. Then, click Add Utility Item.
  5. From the list of components, click Open CTI Softphone.
  6. Click Save, then click Back.

Add Amazon Connect CTI to Service Console

There are just a few more things to do to give Service Console a phone!

  1. Click App Launcher to launch the App Launcher, then find and open Service Console. Since the phone utility has already been added, it will try to access Amazon Connect before your setup is complete.
    1. Make sure you allow pop-ups.
    2. If you see an error message in a new window, that's OK. Close it. You're well on your way to SSO!
  2. In Service Console, click the disclosure triangle next to the current object, then scroll to the bottom of the dropdown menu and click EditThe navigation dropdown open in Service Console
  3. Click Add More Items.
  4. Select AC CTI Adapters and click Add 1 Nav ItemAC CTI Adapters selected in Add Items screen
  5. Click Save.
  6. Back in the console, select the AC CTI Adapters from navigation menu.
  7. If Recently Viewed is selected, click on the drop-down and select All.
  8. Click on ACLightningAdapter. You make a change to this record to reference your Amazon Connect instance. ACLightningAdapter record details
    1. Now, you may not find ACLightningAdapter after all. That's OK. If this is the case, you can set it up manually. If you need to create the record, click the disclosure triangle and then click NewAC CTI Adapters selected in Service Console navigation, All selected in list view, the disclosure triangle clicked, and New highlighted with a red box and arrow
  9. Make sure your record has the following attributes.
    1. CTI Adapter Name: ACLightningAdapter
    2. Amazon Connect Instance Alias: your instance alias
      • If you need to retrieve your Amazon Connect Instance alias, toggle back over to your AWS console and log in with your admin credentials. Enter amazon connect in the Find Services search bar and click Amazon Connect, and find your instance alias in the first column of your instances list.
    3. Call Center Definition Name: ACLightningAdapter
    4. Check the box next to Softphone Popout Enabled and Presence Sync Enabled.
  10. Leave the rest as default and click Save.

Ensure Cross-Domain Access

Now it's time to switch over to AWS. Ensuring cross-domain access is a security precaution where you put your Salesforce org on the Amazon Connect instance access list. Find more information in Amazon Connect Streams documentation. Switch back over to the AWS Console and log in with the email address you used for your AWS credentials if you haven't already.

  1. Navigate to Amazon Connect and click your Instance Alias.
  2. On the left-hand pane, click Application integrationAmazon Connect instance page with Approved origins highlighted by a red box and arrow
  3. In the main pane, click Add origin.
  4. Enter your playground domain so that it looks like this
  5. Click Add.

Now, add your call center adapter domain. 

  1. Click Add origin again.
  2. Enter your call center domain, then remove everything after so that it looks like this
  3. Click Add.

That was a lot—you set up your new call center, ensured it can be accessed via Service Console, and that AWS recognizes it. It's time to set up SSO!

Lernen Sie weiter kostenlos!
Registrieren Sie sich für einen Account, um fortzufahren.
Was ist für Sie drin?
  • Holen Sie sich personalisierte Empfehlungen für Ihre Karriereplanung
  • Erproben Sie Ihre Fähigkeiten mithilfe praktischer Aufgaben und Quizze
  • Verfolgen Sie Ihre Fortschritte nach und teilen Sie sie mit Arbeitgebern
  • Nutzen Sie Mentoren und Karrierechancen