AI app builder · Updated
Add Bookare booking to a Bolt app
Add Bookare to Bolt as a custom MCP connector, then let it set up the venue and put the timetable or booking widget on the app it builds.
Bolt can use Bookare while it builds your app: 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 working booking without Bolt 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. Bolt 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 Bolt to read and change your venue as well, connect your venue’s own server,
https://yourvenue.bookare.app/mcp, with MCP OAuth (you sign in to Bookare and choose read only or read and change).
1. Add Bookare as a custom MCP server
- On the Bolt homepage, in the chatbox, click the + icon, then Connectors, then Manage connectors.
- Click Custom MCP server.
- Name:
Bookare. URL:https://bookare.app/mcp. Transport type:HTTP. - Authentication:
Noneforbookare.app/mcp;MCP OAuthfor your own venue's address. - Click Connect. In a project, turn the connector on from + → Connectors in the chatbox.
Official docs: MCP connectors in Bolt.
2. Example prompt
Build a website for "Kozy Cuts", a barber shop in Thessaloniki.
Use the Bookare connector for booking. Do not build your own booking system.
1. Check that the Bookare address "kozy-cuts" is free.
2. Create the venue for the owner: <owner name>, <owner email>.
3. Set it up from the barber template, then change it to our real services,
staff, prices and opening hours: <your details>.
4. Call get_embed_code. Put the services widget on a "Book" page 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
Bolt usually builds React apps, and React does not run a <script> tag written in JSX. Ask Bolt 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. "kozy-cuts"
s.dataset.view = view; // timetable, packs, services, tables or stays
el.appendChild(s);
return () => { el.innerHTML = ''; };
}, [venue, view]);
return <div ref={box} />;
}
On a plain HTML page, paste the code from get_embed_code as it is. The widget resizes itself, and every “Book” button opens the venue’s booking page in a new tab, where customers sign in and pay.
More on the widget: The booking widget and links. All guides: Add Bookare booking to your site.