Cronofy's powerful Scheduler, embedded into your application
npm install cronofy-scheduler-embedCronofy's powerful Scheduler, embedded into your application.
Full documentation can be found here: docs.cronofy.com/developers/api-alpha/embedded-scheduler
```
npm i -S cronofy-scheduler-embed
You'll need to setup an Embed Secret for your Cronofy application, and then use that to sign an Embed Token JWT.
A full guide on these steps is available in our documentation.
``
embed-token="{EMBED_TOKEN}"
correlation-id="event-1234"
recipient-email="doc@evenitron.com"
event-summary="Driving lessons - Marty & Doc"
>
```
document
.getElementById("#my-scheduler-button")
.addEventListener("cronofyschedulerrequestcreated", function(event) {
console.log("Cronofy Scheduler request created", event);
});
Details on the fields available can be found in our documentation.