A real booking system for your Lovable app
Describe how your business books. Lovable's agent adds the Slotr Booking Kit, calls the APIs for availability and quotes, and creates your custom rules over MCP.
Entities.
Your domain, synced. Doctors, rooms, courts, cars — anything.
Availability.
Ask when something can be booked. Get the real answer.
Rules.
Pricing and eligibility that follow your business logic.
Quotes.
Know the price before the booking exists, with reasons.
Lifecycle.
Create, confirm, reschedule, cancel. One API, safe by default.
No double-booking.
Locks and slot holds, so every slot has exactly one owner.
Booking search.
Your entities, indexed. Search by price, distance and real availability.
AI recommendations.
Suggests the best booking using your rules, prices and availability.
Prompt it. Your marketplace books for real. Search, availability, payments and a console, wired in by your AI builder.
Works with Lovable, Bolt, v0 and Cursor through the Slotr SDK and MCP. Your builder writes the UI, Slotr runs the booking engine.
From a prompt to paid lessons. Five steps, all in the chat.
- 1
Describe your booking model
Tell Lovable what gets booked, who books it and what changes the price. For a tutoring marketplace: tutors are booked by the hour, students book them, and packs of five lessons cost less.
- 2
Connect Slotr with the plugin
Add the Slotr plugin and your API key. Ask the agent to keep the secret key in server-side code, so booking calls never run in the visitor's browser.
- 3
Let the agent sync your tutors
The agent upserts each tutor as a bookable entity with the attributes search and pricing need. Profiles, photos and reviews stay in your app's own database.
await slotr.entities.upsert({ type: "tutor", id: tutor.id, attributes: { languages: ["en", "pt"], native: true, hourly: 28 } }); - 4
Create rules from the prompt
Say "five or more lessons get 10% off" and the agent calls the Slotr MCP server to create the rule. Your components don't change when the pricing does.
slotr_create_rule({ appliesTo: { type: "tutor" }, when: [{ lessons: { gte: 5 } }], then: { price: "-10%" } }) - 5
Test in preview, then go live
Book the same hour from two tabs, buy a five-lesson pack and cancel one lesson. When every quote shows the breakdown you expect, publish.
What Lovable's agent doesn't have to build. And what usually breaks when it tries.
- 01
A bookings table that only stores rows
Ask for booking without a backend and you usually get a table and a date picker. Nothing checks tutor working hours, lesson length or timezones, so the first busy week exposes the gaps.
- 02
Insert-then-check race conditions
Generated booking code often saves the lesson first and checks for clashes afterwards. Two students who click Tuesday 18:00 at the same moment both get a confirmation. Slotr holds the hour for the first request.
- 03
Prices scattered across components
Each follow-up prompt like "add a package discount" can rewrite the price math in a different file. The tutor card, the checkout and the receipt start showing three different totals.
- 04
Rules that drift with every prompt
When rules live in generated code, adding a trial-lesson price can quietly break the pack discount. Rules created over MCP live in the Rules Engine, so new prompts don't touch the old ones.
- 05
A calendar that shows every day as open
A generated date picker has no idea a tutor is off on Fridays or fully booked next week. The Booking Kit calendar only offers hours that can really be booked, with the live total.
- 06
Search that stops at filters
Students type "native English tutor, Tuesday evening, under $30". A filter form can't parse that or check availability. AI Search turns it into filters and returns tutors who are actually free.
Paste the prompt. The agent writes the wiring.
Drop it into your product. No per-provider accounts, no iframes — your database stays the source of truth.
Add booking with Slotr.
Tutors are bookables with languages, native speaker and hourly rate.
Students are participants. Lessons are 60 minutes.
Put the Booking Kit calendar on every tutor page
and the Slotr search input on the home page.
Create a rule: 5 or more lessons get 10% off.<SlotrSearch type="tutor" />
<SlotrBooking
bookable={tutor.slotrId}
theme="light"
accent="sage"
/>The calendar the agent drops in. Restyle it with your next prompt.
The Booking Kit is fully customizable, so "make it match our brand" works the same way it does for the rest of your Lovable app.
<SlotrBooking
bookable="therapist_42"
accent="#A3C4B5"
radius="soft"
theme="light"
/>How to add booking to a Lovable app
Put three things in your first prompt
The fastest way to add booking to a Lovable app is to describe the booking model before any screens: what gets booked, who books it and what changes price or availability. With those three answers the agent can map your app to Slotr's bookables, participants and rules in one pass.
Be concrete. "Tutors are booked in 60-minute lessons, students can buy packs of 5 or 10, trial lessons are 30 minutes at half price" gives the agent enough to create entities, availability and two rules. "Add a booking feature" gives it nothing to work with, and you end up correcting it over ten more prompts.
Let MCP own the rules, not your components
Lovable rewrites files as you iterate. If pricing lives in a React component, every design prompt is a chance to change it by accident. When the agent creates rules through the Slotr MCP server, they live in the Rules Engine instead, next to the bookable they apply to.
That gives you two practical benefits. Every quote returns its breakdown, so you can check that a five-lesson pack really came out at $126 instead of reading generated code. And changing a rule later is another prompt, not a regeneration of your checkout.
Keep your app's data where it is
Your app's database stays the source of truth for tutors. Bios, reviews and student profiles remain in whatever backend your Lovable app already uses. Slotr indexes only what booking needs: the attributes that affect search, availability and price.
Ask the agent to upsert a tutor whenever their profile or rate changes. That one habit keeps search results and quotes in sync without a nightly import.
The same goes for anything you later want to search on. If students start asking for tutors who teach business English, add it as an attribute in the next upsert. AI Search can filter on it as soon as it is indexed, and no search code has to change.
Test the unhappy paths before you publish
Preview mode is where to break things on purpose. Open the same tutor in two tabs and book the same hour in both: one should confirm and the other should get a clear unavailable message. Cancel a lesson from a pack and check the refund amount. Search for a tutor on a day they don't work.
Then open Booking Management in the Console and read the price breakdown for each test booking. If a rule fired that you didn't expect, the breakdown says which one.
Questions about booking in Lovable
How do I add booking to a Lovable app?
Describe your booking model in a prompt, connect Slotr with the plugin and your API key, and ask the agent to add the Booking Kit. It syncs your bookables, wires the calendar to the Slotr APIs and creates any custom rules over MCP.
Does Lovable's agent already know how to use Slotr?
Yes. Coding agents on Lovable already know how to combine the Booking Kit with the Slotr APIs to integrate an app fully, and how to use the Slotr MCP server to create custom booking rules. You describe the behavior, the agent writes the wiring.
Can I create custom booking rules from a Lovable prompt?
Yes. Rules such as pack discounts, trial-lesson prices, weekend surcharges or minimum notice are created through the Slotr MCP server. They are stored in the Rules Engine, apply per bookable, and show up in every quote breakdown.
Will the booking calendar match my Lovable design?
It should. Booking Kit components are fully customizable, so the agent can restyle them like any other part of your app. If you want full control over markup, ask for headless mode and the agent builds the UI on top of the same APIs.
Can bookings from a Lovable app sync to Google Calendar or Outlook?
Yes. Slotr has calendar integration with Google Calendar and Outlook, so a tutor's existing events can block their availability and confirmed lessons appear in the calendar they already use. The agent doesn't need to write sync code for this, because it is part of the booking engine.
Do I pay for every tutor or provider in my Lovable app?
No. Providers are not seats. You can add as many bookables as you need, each with its own rules and attributes. Pricing follows bookings, with a platform fee plus usage, and it is free to start.
When can I build with Slotr on Lovable?
Slotr is pre-launch, so it isn't open to every project yet. Join the waitlist for early access. The Lovable plugin, the Booking Kit and the MCP server described on this page are what early users will build with.
Prompt the app. Slotr runs the bookings.
Join the waitlist for early access to Slotr on Lovable.