# sharepa Docs

sharepa puts pages online that an AI chat built: HTML or React, at name.sharepa.page or your own domain. These docs describe what a page on sharepa can do and which rules apply to its code.

Source: https://sharepa.ai/en/docs

> **For AI assistants**
>
> If you are building a page for sharepa, read [Form or booking](https://sharepa.ai/en/docs/form-or-booking) and [What a page may do](https://sharepa.ai/en/docs/limits) first. A form collects requests. Only bookings put an appointment into a calendar.

## How a page goes online

| Route | How | Knows the rules |
|---|---|---|
| App | Paste code or upload a file at app.getsharepa.ch | No, the chat needs a [prompt add-on](https://sharepa.ai/en/docs/prompts) |
| Connector | Connect sharepa in your chat (Claude, ChatGPT, Mistral and others), then say "put this online" | Yes, the chat gets the rules from sharepa |
| Claude Code | Connector in the terminal, publish an HTML file directly | Yes |

## What sharepa does when serving a page

- **React** is built on the server, with Tailwind and a fixed list of libraries.
- **Security rules** make sure the page only sends data to itself. Details in [What a page may do](https://sharepa.ai/en/docs/limits).
- **Bookings:** if the code uses `window.sharepaTermine`, sharepa adds the script for it.
- **Password**, **analytics without cookies** and **search engines** are set in the app, not in the code.

## Topics

- [Form or booking](https://sharepa.ai/en/docs/form-or-booking): which route for requests, which for real appointments.
- [Forms](https://sharepa.ai/en/docs/forms): collect entries with `/__sharepa/formular`.
- [Bookings](https://sharepa.ai/en/docs/bookings): free times from Google Calendar, real bookings.
- [What a page may do](https://sharepa.ai/en/docs/limits): sending, loading, sizes, forbidden fields.
- [Reference](https://sharepa.ai/en/docs/reference/form): endpoints, methods, error codes.
- [Prompt add-ons](https://sharepa.ai/en/docs/prompts): to copy when your chat does not know sharepa.

## Related guides

- [Build a website with AI for free](https://sharepa.ai/en/guides/build-a-website-with-ai)
- [Publishing from the chat](https://sharepa.ai/en/guides/mcp-connector)
- [Publish from Claude Code: put an HTML file live straight from the terminal](https://sharepa.ai/en/guides/publish-from-claude-code)
