Loading
The Trailblazer Community is now read-only Read More
Agentforce and Einstein Generative AI
Configure Amazon Connect for Agentforce Voice Real-Time Streaming

Configure Amazon Connect for Agentforce Voice Real-Time Streaming

Configure Amazon Connect to hand off live voice calls to a voice-enabled Agentforce Service agent. Create the A2A application, associate it with your Amazon Connect instance, and add it to a security profile.

The configuration involves multiple command-line steps. Use the AWS Command Line Interface (CLI) for most commands. Use awscurl for the A2A application and multi-agent AI configurations that AWS CLI doesn't support Sign each setup request with AWS Signature Version 4 (SigV4).

  • Before You Configure Amazon Connect for Real-time Streaming
    Complete these prerequisites before you configure Amazon Connect to hand off a call to Agentforce Voice.
  • Configure AWS Access
    Confirm that your Amazon account can create resources for Agentforce Voice with Real-Time Streaming. Configure settings using your root user account or grant the required permissions to an IAM user or role.
  • Create a Q in Connect Assistant
    Create an Amazon Q in Connect assistant and associate it with your Amazon Connect instance. Amazon Q in Connect is the Amazon Connect generative AI service that hosts the orchestration AI agent used to hand live calls to Agentforce Voice with Real-Time Streaming.
  • Configure WebSocket Authentication for Agentforce Voice
    Configure the JSON Web Token (JWT) that Amazon Connect sends to secure the WebSocket connection for Agentforce Voice with Real-Time Streaming. If you are a Salesforce Voice with Telephony Providers customer, Salesforce rotates the token and stores it in AWS Secrets Manager. If you aren’t, deploy SalesforceJwtRotatorNonScvStack and replace the private-key placeholder. Save the token secret’s ARN for the agent-to-agent application.
  • Create the A2A Application
    Create an A2A application so that Amazon Connect can open the live WebSocket connection for Agentforce Voice with Real-Time Streaming. Register the application with your Agentforce WebSocket URL and JSON Web Token (JWT) secret, associate it with your Amazon Connect instance, and then allow it on a dedicated security profile.
  • Add Agentforce as the Voice Collaborator
    Create an Amazon Q in Connect orchestration AI agent. This agent hands the live call to Agentforce Voice with Real-Time Streaming on the first turn. Point the agent at the A2A application that you registered. Let Agentforce speak to the caller in its own voice. Then associate the security profile that you created with this agent. Connect streams PCM audio at 8 kHz, 16 kHz, or 24 kHz.
  • Create the Amazon Lex Bot
    Create an Amazon Lex V2 bot so that Amazon Connect can send the live voice contact to the Amazon Q in Connect assistant for Agentforce Voice with Real-Time Streaming.
  • Publish the AI Agent Version
    Publish a version of the Amazon Q in Connect orchestration AI agent so new contacts use that configuration for Agentforce Voice with Real-Time Streaming. A version is the published snapshot of that agent. Associate the security profile with the versioned agent ARN. In the contact flow, select this version in the Get customer input block so the agent can hand the call to the A2A application.
 
Loading
Salesforce Help | Article