AI app builder · Updated
Add Bookare booking to a Lovable app
Connect Bookare to Lovable as a custom MCP server, then ask it to set up the venue and put the timetable or booking widget on the site it builds.
Lovable can use Bookare while it builds your site: it creates and sets up the booking side (classes, services, tables or rooms, prices, opening hours) and puts the booking widget on the pages. You get a working booking system without Lovable writing a booking backend.
Before you start
- No Bookare venue yet? Connect Bookare’s public server,
https://bookare.app/mcp. It needs no account and no key. Lovable creates the venue as a draft for the owner and gives you a claim link at the end. Nothing opens to customers until the owner confirms with a code sent to their email and accepts the terms. Drafts that are not claimed within 14 days are deleted. - Already on Bookare? You do not need a connection. In Bookare, open Settings → Link and domain, copy the code under Booking inside your website, and paste it into your prompt. If you want Lovable to read and change your venue as well, connect your venue’s own server,
https://yourvenue.bookare.app/mcp, with OAuth (you sign in to Bookare and choose read only or read and change).
1. Add Bookare as a custom MCP server
Lovable calls these chat connectors. Custom MCP servers are available on all Lovable plans.
- Open Connectors (in the dashboard sidebar, or in a project's sidebar).
- Choose Add custom, then MCP server.
- Server name:
Bookare. Server URL:https://bookare.app/mcp. - Authentication: No authentication. For your own venue's address, keep OAuth.
- Press Add server (or Add & authorize for OAuth).
Lovable uses the connection in the project chat. It is not part of your published app, and Lovable asks you to approve each tool call that changes something.
Official docs: Custom MCP servers and Chat connectors.
2. Example prompt
Build a website for "Move Studio", a Pilates studio in Athens.
Use the Bookare connector for booking. Do not build your own booking system.
1. Check that the Bookare address "move-studio" is free.
2. Create the venue for the owner: <owner name>, <owner email>.
3. Set it up from the Pilates template, then change it to our real classes,
times and prices: <your classes, times and prices>.
4. Call get_embed_code. Put the timetable widget on a "Timetable" section
and a "Book online" button to the booking page in the header.
5. At the end, give me the claim link.
3. How the widget goes into a React app
Lovable builds React apps, and React does not run a <script> tag written in JSX. Ask Lovable to load the widget from an effect, like this:
import { useEffect, useRef } from 'react';
export function BookareWidget({ venue, view }: { venue: string; view: string }) {
const box = useRef<HTMLDivElement>(null);
useEffect(() => {
const el = box.current;
if (!el) return;
const s = document.createElement('script');
s.src = 'https://bookare.app/embed.js';
s.async = true;
s.dataset.venue = venue; // e.g. "move-studio"
s.dataset.view = view; // timetable, packs, services, tables or stays
el.appendChild(s);
return () => { el.innerHTML = ''; };
}, [venue, view]);
return <div ref={box} />;
}
The widget shows the live timetable, packs, services, tables or rooms and resizes itself. Every “Book” button opens the venue’s booking page in a new tab, where customers sign in and pay. While the venue is still a draft, the widget shows the real setup and the buttons say booking opens soon.
More on the widget: The booking widget and links. All guides: Add Bookare booking to your site.