I have used the quickstart guide project to implement the Scheduler, but having issues adding Google Meet as the conference provider. Here’s my code:
<NylasSchedulerEditor
conferenceProviders = {{"google": "<GRANT ID>"}}
schedulerPreviewLink={`${window.location.origin}/?config_id={config.id}`}
nylasSessionsConfig={{
clientId: "<CLIENT ID>", // Replace with your Nylas client ID from the previous
redirectUri: `${window.location.origin}/scheduler-editor`,
domain: "https://api.us.nylas.com/v3", // or 'https://api.eu.nylas.com/v3' for EU data center
hosted: true,
accessType: 'offline',
}}
defaultSchedulerConfigState={{
selectedConfiguration: {
requires_session_auth: false, // creates public configuration which does not require session tokens
scheduler: { // callback URLs to be set in email confirmation messages
rescheduling_url:`${window.location.origin}/reschedule/:booking_ref`,
cancellation_url:`${window.location.origin}/cancel/:booking_ref`
}
}
}}
/>