- Newest
- Most votes
- Most comments
To implement chat monitoring in your custom Amazon Connect dashboard, follow these steps:
1.Ensure Proper API Usage: Use the Amazon Connect Streams API correctly. Supervisors need to call the MonitorContact API to start monitoring.
2.Check Permissions: Make sure supervisors have the necessary IAM permissions to monitor chats.
3.Handle Media Controller: To show live conversations, ensure the chat session is initiated correctly using connect.ChatSession. Replicate the default CCP's behavior if needed.
4.Use the Chat SDK: Use the Amazon Connect Chat JS SDK to simplify chat monitoring integration https://github.com/amazon-connect/amazon-connect-chatjs
5.Debugging: Check network requests, WebSocket connections, and error logs to troubleshoot issues. If you face specific issues, double-check permissions and WebSocket setups.
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago

Hi thank you for your answer I am using MonitorContact API to start the monitoring, My user have the permissions to monitor a chat, I am doing something like this let otherAgentChatConnection = contact.getConnections()[1]; if(otherAgentChatConnection.isActive() && otherAgentChatConnection.getStatus().type === 'connected'){ try { console.log("[Chat Controllers ] >> otherAgentChatConnection inside try block") otherAgentChatConnection.getMediaController().then((chatController)=>{ console.log("[Chat Controllers ] >> chatController", chatController); }).catch((error)=>{ console.log("[Chat Controllers ] >> error", error); })
But i am not able to get the chat controller.
I also tried to get the current agent's media controller but i got the error that no media controller for that connection. Can you please help me out.