Option 1: Configure an out-of-the-box communication widget - Amazon Connect

Option 1: Configure an out-of-the-box communication widget

Use this option to create communication widgets for desktop and mobile browsers. At the end of this procedure, Amazon Connect generates a custom HTML code snippet that you copy into your website's source code.

  1. Log in to Amazon Connect admin website using an Admin account or a user account that has Channels and flows, Communication widget - Create permission in its security profile.

  2. In Amazon Connect, on the left navigation menu, choose Channels, Communication widgets.

  3. The wizard guides you through the next three steps.

Step 1: Select communication channels

  1. On the Communication widgets page, enter a Name and Description for the communications widget.

    Note

    The Name must be unique for each communications widget created in an Amazon Connect instance.

  2. In the Communications options section, choose how your customers can engage with your widget. The following image shows options to allow web calling and video for customers.

    The communication widget page configured for web calling and video.
  3. In the Web calling section, choose whether to enable voice or video experiences for your customers. The previous image shows Web calling options with video enabled for customers to see agent video and to allow customers to turn on their video.

  4. Choose Save and continue.

Step 2: Customize widget

As you choose these options, the widget preview updates automatically so that you can see what the experience will look like for your customers.

The preview of the communications widget.
Define widget access button styles
  1. Choose the colors for the button background by entering hex values (HTML color codes).

  2. Choose White or Black for the icon color. The icon color can't be customized.

Customize display names and styles
  1. Provide values for header message and color, and widget background color.

  2. Logo URL: Insert a URL to your logo banner from an Amazon S3 bucket or another online source.

    Note

    The communications widget preview in the customization page will not display the logo if it's from an online source other than an Amazon S3 bucket. However, the logo will be displayed when the customized communications widget is implemented to your page.

    The banner must be in .svg, .jpg or .png format. The image can be 280px (width) by 60px (height). Any image larger than those dimensions will be scaled to fit the 280x60 logo component space.

    1. For instructions about how to upload a file such as your logo banner to S3, see Uploading objects in the Amazon Simple Storage Service User Guide.

    2. Make sure that the image permissions are properly set so that the communications widget has permissions to access the image. For information about how to make a S3 object publicly accessible, see Step 2: Add a bucket policy in the Setting permissions for website access topic.

Step 3: Add your domain for the widget

This step enables you to secure the communications widget so that it can be launched only from your website.

  1. Enter the website domains where you want to place the communications widget. The communications widget loads only on websites that you select in this step.

    Choose Add domain to add up to 50 domains.

    The add domain option.
    Important
    • Double-check that your website URLs are valid and does not contain errors. Include the full URL starting with https://.

    • We recommend using https:// for your production websites and applications.

  2. Under Add security for your communications widget requests, for the fastest setup experience choose No - I will skip.

    We recommend choosing Yes for the ability to verify the user is authenticated. For more information, see Passing attributes for in-app, web, and video calling.

  3. Choose Save and continue.

    Success! Your widget has been created. Copy the generated code and paste it on each page of your website where you want the communications widget to appear.

Enable your agents for in-app, web, and video-calling

To enable agents to use video calling, assign the Contact Control Panel (CCP), Video calls - Access permissions to their security profile.

The Amazon Connect agent workspace supports Amazon Connect in-app, web, and video calling. You can use the same configuration, routing, analytics, and agent application as with telephone calls and chats. To get started, the only step is to enable your agent's security profiles with the permissions to have video calls.

For custom agent desktops, there are no changes required for the Amazon Connect in-app and web calling. Enable your agent's security profiles with the permissions to have video calls, and follow the guide below on how to integrate video calling into your agent desktop.

How a client device initiates an in-app or web call

The following diagram shows the sequence of events for a client device (mobile application or browser) to initiate an in-app or web call.

A conceptual diagram that shows how a client devices initiates a call.
  1. (Optional) You can pass attributes captured in the website and validate them with JSON web token (JWT).

  2. The customer clicks on the communications widget in your website or mobile app.

  3. The communications widget starts the web call to Amazon Connect by passing attributes contained in the JWT.

  4. The contact reaches the flow, is routed, and placed in queue.

  5. The agent accepts the contact.

  6. (Optional) If video is enabled for customer and the agent, they are able to start their video.

More information

For additional information about requirements for in-app, web, and video calling capabilities, see the following topics: