Aurinko
Aurinko websiteAurinko blogAPI ReferenceContact Support
Aurinko API
Aurinko API
  • Getting started
    • What is Unified Mailbox API?
    • Getting started with Aurinko
    • Get your developer API keys
    • Adding Aurinko to Google Workspace allowlist
    • Bubble.io plugin
    • Team members and roles in applications
  • Unified APIs
    • Email API
    • Calendar API
    • Contacts API
    • Tasks API
    • Webhooks API
      • Configuring Pub/Sub for Gmail API Webhooks
    • Direct API
  • Authentication
    • OAuth Flow
      • Account OAuth Flow
      • User ОАuth Flow
      • Service Account OAuth Flow
    • Authentication scopes
    • Authorized return URLs
    • Google OAuth setup
    • Office 365 OAuth setup
    • ZOHO OAuth setup
    • Service accounts
      • Setting up G Suite service account
      • Setting up Office 365 daemon app registration
  • Scheduling
    • Create your first appointment booking page
    • Calendar Booking Page
    • Booking API
    • Group Booking API
  • Workspace Addons
    • Outlook addins
      • Create your first Outlook addin
      • Office 365: Installing Outlook addin
    • Microsoft Teams apps
      • Microsoft Teams bot setup
      • Create your first MS Teams app
      • Installing MS Teams app
    • Chrome Extensions with Google authentication
    • Google Workspace Add-Ons
  • Dynamic API
    • What is Dynamic (Virtual) API?
    • Getting Started with Dynamic API
Powered by GitBook
On this page
  • Key Features
  • Quick Start
  • Integration
  1. Scheduling

Calendar Booking Page

Streamline scheduling with Aurinko's integrated calendar booking page, designed for seamless client interactions and effortless appointment management.

PreviousCreate your first appointment booking pageNextBooking API

Last updated 6 months ago

Aurinko offers a prebuilt calendar booking page seamlessly integrated with its . This page streamlines the scheduling process for you and your clients, offering a user-friendly interface for booking appointments based on your defined availability profiles.

Key Features


  • Availability-Driven Booking: Clients can only select time slots based on the pre-defined availability profiles.

  • Customization Options: While offering a default design, the page follows the essential branding attributes specified for your Aurinko app (see Settings in the Aurinko portal).

  • Client-Centric Design: Intuitive interface ensures smooth and hassle-free booking for your clients.

Quick Start


<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <title>Book</title>
        <link rel="stylesheet" href="https://example.aurinko.io/scheduler/assets/salesforce-lightning-design-system.min.css">
        <link rel="stylesheet" href="https://example.aurinko.io/scheduler/assets/styles.css">
    </head>

    <body id="appContainer">
        
        <script>
            var auClientId="{{YOUR_AURINKO_CLIENT_ID}}"
            var defaultProfileName="{{YOUR_DEFAULT_PROFILE_NAME}}"
        </script>

        <script type="text/javascript" src="https://example.aurinko.io/scheduler/scheduler.js"></script>
    </body>

</html>

Integration


Host the sample calendar page at your domain, i.e. calendar.mydomain.com, and specify {{YOUR_AURINKO_CLIENT_ID}} in the index.html file. {{YOUR_DEFAULT_PROFILE_NAME}} is optional.

Alternatively, we can host this page for you and associate your domain alias with your app's clientId.

In either case, add your domain to the list of trusted domains in your Aurinko portal:

  • You can view calendar availability for a given booking profile by specifying the profile's name in the URL path: https://calendar.mydomain.com/{profileName}. Those links are convenient for sharing by email.

  • If you deploy the calendar page at a path then use hash segments to specify a profile and other parameters, i.e. https://myapp.mydomain.com/pathTo/calendarPage/#profile={profileName}. You can specify your clientId this way too.

  • Our code always looks for the hash segment parameters first; then considers the path to be a profile name.

If you need to integrate the page into your existing website we recommend using an iframe which your code can redirect to different profiles as needed:

<iframe id="myIframe"></iframe>

<script>
  document.getElementById("myIframe").src = "https://calendar.mydomain.com/#profile={profileName}";
</script>

The page supports the following parameters #profile=&extensionProfile=&mode=&layout=&view=&...:

  • profile - The main booking profile name that determines the availability.

  • extensionProfile - 2nd profile that will determine availability after the main profile's end date.

  • mode - Use 'view' to disable booking capability.

  • layout - Use 'month' for Calendly-like layout.

  • suppressInvitation - Then 'true' an event will be created without any attendees. It becomes your code's responsibility to add attendees later.

  • date - Display the booking profile with the pre-selected date and slots.

Seamless Integration: Works seamlessly with the , managing bookings effortlessly.

Test Drive: Experience the prebuilt booking page firsthand through Aurinko’s portal: .

Sample Code: Explore the showcasing the scheduler page:

For other custom integration scenarios please reach out to us at .

Aurinko Booking API
Create Your First Appointment Booking Page
open-source project
support@aurinko.io
Booking API