Start with a workspace you control and a test contact. You can verify an anonymous chat before adding any backend credentials.
- Copy the embed snippet from Widget setup in the target workspace. Install it in your website’s shared layout and send a message from the site. Confirm it reaches that workspace’s Inbox → All.
- Add a browser event at the point where a real action completes. For example, send
SupportDesk('trackEvent', 'tutorial-completed', { tutorial: 'welcome' }). Check Events in the same workspace. - For logged-in users, issue identity tokens on your backend using the authenticated application user. Supply the Messenger token to the widget for chat and the event token for identified browser events.
- For events confirmed by your backend, such as a completed payment, post directly to
/eventswith the workspace event key. Record the original action time so retries use the same value.
Verify the final integration with one test user. Their chat, browser event, and server event should resolve to the intended workspace and contact.