AWS Builder Center

Embedding Native Amazon Q Agent Assistance into a Custom Amazon Connect CCP

Learn how to embed the native Amazon Q Agent Assistance experience into a custom Amazon Connect Contact Control Panel (CCP) using the authenticated Connect session. Explore the architecture, implementation approach, and best practices for building a lightweight, secure, and maintainable solution.

Cloud & DevOps Engineer
Amazon Connect allows organizations to build completely customized Contact Control Panels (CCPs). Whether it's adding CRM integrations, internal dashboards, or custom workflows, many companies replace the default CCP with their own web application.
But there's one question I kept hearing:
Can we still use the native Amazon Q Agent Assistance experience inside a custom CCP?
The answer is yes.
In this article, I'll walk through the architecture and implementation approach we used to embed the AWS-managed Amazon Q experience directly into a custom Contact Control Panel without recreating any AI functionality ourselves.



The Challenge

Many organizations build a custom CCP to integrate:
  • CRM systems
  • Customer information
  • Internal tools
  • Business-specific workflows
However, once you move away from the standard CCP, agents still expect access to Amazon Q Agent Assistance.
Rather than opening another browser tab or creating a separate application, we wanted Amazon Q to feel like part of the same workspace.



Solution Overview

Instead of rebuilding Amazon Q, we embedded the native AWS-managed Amazon Q interface alongside our custom CCP.
The custom application simply hosts both experiences while Amazon Connect continues to manage authentication, contact context, and Amazon Q.
This keeps the solution lightweight while allowing agents to access AI-powered assistance without leaving the customer interaction.



Architecture


The flow is straightforward:
  1. Agents access the application through Amazon CloudFront.
  1. CloudFront serves a static web application hosted in Amazon S3.
  1. The application loads the custom Contact Control Panel in the browser.
  1. The authenticated Amazon Connect session initializes the CCP.
  1. The same session is used to load the native Amazon Q experience.
  1. During supported customer interactions, Amazon Q retrieves relevant information from configured enterprise knowledge sources.
  1. Agents can switch between the CCP and Amazon Q without leaving the application.
The key point is that the application never manages Amazon Q itself. It simply provides a place for the native experience to run.



Why This Approach?

Keeping Amazon Q as an AWS-managed component offers several advantages.

Minimal Custom Code

The application only initializes the Amazon Q component instead of implementing AI features.

Native Experience

Agents receive the same interface and functionality available in the standard Amazon Connect experience.

Shared Authentication

No additional login flow is required because Amazon Q uses the authenticated Amazon Connect session.

Easier Maintenance

When Amazon Q receives new capabilities, the application automatically benefits without requiring UI changes.



Implementation Highlights

The implementation was intentionally simple.
The custom CCP:
  • Initializes Amazon Connect CCP.
  • Adds a dedicated Amazon Q tab.
  • Creates a responsive container for Amazon Q.
  • Uses environment-aware configuration to support multiple Amazon Connect instances.
  • Maintains accessibility and responsive layouts for agents.
Because the application remains a static web application, deployment is straightforward using Amazon S3 and Amazon CloudFront.



Security Considerations

Security remains largely unchanged from a standard Amazon Connect deployment.
Since authentication is handled by Amazon Connect:
  • AWS credentials are never stored in the browser.
  • Existing IAM permissions continue to apply.
  • Approved application origins control where the CCP can be embedded.
  • Amazon Q respects the permissions configured within Amazon Connect.
  • Enterprise knowledge sources remain protected behind existing AWS security controls.



Benefits for Contact Center Agents

Embedding Amazon Q directly into the CCP provides several operational benefits:
  • Faster access to knowledge during live interactions.
  • Reduced context switching between applications.
  • Consistent user experience.
  • Lower training effort.
  • Improved productivity.
  • Better first-contact resolution through quicker access to relevant information.



Lessons Learned

A few design decisions made the implementation much simpler.
Keep Amazon Q native. Avoid recreating the interface or duplicating functionality already provided by AWS.
Separate responsibilities. The CCP should manage customer interactions, while Amazon Q focuses on knowledge assistance.
Design for multiple environments. Supporting development, testing, and production becomes much easier with environment-aware configuration.
Prioritize responsive layouts. Agents often resize their browser windows, so both the CCP and Amazon Q should remain usable across different screen sizes.



Final Thoughts

One of the biggest advantages of Amazon Connect is its flexibility. You can build a fully customized Contact Control Panel without sacrificing native AWS capabilities like Amazon Q Agent Assistance.
By embedding the AWS-managed Amazon Q experience into a custom CCP, organizations can provide agents with AI-powered knowledge assistance while keeping the application lightweight, secure, and easy to maintain.
Rather than rebuilding AI features, let Amazon Q handle the intelligence and focus your development efforts on creating a seamless agent experience.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article