Integrating AWS-managed applications with Amazon Connect Streams
This guide demonstrates how to integrate AWS-managed applications with your existing applications built using Amazon Connect Streams. This integration extends your custom agent application with AWS-managed applications from the Amazon Connect agent workspace. By embedding AWS-managed applications into your custom agent application, you can leverage their features without additional development effort, while maintaining control over application access through Security Profiles.
Amazon Connect Streams
Amazon Connect Streams is a JavaScript library that integrates the Contact Control
Panel (CCP) and other agent functionality into existing web applications. This
library enables you to embed the CCP user interface as well as handle agent and
contact state events so that you can build a custom agent application. See the Amazon
Connect Streams documentation
AWS-managed applications
Amazon Connect provides AWS-managed applications, such as Worklist that are accessible in the Amazon Connect agent workspace.
Amazon Connect SDK
The Amazon Connect SDK is a collection of packages that helps you build
applications applications that interact with and extend Amazon Connect’s native
functionality. See the Amazon Connect SDK
repository on GitHub.
AppManager
AppManager provides APIs to discover, launch, and manage AWS-managed applications.
It's available within the Amazon Connect SDK @amazon-connect/app-manager
package.
Integration architecture
The following diagram illustrates the components and integration flow for AWS-managed applications using Streams and AppManager.
Application launch follows this sequence:
-
Your web application initializes the CCP with the AppManager plugin.
-
The
launchAppmethod in AppManager is invoked with the application name or Amazon Resource Name (ARN). -
AppManager creates an
AppHostobject to manage the application instance. -
An iframe element is provided to the
AppHost. -
AppManager configures the iframe with appropriate URL and security attributes.
-
The application loads and establishes secure communication.