Public sites
What it is
Section titled “What it is”A site shows data from your collections outside the app, at /s/<slug> (and on its subdomain or own domain if configured). Two kinds:
- Members: each person signs in with a code sent to their email and sees only their own data (for example, a parents’ or customers’ portal).
- Public: anyone sees its pages without signing in (catalog, company page). It can also have member pages.
Pages are built from blocks: heading, text, section, list, grid, stat, chart, form, PDF, picker, action, video and cart.
How it works
Section titled “How it works”- Go to Settings → Sites (Configuración → Sitios) and create a site, or install an app that brings one.
- In the editor choose who signs in (the members collection and its email field), the data sources and their scope, the pages and their blocks, and the theme (colors, light or dark mode, font).
- Add forms and actions: a button or form that runs a script or a flow and answers with a message, a redirect or data.
- Publish the site and turn it on. Copy the link to share it.
- For your own domain, add it in «Own domains» (Dominios propios) and create the CNAME record in your DNS.
Rules and limits
Section titled “Rules and limits”- A public page only reads sources declared public, and never the members collection (personal data). PDFs cannot go on a public page.
- Public forms: 5 submissions per IP every 10 minutes and 300 per site per hour, with a honeypot field, minimum fill time and optional captcha.
- Heskala’s own domains cannot be used as an own domain.
- Permissions:
sites:view,sites:edit,sites:publish,sites:domains.manage,sites:submissions.view.
For agents (MCP)
Section titled “For agents (MCP)”get_site_guide: full format and examples (parents’ portal, shop, checkout). Read it first.- Sites are edited in the schema with
patch_schema_draft(upsert_site) and published withpublish_site, which publishes only that site and needs the person’s confirmation. - Sites’ web chat:
get_web_chat_settingsandupdate_web_chat_settings.