How can I make chat persistent?

0

How do I pass a token or ContactId to chat INIT function so as not to create new session every time? I'd like the chat to continue as the same user while moving from page to page. We are embedding the chat client in a react SPA site.

asked 3 months ago101 views
1 Answer
0

You can pass the previous contactId on the initiateChat state of the Chat Widget. Here you'll use rehydration and pass the sourceContactId.

For reference your can review the Chat persistance section in the Amazon Connect Admin Guide and review the sample provided on Github.

profile pictureAWS
faddi
answered 3 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions