How to Add a Group Component in Framer
In this tutorial, you will learn how to set up a Group booking component in Framer using the Bookla plugin. You will create and configure your company, resources, group services, pricing, schedules, capacity settings, and API connection in Bookla, then connect everything to Framer and test your booking flow.
Prerequisites
Before setting up Framer, make sure everything is configured correctly in the Bookla Platform.
Create a Company in Bookla
This step is essential because it links your Company ID to the Framer widget.
- Open Bookla Platform and click "Create Account".
- Create an account using your credentials, or log in if you already have one.
- Create a new company or use an invitation code to access an existing one.
Set Up Resources
Resources represent the locations, rooms, equipment, or staff members that provide the service.
- Go to your Bookla account.
- Open the "Resources" section.
- Click the "+ New Resource" button.
- Enter a title for the resource. If needed, you can also change the resource color.
- Click the "Create" button.
Note
For Group services, you do not need to add working hours for resources. The availability of the service will be controlled through the service schedule instead.
Service Setup
- Go to the "Services" section.
- Click the "+ New Service" button.
- Enter the service name. If needed, you can also change the service color.
- Click the "Next" button.
- Select the service type. For this tutorial, choose "Group".
- Click the "Next" button.
- Set the service duration.
- Choose the booking policy.
- Click the "Create" button.
Linking a Service with a Resource
- Click the "Link with Resource" button.
- Select the resources that provide this service.
- Click the "Link Resources" button.
Setting Up the Service Schedule
Group services use the schedule configured inside the service settings.
- Open the created Group service.
- Go to the "Schedule" section.
- Click the "+ Add Slot" button.
- Select the duration and resource
- Set the starting date and time.
- Select if it doesn't repeat, or if it repeatws weekly, or you can make custom Recurrence Rules.
Learn about Recurrence Rules here
- Click button "Create".
Setting the Group Capacity
Group services allow multiple clients to book the same time slot.
- Go to the "Capacity" section.
- Click "+ Add capacity rule"
- Enter the maximum number of spots allowed per booking time slot.
- Click button "Create".
Adding the Currency and Setting Up the Tax Rate
- Go to the "Pricing" section.
- Click "Click to set" under Currency.
- Select your desired currency.
- Click the "Save" button.
- Click "Click to set" under Tax rate.
- Enter your country's or state's required tax rate.
- Choose whether the tax is included in the price.
- Click the "Save" button.
Setting Up Price Rules
- Click the "+ Add price rule" button.
- Configure the following parameters:
- Price
- Compared price (optional)
- Optionally, set restrictions for specific days, times, or resources.
- Click the "Create" button.
Service Settings
In the "Settings" section, you can configure additional options for your Group service:
- Booking Policy: Defines how bookings are confirmed. For example, with the Instant policy, bookings are automatically confirmed without requiring manual approval.
- Availability Period: Determines how far in advance clients can book the service.
- Duration: Defines the length of each booking slot.
- Buffer Before: Adds a required time period before each booking, preventing bookings from being created too close to the previous activity.
- Exclusive Slot: When enabled, each available time slot can only be booked exclusively.
- Allow Ongoing Slot: Allows clients to book an ongoing time slot when enabled.
Connecting Bookla to Framer
- Go to your Framer project.
- Click the "Plugins" button.
- Search for the "Bookla" plugin and click "Integrate".
- Choose the Group component and drag and drop it onto your page.
- Adjust the width of the component as needed.
Setting the API Region and Generating an API Key
- Open your Bookla account.
- Check whether your account URL uses the EU or US region.
- Select the same region in Framer.
- Go to the "Developers" section in Bookla.
- Click the "Create API key" button.
- Enter a name for your API key.
- Select the required permissions:
- Client Service
- Client Resource
- Guest Client
- Copy the API key. It is displayed only once.
- Paste it into Framer under "API Key".
Adding the Company ID and Service ID
- Go to the "Company" section in Bookla.
- Copy the Company ID.
- Paste it into Framer under "Company ID".
- Go to the "Services" section.
- Select your Group service.
- Copy the Service ID.
- Paste it into Framer under "Service ID".
Testing the Component
- Click the "Play" button.
- Select an available date and time.
- Select the number of participants.
- Click the "Continue" button.
- Enter the guest details.
- Click the "Book Now" button.
Conclusion
You have successfully connected the Bookla Group component to your Framer project. Your group booking flow is now ready for testing and publishing.