Skip to content

Instantly share code, notes, and snippets.

@matehat
Last active May 24, 2024 17:55
Show Gist options
  • Save matehat/99b1fc71b68e6a8c7a3d11979008219c to your computer and use it in GitHub Desktop.
Save matehat/99b1fc71b68e6a8c7a3d11979008219c to your computer and use it in GitHub Desktop.
Braver Embed example
<html>
<title>Braver Beacon</title>
<script defer src="braver.js"></script>
<body></body>
<script>
window.addEventListener("load", function () {
Braver.activateSession(
"jwt-token",
"user-id",
"tenant-id",
{ position: { right: 32, bottom: 32 } }
);
});
</script>
</html>
Braver.navigateToPatient("patient-id");
Braver.navigateToThread("thread-id");
Braver.navigateToCareChannel("channel-id");
Braver.setWindowVisibility(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment