Install
Vanilla HTML
The simplest possible integration — one file.
Copy, paste, replace the API key.
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Book an appointment</title>
<script src="https://widgets.medos.one/v2/unified.js"></script>
</head>
<body>
<h1>Book an appointment</h1>
<div id="booking" style="min-height: 600px;"></div>
<script>
MedosBooking.init({
apiKey: "mk_your_publishable_key",
mode: "inline",
containerId: "booking",
theme: "default",
onSuccess: (data) => console.log("Booked", data),
});
</script>
</body>
</html>That's the whole app.