Skip to main content
The following example shows how to build a recording interface with start, pause, resume, and submit controls. The UI updates based on sessionStatus to show the appropriate buttons at each stage. Pass selectedMicrophoneId when you want a specific microphone. Leave it out to use the browser default.
React
Always call setSessionContext to provide patient and encounter details. This context helps the AI understand the clinical scenario and generates significantly higher quality clinical notes.

Available tutorials

Next steps

Session integration patterns Platform client and provider Error handling guide Handle ambient session conflicts Read shared ambient notes
Last modified on October 22, 2026