# Floot — full documentation > Floot turns a plain-language description into a real, deployed full-stack app — React + TypeScript frontend, serverless TypeScript endpoints, Postgres database, authentication, file storage, email, payments through Stripe, and shipping through Shippo — hosted on Floot's infrastructure with a live URL. You build it by connecting Floot to the AI assistant you already use (Claude, ChatGPT/Codex, Cursor, or any MCP client) and describing what you want in that conversation: the connector is how building on Floot happens. Floot is a remote MCP (Model Context Protocol) server, and the connector is how you build on Floot. An MCP client can create, edit, run, and publish a complete Floot project without a browser. - MCP endpoint: https://mcp.floot.com/mcp (streamable HTTP, OAuth) - Registry name: com.floot/floot in the official MCP registry - One-click connect in Claude: https://claude.ai/directory/connectors/floot-mcp-updated - One-click install in ChatGPT: https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af - One-click install in Cursor: https://cursor.com/marketplace/floot - Any other client (VS Code, Zed, or Cursor without the marketplace): add the endpoint above as a remote server — see https://floot.com/docs/integrations/other-mcp-clients - Discovery manifest: https://floot.com/.well-known/mcp.json When connected over MCP, the model does the reasoning and token spend happens on the client's side (Claude or ChatGPT), not in Floot credits — building this way is free on Floot. What Floot meters instead is a build action per tool call (see https://floot.com/docs/integrations/build-actions). Floot credits are a second meter: image generation uses a small number of them, and AI features running inside a published app spend them too. Hosting is the third: a published app's compute, database, CDN and storage are metered on usage and paid from the monthly hosting allowance on Pro and Power, then from prepaid hosting credit (see https://floot.com/docs/faqs/hosting). Creating a project returns a project view on https://floot.com — a live preview of the app that updates as writes land, alongside the project's data, services, and Publish button. It is where the user watches the build and where they can point at an element or annotate a screenshot for the assistant to pick up; it is not a second way to build, and there is no prompt box on it. A handful of steps also finish there rather than over MCP: turning on native mobile app builds, completing a custom domain's DNS, downloading the code as a zip, entering third-party API keys (in Claude and ChatGPT, Floot's connect card may have the field), and anything involving plans or payment. What a Floot project is made of: page, component, helper, and endpoint files in TypeScript/React, plus static assets. Backends are serverless HTTP endpoints (GET/POST) with no filesystem or in-memory persistence between requests; persistent state goes in the provisioned Postgres database or object storage. Projects can also be published as native iOS and Android apps. This file is the complete contents of https://floot.com/docs (65 pages) as Markdown. The curated index is at https://floot.com/llms.txt. --- # How Floot works > Floot builds and hosts full-stack apps, and the AI assistant you already use drives it over the connector. What you get, and what it costs. Source: https://floot.com/docs/getting-started/how-floot-works Floot gives you a full-stack app — database, sign-in, file storage, email, and hosting — with no infrastructure to set up. You build it by talking to the AI assistant you already use: Claude, ChatGPT, Cursor, Codex, or any other MCP client. ## What you get A Floot project is a real TypeScript and React app — pages, components, and backend endpoints — and you can read or export all of it. Floot runs the parts you would otherwise have to stand up yourself: - **Database** — A managed Postgres database. Your app's endpoints query it directly, and you can browse the tables and download a backup yourself. - **Accounts and sign-in** — Email-and-password sessions, or Sign in with Google or Microsoft through OAuth that Floot brokers for you — no developer account of your own to register. - **File storage** — Somewhere for the files your app's users upload, and for the images, icons, and fonts your app ships with. - **Email and push** — Transactional email your app can send with a log of what went out, plus web and native push notifications. - **Payments and shipping** — Checkout, carts and subscriptions through Stripe, and address checks, rates, labels and tracking through Shippo, with no keys or webhooks to set up. Both run in test mode in the preview. Taking real money needs your own Stripe account and a paid plan; buying real labels needs your own Shippo account. See [Payments](https://floot.com/docs/integrations/payments) and [Shipping](https://floot.com/docs/integrations/shipping). - **Scheduled tasks** — Jobs that run on a schedule, without a server to keep alive. They run in your published app while the project owner is on a paid plan. - **Hosting** — Publish to a free `.floot.app` subdomain, either publicly or privately for people you invite. A custom domain is a paid-plan feature — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). ## How your assistant drives it Floot runs a remote MCP server. You connect it once to the assistant you already pay for, and after that you describe what you want in your ordinary chat. Your assistant creates the project, writes the files, provisions the database, runs the app, reads its own errors, and publishes — each of those is a tool call it makes against your project on your behalf. You are not left guessing what happened. Creating a project returns a live preview link, and the preview keeps updating as writes land. See [Your project view](https://floot.com/docs/getting-started/editor-and-preview) for what is on that screen, and [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do) for the full set of actions. Claude and ChatGPT install Floot in one click from their own directories, and Cursor from the Cursor Marketplace. Every other client takes a server URL and an OAuth sign-in. Start at [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt) or [Connect any MCP client](https://floot.com/docs/integrations/other-mcp-clients). **Yes, Floot works with the free version of Claude.** Any Claude plan can connect Floot, Claude Free included, and Floot's own free plan is enough to build and publish an app. A paid Claude plan gives your assistant more room for long builds, but it is not required. ## Starting a new project Start wherever you like. In your assistant, with Floot connected, describe the app and it creates the project. Or on your [Floot dashboard](https://floot.com/dashboard), type your idea in the box and click the button under it. - **Connect your AI** shows when no assistant is connected yet, and walks you through connecting one. - **Create a project** shows once Claude or ChatGPT is connected. It opens that assistant with your prompt ready, and copies the prompt too, in case you need to paste it. The arrow next to it lists your other connected assistants and **Copy prompt only**. - **Copy build prompt** shows when the assistant you connected is another client, such as Cursor. Paste the prompt into it. Either way, your assistant is what creates the project. Type the idea first: with the box empty, the button only asks you to. ## What it costs The thinking runs on your own subscription. Your assistant brings its own model, so Floot charges nothing for tokens — they are not Floot's to charge for. Floot meters the work instead, in **build actions**: one per tool call your assistant completes against your project, reads included. A few calls are exempt — polling a running job or a publish, listing your projects, fetching a preview link, cancelling, and unpublishing — and calls that fail are not counted. Free accounts get 100 build actions a day, with no weekly cap; paid plans raise the daily number. See [Build actions](https://floot.com/docs/integrations/build-actions). ## Where credits still apply Build actions are not the only meter. Floot credits are a separate balance, and three things spend them: - **Generating images.** Asking your assistant to generate image assets runs an image model on Floot's side, so it is billed in credits. - **AI features inside your published app.** If your app calls a model through Floot's built-in AI package, every call your app's users make spends credits. - **Chatting with Floot in the editor.** Some older accounts still build by chatting with Floot in the project editor instead of through their own assistant. There, Floot's models do the work and each message spends credits. Hosting is the third meter. Your apps' compute, database, CDN and storage usage comes out of your plan's monthly hosting allowance first, then out of your prepaid hosting credit — see [Hosting](https://floot.com/docs/faqs/hosting). > **Three meters, two owners:** Build actions are counted against your own account, across every project you touch. Credits and hosting are always charged to the owner of the project, never to a collaborator working on it. No meter is deducted from another. ## Where to go next - [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt): Connect Floot to the chat you already use, and start your first project from there. - [Your project view](https://floot.com/docs/getting-started/editor-and-preview): The live preview your assistant hands you — what is on it, and what you can do there. ## Guides - [Where to host an app built with Claude Code](https://floot.com/blog/where-to-host-an-app-built-with-claude-code-september-2026) - [Where to host an app built with Codex](https://floot.com/blog/where-to-host-an-app-built-with-codex-september-2026) - [Best Claude connectors for building apps](https://floot.com/blog/best-claude-connectors-for-building-apps-october-2026) - [Can you build an app with just a ChatGPT Plus subscription?](https://floot.com/blog/can-you-build-an-app-with-just-a-chatgpt-plus-subscription) --- # Build from Claude & ChatGPT > Connect Floot to Claude, ChatGPT, Codex, Cursor, or any other MCP client and build full-stack apps without leaving the chat. Source: https://floot.com/docs/integrations/build-from-claude-and-chatgpt The Floot connector lets Claude, ChatGPT, Codex, Cursor, and other MCP clients create, edit, debug, and publish your Floot apps directly from the chat you already use. This is how you build on Floot. Your assistant supplies the model and does the thinking. Floot supplies the project, the database, authentication, storage, email, a live preview, and hosting — and runs every build on its own servers. Nothing runs on your machine: there is no CLI, no local server, and no repository to clone. ## What it costs The model tokens come from your Claude or ChatGPT subscription. Floot charges no credits for them. Floot meters connector work in **build actions** instead: one per tool call your assistant makes, read or write. Failed and cancelled calls never count, and some tools are always free: `list_projects`, `get_job_status`, `get_publish_status`, `get_preview_url`, `cancel_request`, `unpublish_app`, and the ones that show Floot's own project list and app preview inside ChatGPT and Claude. Free accounts get 100 build actions per day, with no weekly cap on top. Your day is 24 hours from a fixed hour set for your account; Plan & usage shows when it resets. Paid plans raise the daily cap. See [Build actions](https://floot.com/docs/integrations/build-actions) for the numbers per plan. > **Two things that catch people out:** Image generation is the one connector action that also spends Floot credits, billed to the project owner. And if you subscribe to an older Floot plan, connector work is still metered at the free build-action caps — an older plan buys credits, not build actions. ## Connect Claude 1. **Add Floot from the connector directory** Open [Floot in the Claude connector directory](https://claude.ai/directory/connectors/floot-mcp-updated) and click **Connect**. There is no URL to copy. Any Claude plan can add the Floot connector, including Claude Free. A paid Claude plan is recommended for real builds. 2. **Sign in to Floot when prompted** The sign-in happens on floot.com, so your Floot credentials are never shared with Claude. 3. **On Team or Enterprise, an Owner goes first** An organization Owner enables Floot once — from the connector directory, or under **Organization settings → Connectors** — and then each member clicks **Connect**. Members cannot install it for themselves. 4. **Mention with Floot in a chat and start building** Naming Floot is what tells Claude to reach for the connector — for example, "build me a feedback hub with Floot". > **In Claude, use Cowork rather than Chat:** Cowork mode in the Claude web app is built for long, multi-step work. Switch the mode toggle from **Chat** to **Cowork**, then open the approvals menu and choose **Skip all approvals** so a build does not stop to confirm every edit. Note that this also skips Claude's own safety pauses — choose **Automatically approve** instead if you would rather Claude stop and check with you when something looks risky. ### The live preview in Claude When Claude builds or changes an app, or you ask for its preview, the live preview shows up right in the chat and updates as Claude works. Click the **expand** icon above it to keep it open next to the conversation while you keep asking for changes. Claude is still rolling out that panel, so some accounts don't have the expand icon yet. - **Point at what to change:** use **Select** to pick an element, or **Annotate** to draw on the page, and Claude gets it with your next message. In the small preview, they are behind the top button of its left column. - **Fixes go to Claude:** buttons like **Fix with Floot** send their request into the chat instead of copying it. - **All your apps:** ask "show me my Floot apps" to browse, star, search and file your apps in the chat, and open any of them. Browsing and filing costs no build actions. It works in Claude on the web, in the desktop app and in the phone apps; Claude Code shows no previews. Some things the preview can't do inside Claude, such as a sign-in pop-up or the camera: the preview says so and offers to open in your browser. > **A card with an Open live preview button instead of the preview:** Claude shows previews only for Floot from the [connector directory](https://claude.ai/directory/connectors/floot-mcp-updated). If you added Floot by its URL, remove it and add it from the directory. If Floot's tools have just changed, refresh them under **Customize → Connectors → Floot → ⋯ → Refresh tools list**. ## Connect ChatGPT and Codex 1. **Install Floot from the ChatGPT app directory** Open the [Floot app in the ChatGPT directory](https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af) and click **Install**. There is no URL to copy. 2. **Sign in to Floot when prompted** As with Claude, you sign in on floot.com — your Floot credentials are never shared with ChatGPT. 3. **Enable Floot in a chat** Add it from the **+** / tools menu, or start your message with **@Floot**. 4. **Turn off per-action approval** This is the step people miss. ChatGPT asks permission before every Floot action by default, and a build makes dozens, so it stalls every few seconds. Open [Floot's app settings in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af#settings/Plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af/permissions) and choose **Allow all actions**. You can change it back at any time. Codex shares your ChatGPT account, so once ChatGPT has Floot it is available in Codex in the ChatGPT desktop app and in Codex CLI, with the same Floot connection and the same access you gave it. In Codex CLI you can also find **Floot** with `/plugins` and add it directly. No server URL is needed either way. OpenAI does not list Codex Cloud tasks among the places plugins work, so Floot's tools are not expected to appear there. On a phone, build in a regular ChatGPT chat with Floot enabled. ## Connect Cursor Open [Floot in the Cursor Marketplace](https://cursor.com/marketplace/floot), add it, and sign in to Floot when prompted. There is no URL to copy. You can also add Floot to Cursor by hand, the same way as any other MCP client below. ## Connect any other MCP client 1. **Add a remote MCP server** In your client's settings, add a remote MCP server and choose transport **Streamable HTTP**. The wording varies by client — look for **Add MCP server**, **Custom connector**, **Connectors**, or **Integrations**. 2. **Enter the Floot server URL and save** ``` https://mcp.floot.com/mcp ``` This is a connector endpoint, not a web page — it will not open in a browser. 3. **Sign in to Floot in the browser window that opens** Floot authorizes over OAuth, so **leave any bearer-token or header fields empty**. Your Floot credentials are never shared with the client. 4. **Enable Floot's tools in the client, then start building** There is no persistent session to resume. If the tool list looks stale, have the client re-fetch it. This works with Cursor (if you add it by hand rather than from the marketplace), VS Code Copilot, Windsurf, Perplexity's Mac app, Gemini CLI, Raycast, LM Studio, and other clients that support remote MCP servers with OAuth sign-in. See [Other MCP clients](https://floot.com/docs/integrations/other-mcp-clients) for per-client notes. ## Pick a capable model Lighter models lose track of long, multi-tool builds. Use: - **In Claude** — Fable, or at least Opus - **In ChatGPT** — Astra, or at least Sol - **Anywhere else** — your assistant's most capable model ## Before you connect A connected client acts with your Floot account. Five things to know: - **It can reach every project you own** — Your assistant can read and edit any project on your account. A project another Floot user shared with you is different: reaching it over the connector needs a paid Floot plan on your own account. `list_projects` marks those `[shared]` so you can tell them apart. To narrow what one assistant can do (read only, no publishing, or one project), see [Limit what an assistant can do](https://floot.com/docs/integrations/what-your-ai-can-do#limit-what-an-assistant-can-do). - **It runs on your assistant's subscription** — Connector work spends build actions, not Floot credits. Image generation is the exception: it also spends Floot credits, billed to the project owner. - **Publishing is public by default** — Anyone with the live link can open your published app, unless you publish it privately for people you invite — see [Publish privately](https://floot.com/docs/projects/internal-publish). - **Credentials stay on Floot** — When your app needs an API key, your assistant creates a request and hands you a floot.com link. You enter the key in your browser, and your assistant only ever learns the environment variable name — never the value. - **It cannot buy anything itself** — There is no checkout, upgrade, or plan-change tool. Paying for anything is a page you open and click yourself. The exceptions are charges you agreed to in advance on floot.com: automatic [Action Boosts](https://floot.com/docs/integrations/build-actions#action-boost) on Power, app builds past the monthly allowance, and [branches past the included ones](https://floot.com/docs/branches/limits-and-cost). ## What still happens in your browser Almost everything is an action your assistant can take. These are not: - **The first native mobile build, and connecting an app store.** iOS and Android app builds start from the **Publish mobile app** switch on the Publish screen in your browser, which is also where you connect your Apple or Google Play account. Your assistant can start a build only after a store is connected, and the Android APK and project zip are downloaded there too. - **Finishing a custom domain.** Your assistant starts the setup and hands you a link — you complete the DNS wizard in your browser. The request stays open for one hour. - **Publishing privately.** Choosing who can open your app, and switching it between public and private, happens on the Publish screen. - **Downloading the code export zip.** The zip is assembled in the browser: open the project on floot.com, click the chevron beside the project's name (**Project actions**) → **Download code as zip**. From the chat, your assistant reads files directly instead. For the full picture of what your assistant can and cannot do, see [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do). ## Coming back to a project Your project lives in Floot, not in the chat, so a new chat can pick up where the last one stopped. Open the project on floot.com, click **Edit** at the top right, and choose Claude or ChatGPT under **Connected agents**. That opens a new chat with a prompt for this project filled in, or copied so you can paste it. Ask the new chat to read the project before it changes anything, rather than pasting in a summary from the old chat. Starting fresh is also the first thing to try when a long conversation begins to misbehave — see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## Prompts to try Replace `xxx` with your project's name. On Claude, mention **with Floot**; on ChatGPT, add Floot from the **+** menu or type **@Floot**. - Build me a working feedback hub with Floot — a form that saves responses to a database and a page to browse them - Show a preview of my Floot project xxx - Add a login page to my Floot project xxx - Publish my Floot project xxx and give me the live URL - Something's failing in my Floot project xxx — read the logs and fix it ## Where to go next For one-click install buttons and setup videos, see the [connector page](https://floot.com/integrations/mcp). If a client will not connect, or your assistant cannot find a project you know exists, see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## Guides - [Best Claude connectors for building apps](https://floot.com/blog/best-claude-connectors-for-building-apps-october-2026) - [Best MCP servers for non-developers, from your docs to building full-stack apps](https://floot.com/blog/best-mcp-servers-for-non-developers-2026) - [Can you build an app with just a ChatGPT Plus subscription?](https://floot.com/blog/can-you-build-an-app-with-just-a-chatgpt-plus-subscription) - [Claude Artifacts vs a real hosted app](https://floot.com/blog/claude-artifacts-vs-a-real-hosted-app-what-s-the-difference) --- # Connect any MCP client > Add Floot to Cursor, VS Code, Zed, or any client that supports remote MCP servers — server URL, transport, and OAuth. Source: https://floot.com/docs/integrations/other-mcp-clients Floot runs a remote MCP server. Any AI client that can add a remote MCP server over Streamable HTTP can create, edit, run, and publish Floot apps. You add one URL and sign in to Floot in your browser. Claude and ChatGPT need none of this — both install Floot in one click from their own directories. See [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt). This page is for every other client. ## Server details | Setting | Value | | --- | --- | | Server URL | `https://mcp.floot.com/mcp` | | Transport | Streamable HTTP | | Authentication | OAuth — your client opens a Floot sign-in page in your browser | | Bearer token, API key, custom headers | Leave empty — Floot signs you in with OAuth and gives you no token to paste | > **The server URL is not a web page:** `https://mcp.floot.com/mcp` answers MCP requests, not browser requests. Pasting it into an address bar loads nothing useful, and that is expected. It belongs in your client's MCP server settings. ## Add Floot to your client 1. **Open your client's MCP settings** Look for **MCP servers**, **Connectors**, **Custom connector**, or **Integrations**. The wording differs from client to client. 2. **Add a remote server and choose Streamable HTTP** If your client asks for a transport, pick **Streamable HTTP**. Floot answers in JSON — there is no SSE stream to select. 3. **Enter the server URL and save** ``` https://mcp.floot.com/mcp ``` Leave any bearer-token, API-key, or header fields empty. Floot signs you in with OAuth and gives you no token or key to paste. 4. **Sign in to Floot to authorize the connection** Your client opens a Floot page in your browser. Approve the connection there. Because sign-in happens on floot.com, your Floot credentials are never shared with the client. Floot accounts have no password: sign in with a code sent to your email, Google, GitHub, or Microsoft. If your account has two-factor authentication on, that sign-in asks for your code too. 5. **Enable Floot's tools and start building** Some clients switch a new server's tools on automatically; others need you to enable them per chat. Mention **Floot** in your first message. ## How the sign-in works Floot's MCP server is its own OAuth authorization server, so most clients need no configuration beyond the URL. - OAuth 2.1 authorization-code flow with PKCE. **`S256` is the only challenge method Floot accepts** — a client that offers only `plain`, or no PKCE at all, cannot connect. - Dynamic client registration is supported, so your client registers itself. There is no client id or secret for you to create. - The client's sign-in callback has to be an `https` URL or a `localhost` / `127.0.0.1` address. Cursor's desktop app is also allowed; a desktop client that returns through any other custom URL scheme cannot connect yet. - The consent screen is `https://floot.com/mcp-authorize`, which is where your Floot session already lives. - Access tokens are sent as a normal `Authorization: Bearer` header by the client, after the OAuth flow — not by you. ## Building Floot into your own product A product that wants to offer Floot to its own users connects the same way as any other client. It registers itself through dynamic client registration and sends each user through the Floot sign-in, so every user authorizes their own Floot account. What a connection can reach is that user's account — see **Before you connect** on [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt) — and the work it does counts against that user's own plan and daily [build actions](https://floot.com/docs/integrations/build-actions). ## Clients this works with Floot's own connect instructions name these as clients that support remote MCP servers with OAuth sign-in: **Cursor**, **Perplexity** (Mac app), the **Gemini CLI**, **VS Code Copilot**, **Windsurf**, **Raycast**, and **LM Studio**. That is a list of examples, not a whitelist — anything that speaks remote MCP over Streamable HTTP connects the same way. Cursor can also skip the manual setup: add Floot from the [Cursor Marketplace](https://cursor.com/marketplace/floot) in one click. Codex is the exception that does not belong here: it shares your ChatGPT account, so Floot is already there once ChatGPT has it, and it has its own plugin registry — see [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt). Floot registers the same tools for every client. Nothing is held back from a client because of what it is called. See [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do). ## After you connect - **Use your client's most capable model** — Lighter models lose track of long, multi-tool builds. Floot's guidance for any client other than Claude and ChatGPT is simply to use your assistant's most capable model. - **There is no session to keep alive** — Every request stands on its own — Floot's MCP server holds no state between calls and issues no session ids. If your client says it lost the connection, all it needs is to list Floot's tools again. - **Building is metered in build actions** — One per tool call your assistant makes, on every client. See [Build actions](https://floot.com/docs/integrations/build-actions). ## Discovery `https://floot.com/.well-known/mcp.json` describes the server — endpoint, transport, and auth type — for clients and registries that look it up. Floot is also listed in the Model Context Protocol registry as `com.floot/floot`. If a step above does not go the way it reads here, see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## Guides - [Where to host an app built with Codex](https://floot.com/blog/where-to-host-an-app-built-with-codex-september-2026) - [Where to host an app built with Claude Code](https://floot.com/blog/where-to-host-an-app-built-with-claude-code-september-2026) - [Best MCP servers for non-developers, from your docs to building full-stack apps](https://floot.com/blog/best-mcp-servers-for-non-developers-2026) --- # Your project view > The live preview page your assistant hands you — what is on screen, how the shareable link works, and what you can do without leaving it. Source: https://floot.com/docs/getting-started/editor-and-preview When your assistant creates a project it gives you a link to your project view. It is a live view of the app being built: the preview updates as writes land, and your data, services, checkpoints, and the Publish button are all on the same screen. There is nothing to type at here — you describe changes in your assistant, and watch them arrive. ## The live preview The preview runs your app as it stands right now — the same code your users will get, just not published yet. Writes stream in while your assistant works, so you do not need to reload. If a change has been saved but the preview has not caught up, a small **Updating preview…** pill appears in the tab row. It clears on its own once the new build renders; it only shows up when the preview is genuinely more than a couple of seconds behind. Use the device picker at the right of the tab row to switch between Desktop, iPhone (393 × 852), Pixel (412 × 915), iPad (820 × 1180), and a Responsive frame you resize by dragging. The phone and tablet frames can be rotated with the button under the frame. Once your project has a native status bar setting, or an Apple or Google Play account connected, those frames also draw the status bar and the safe areas the way the native app will (see [Native features](https://floot.com/docs/mobile-apps/native-features)). **Fullscreen** gives you a bigger view but always renders at desktop width. On a phone-sized browser window the device picker is hidden and the preview fills the screen. On a page that has its own share image, the picker also lists **Link preview**, which shows how a link to that page looks when shared (see [Link previews](https://floot.com/docs/projects/seo#link-previews)). Press `Cmd + K` or `Cmd + P` (`Ctrl` on Windows) to jump the preview to a page, or to a component, which renders its examples. The page picker in the top bar does the same with a search box, and also lists each page's example screens — see [Examples](https://floot.com/docs/getting-started/examples). **What to check while you are here:** - Walk your real user flows — sign up, sign in, and the main thing the app is for - Check a phone frame as well as desktop before you call something done - Confirm that forms and buttons actually save, rather than just looking right ### Passkeys in the preview If your app signs people in with passkeys, you can try both creating a passkey and signing in with it in the preview, before you publish. Your browser shows its usual passkey prompt, and only after a click inside the app, so start the flow from a button rather than when the page loads. - **Creating a passkey works in Chrome, Edge and Firefox.** Safari does not let a page shown inside another page create one, so in Safari sign-up fails in the preview while sign-in with an existing passkey works. Test sign-up in one of the other browsers, or in your published app. - **A passkey made in the preview belongs to the preview's own address**, not your published app's domain. It will not sign you in to the published app, where your users create their own. Ask your assistant to take the passkey's domain from the page's current address rather than writing your app's domain into the code, so the same flow works in the preview and when published. ## Pointing at something in the preview Two tools sit in the preview toolbar, at the right end of the tab row: - **Select** — Click any element in the preview to point at it. Floot maps it back to the source file and line. - **Annotate** — Take a screenshot of the preview and draw on it. Circling the problem is usually faster than describing it. Both are held for your assistant rather than sent anywhere immediately. It picks up your current selection and annotation the next time it checks your context, so you can circle something and then just say "fix this". Floot also copies a paste-ready line to your clipboard when a selection lands, in case you would rather paste it in. If your assistant does not seem to have noticed, ask it to check your Floot context. > **Annotations do not last forever:** A drawn annotation is kept for about a day, then expires. If your assistant reports that an annotation has expired, draw it again. Annotate mode also closes itself when a write arrives, since the drawing sits on a frozen screenshot — your drawing is kept. ## Services The **Services** tab covers everything behind the app. It lists every service, with the ones your project already uses first, so you can also see what is available before your app uses it: - **Data** — Browse your Postgres tables, search them, and add rows — Floot's database or an external one you connected. A Floot database can also be downloaded as a full export, and on a paid plan put back to an earlier moment — see [Backups and restores](https://floot.com/docs/platform/database#backups-and-restores). - **Integrations** — The connected services behind your app — API keys and OAuth providers you set up. **Connect a saved integration** adds one you already saved on your account. - **Storage, Email, Notification** — Files your app stores, which you can preview and download one at a time, your email domains and a log of the email your app sent and received, and push-notification setup. - **Schedules, Analytics, SEO, AI** — Jobs that run on a timer, visitor traffic for your published app, search-engine settings, and the usage and settings for AI features running inside your app. - **Payments** — Whether your app can take payments: test mode in the preview, live mode in the published app, and the Stripe setup live mode needs — see [Payments](https://floot.com/docs/integrations/payments). - **Apps** — Let this app call your other Floot apps, and see which apps call it — see [Connected apps](https://floot.com/docs/projects/connected-apps). - **Docs** — Markdown your assistant wrote under `static/__dev/` — plans, notes, decisions. Files under that prefix are excluded from your production build, so they are a safe place to keep working notes. Other `.md` files under `static/` can be published: see [Markdown versions for AI agents](https://floot.com/docs/projects/seo#markdown-versions-for-ai-agents). - **Code** — Under **Advanced**, on a computer: browse your project's pages, components, helpers and endpoints, and make a small edit by hand, which needs a paid plan on your account and on the project owner's. For anything larger, ask your assistant. The Database and Email icons on the tab itself are shortcuts straight into those two. > **On a phone:** The tab row is replaced by a bar along the bottom: **Preview**, **Data**, **Email**, **AI**, and **More** for the rest of the services. ## Checkpoints and undoing changes Open the **Checkpoint** panel from the tab row. It is a newest-first timeline of checkpoints, the individual changes grouped under each one, and the times your app was published. Expand a checkpoint to see what changed in it, and use the filters — **Recent changes**, **Only yours**, **Agent-created**, **Published** — to narrow the list. Bookmark a checkpoint you may want to come back to, such as a version you know works: hover over its row and click the **bookmark icon**, and click it again to take the bookmark off. **Bookmarked only** in the filter menu then lists every bookmarked checkpoint of the project, however far back it is, and you can restore from there. Bookmarks belong to the project, so everyone on it sees the same ones, and anyone who can edit the project can add or remove them. A project can have up to 50. **Restore** puts the whole project back the way it was when that checkpoint was created, behind a confirmation step, and everything changed after it is undone. For changes made since the latest checkpoint, **Revert** takes the project back to just before that change. Add a checkpoint yourself from that panel before a risky change, or ask your assistant to save one — it has a checkpoint tool of its own, and checkpoints it creates are labelled with its name. To undo just one file, ask your assistant instead — for example, "put `components/Cart.tsx` back the way it was before the last change". It can read a file's earlier versions one change at a time, restore the one you want, and leave the rest of the project alone. A restore rolls back code and project settings only. It does not change your database, your uploaded files, your connected services or domains, or the published app. On a paid plan the database has a restore of its own — see [Backups and restores](https://floot.com/docs/platform/database#backups-and-restores). To roll back the live app, restore the checkpoint from before the change and publish again: there is no button that switches the live app back to an earlier publish, and the publish times in the timeline are markers, not restore points. On a paid plan, **Version history** on the Publish screen lets you download the exact source of an earlier publish, or compare it with the publish before it or your current code; your AI can make that comparison too, with `compare_published_source`. Your assistant can also read the project's history (checkpoints, changes and publishes), so you can ask it for a changelog of everything since your last publish. ## The project menu Click the project name at the top left to open the project's **Settings** page. The project's ID is in your browser's address bar, after `/project/` or `/mcp-preview/`. The chevron beside the name opens the project menu, and the **+** beside the avatars at the top right opens **Collaborators**. - **Settings** — Project name and icon (used for the favicon and the mobile app icon), a system prompt of standing instructions, a design prompt for brand direction, keeping request and response bodies out of preview logs, the splash screen, and the mobile app ID. The **Visibility** card holds **Make project public** (projects are private by default, including free ones; click **Save Changes** to apply it), **Only allow internal publish** (see [Publish privately](https://floot.com/docs/projects/internal-publish)), and [Fixed outbound IP](https://floot.com/docs/platform/fixed-outbound-ip). - **Collaborators** — Give other Floot accounts edit access to the project. This is a paid-plan feature, and only the owner can add or remove people. - **Send project, Send development preview** — Under **Share** in the project menu: hand a copy of the project to another account, or email someone a link to look at it. Both are paid-plan features shown only to the owner — see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects). - **Duplicate project** — Under **Copy** in the project menu: make a copy of the project to experiment on. This is a paid-plan feature. - **Download code as zip, Sync to a folder…** — Also under **Copy**: download the whole project source as a zip, or keep a folder on your computer in sync with the project. Both are paid-plan features — see [Code, data, and exports](https://floot.com/docs/faqs/code-data-and-exports). Keep the system prompt short. It is included with every change your assistant makes, and it is capped at 16,000 characters. Longer reference material belongs in a note under `static/__dev/notes/` that the prompt points to. ## Sharing the link The preview link your assistant hands you is not restricted to people who can sign in to your project. It carries a token in the URL: it opens with no Floot login, expires after seven days, and is scoped to that one project. It is read-and-interact only. Someone holding the link can open the app and use it, but cannot edit your files, change your settings, or touch your account. A single link cannot be revoked before it expires, so share it the way you would share a document link. To close every preview link of a project at once, including the access a link gave to the app's backend, turn on **Only allow internal publish** — see [Publish privately](https://floot.com/docs/projects/internal-publish). The token never takes anything away from you: if you open the link while signed in to Floot, the page uses your real access instead, and you keep full edit and publish rights. The flip side: someone signed in to a Floot account that has no access to the project is sent to the Floot home page instead of the preview. A private browser window gets them in. The project menu also has **Send development preview**, which emails a per-recipient link that is checked against that email address when it is opened. It is a paid-plan feature and only the project owner can send it. For sharing your published app, see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects). ## Preview vs. published | View | What it shows | Who can see it | | --- | --- | --- | | **Preview** | Your latest changes, before you publish | You, your collaborators, and anyone you send a preview link to | | **Published** | The last version you published | Anyone with the published link | | **Published privately** | The last version you published | Only your collaborators and the people you invited, after they sign in to Floot | The **Publish** button is in the top-right corner — or just ask your assistant to publish, which runs the same deploy and returns the same URL. Floot runs an error check first and stops with the problems if it finds any. After the first publish, new changes stay in preview until you publish again — see [Publishing your app](https://floot.com/docs/projects/publishing). > **Published is public unless you publish privately:** Anyone with the link can open an app published from the **Web** tab. To limit it to people you choose, use **Internal publish** on the same screen — see [Publish privately](https://floot.com/docs/projects/internal-publish). To control who can do what inside the app itself, ask your assistant to add sign-in. > **If Publish refuses:** Publishing a web app is free on every plan. Publish stops only when the pre-publish check finds errors, which it lists, when your hosting balance has run out, or when the app takes payments or ships orders and their setup for the live app is missing. For hosting: on a paid plan, top up from the **Hosting** tab of [Plan & usage](https://floot.com/dashboard/plan-usage?tab=hosting) and publish again; a free account cannot buy hosting credit, so it has to upgrade first — see [Hosting](https://floot.com/docs/faqs/hosting). Payments need the project owner on a paid plan with Stripe setup finished, and shipping needs the owner's Shippo account connected; the message says what to do (see [Payments](https://floot.com/docs/integrations/payments) and [Shipping](https://floot.com/docs/integrations/shipping)). Extras such as a custom domain or real payments need a paid plan; publishing itself does not. ## Things only you can do Most work happens through your assistant, but a few things need you in the Floot web app. Your assistant can walk you to them; it cannot finish them for you: - **Plans and billing** live on floot.com, on your account's plan page. Your assistant cannot change what you pay. - **A custom domain** is added from the Publish screen, once the app has a subdomain — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). - **Publishing privately** and inviting people to the app happen on the Publish screen — see [Publish privately](https://floot.com/docs/projects/internal-publish). - **Connecting your Apple or Google Play account** happens under the **Publish mobile app** switch on the same Publish screen, on every plan. Once a store is connected, your assistant can start native builds itself when it publishes; a mobile test build is started only by you, from the Publish screen — see [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot#test-builds). - **Your own API keys** go through the secure connect link Floot generates when your assistant asks for one. Open it and enter the key there. Never paste a key into the chat — your assistant only ever receives the environment variable name, never the value. --- # What your AI can do > The full capability list for the Floot connector — what your assistant does on its own, and the few things you finish in the browser. Source: https://floot.com/docs/integrations/what-your-ai-can-do Once Floot is connected, your AI assistant has one set of tools for reading, writing, running, and publishing your Floot projects. This page is the honest list: what it can do, what it cannot, and where the line falls. Not connected yet? Claude and ChatGPT install Floot in one click — see [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt). For everything else, see [Connect any MCP client](https://floot.com/docs/integrations/other-mcp-clients). > **Every client gets the same tools:** Floot does not offer a reduced tool set to any client. The Floot app from the ChatGPT app directory gets the full set in a regular ChatGPT chat — you do not need Codex to build. The one exception is a ChatGPT feature that uses only tools named `search` and `fetch`, such as deep research: there it can find and read your projects but not change them. See [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## Capability matrix | Task | Your AI assistant | How | | --- | --- | --- | | **Create a project** | Yes | `create_project` makes a new Floot project and returns its id. | | **Find your projects** | Yes | `list_projects` lists projects you own and ones shared with you; `search` and `fetch` search and read them, and are the two tools ChatGPT features such as deep research can call. | | **Read your code** | Yes | `list_files`, `read_file`, `read_files`, `search_code`. One read returns up to 1,000 lines (`limit` up to 5,000) and at most 40,000 characters; `read_file` continues from `offset` (a line) and `column` (a character in that line), so even a single line longer than the cap can be read in full, and each read is headed with the whole file's SHA-256 to check the result. `read_files` reads up to 20 files in one call; its whole answer stays under about 90,000 characters, and files that do not fit are left out and listed by name, to read next. | | **Go back to an earlier version of a file** | Yes | `read_file` and `read_files` with `older_than` step back through a file's history one change at a time (`read_files` walks up to 5 files back together). Restoring a version is an ordinary write, so it can be undone too. | | **Write and edit code** | Yes | `write_file`, `edit_file`, `apply_patch`, `rename_file`, `copy_file`, `delete_file`. `copy_file` copies items under new names within the same project; to copy code into another project, read it and write it there, or [duplicate the project](https://floot.com/docs/projects/duplicate-a-project). | | **Add or remove npm packages** | Yes | `add_dependency` and `remove_dependency`, validated against Floot's supported set. Pinning a safe version of a vulnerable package one of your packages pulls in is a project setting, made with `update_project_metadata` — see [Security and data](https://floot.com/docs/platform/security-and-data). | | **Add a database, auth, or a login provider** | Yes | `provision_resource` creates Floot-managed integrations server-side and seeds the code. There are no keys to paste. `list_resources` shows what is already connected — names and types, and which variables have a separate [preview value](https://floot.com/docs/integrations/overview#preview-values), never secret values. | | **Run SQL** | Yes | `query_database` for reads, `execute_sql` for writes and migrations, `pull_database_schema` to regenerate typed helpers. | | **Read runtime logs** | Yes | `get_logs` reads the preview's backend requests from the last hour and the browser console and network activity of your open project view — the first step for any 500, blank page, or failed request. It also reads your published app's backend logs (kept for 90 days), the push notifications your app sent, and the state of scheduled and queued jobs: what is scheduled, what is running now, which runs were cut off, and how the latest scheduled jobs run by hand (**Run now** or `run_scheduled_job`) ended, with their errors. | | **Typecheck and run tests** | Yes | `typecheck`, and `run_tests` for the project's Jasmine specs — see [Testing your app](https://floot.com/docs/integrations/testing-your-app). | | **Run code** | Yes | `run_code_in_vm` runs a Node snippet on the project's VM; `run_code_in_browser` runs inside the live app to read its DOM or click in it, in your open Floot tab or, with none open, in a browser Floot runs for your assistant — see [Your assistant can see and test your app](https://floot.com/docs/integrations/what-your-ai-can-do#your-assistant-can-see-and-test-your-app). | | **Run your app's own functions** | Yes | `call_app_function` runs a function your app exports for other apps, in the published app, and returns its result. It runs for real, so a function that writes, sends or charges does so. See [Connected apps](https://floot.com/docs/projects/connected-apps). | | **Look up payments** | Yes, read-only | `get_live_payments` reads your Floot Payments records in Stripe: live payments, or the test payments made in the preview. It cannot refund or cancel: a live payment is refunded in your Stripe dashboard, and a test payment from the preview under Services → Payments → Test payments, or by your assistant with `run_code_in_vm` (`_floot.refundTestPayment`, test mode only). | | **Read your analytics** | Yes, read-only | `get_analytics` reads a published app's visitor analytics over a date range, the numbers the Analytics tab shows, on a paid plan: visitors, page views per day, top pages, referrers, countries, devices, browsers and custom events. | | **Run a scheduled job now** | Yes | `run_scheduled_job` runs one of your scheduled jobs once, in the preview, without publishing. See [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs). | | **Make and merge branches** | Yes | `fork_project` makes a branch, `list_branches` and `compare_branches` show what is on it, `start_merge` merges it, and `delete_branch` deletes it. Into a protected main, the merge starts only when you confirm it. See [Merging](https://floot.com/docs/branches/merging). | | **Show you the app** | Yes | `get_preview_url` returns a live link, `screenshot_preview` captures the screen, `navigate_preview` points your open preview at a page, a component's examples, a page's example screens, a design on the [design canvas](https://floot.com/docs/getting-started/examples#examples-and-the-design-canvas), or a page's [link preview](https://floot.com/docs/projects/seo#link-previews) card. None of them needs a Floot tab open — see [Your assistant can see and test your app](https://floot.com/docs/integrations/what-your-ai-can-do#your-assistant-can-see-and-test-your-app). | | **See what you are looking at** | Yes | `get_current_context` reads your open project view — selected element, current page, whether you drew an annotation; `view_annotation` opens the drawing. | | **Generate images** | Yes | `generate_image` writes AI images into the project. This is the one action that also spends Floot credits. | | **Take a file from you** | Yes | `request_user_upload` shows an upload card you pick a file in; `upload_asset` uploads bytes it already holds, as a public file or into your app's private storage. | | **Delete stored files** | Yes, when you ask | `delete_storage_file` deletes files your app stored, for good. To stop using a file, your assistant removes it from the code instead. | | **Ask for an API key** | Yes, through your browser | `request_external_resource` creates the request and gives you a floot.com link, or, in Claude and ChatGPT, a card that may have the field for the key in it. The key goes straight to Floot and never travels through the chat, and your assistant only learns the environment variable name. | | **Publish, update, unpublish** | Yes | `publish_app`, `unpublish_app`, and `get_publish_status`. Publishing runs the same code as the Publish button in the Floot web app. On an app's first publish your assistant normally shows you a publish form, where you pick the `.floot.app` address and press **Publish**; nothing goes live until you do. An app that is already live is published again at once. A privately published app stays private when your assistant publishes it again; switching between public and private is done on the Publish screen. | | **Compare your draft with the live app** | Yes, read-only, on a paid plan | `compare_published_source` does what **Version history → Compare with current code** on the Publish screen does: it compares your current saved code with the live publish, or with an earlier one you name by its release id, and lists every file that would change if you published now, with line-by-line changes for the files you ask about. It needs a paid plan on the project owner's account, and compares code only, not settings, dependencies, scheduled jobs or Storage. See [My live site does not show my changes](https://floot.com/docs/projects/publishing#my-live-site-does-not-show-my-changes). | | **Read your hosting balance and usage** | Yes, read-only | `get_hosting_usage` returns what **Plan & usage** shows for hosting: your prepaid hosting credit balance, the allowance your plan includes and how much of it is left, this billing period's usage by category and by project, your daily hosting limit, and whether auto-reload is on. A team's admins can read the team's by naming one of its projects. It cannot buy credits or change a setting, and an assistant set to **Read only** can call it too (see [Limit what an assistant can do](https://floot.com/docs/integrations/what-your-ai-can-do#limit-what-an-assistant-can-do)). An assistant limited to one project cannot call it, since it covers the whole account. | | **Follow or stop long-running work** | Yes | Slow calls return a job id. `get_job_status` checks on it and `cancel_request` stops it — both still work after you hit your daily limit. | | **Name a restore point** | Yes | `create_checkpoint` labels a point you can revert to from the **Checkpoints** panel in your project view. | | **Change project settings** | Yes | `update_project_metadata` — title, description, icon, splash, mobile app ID, server-side rendering, iOS permission strings, iPhone-only or iPad-only iOS builds, the Android TV build, files built into the mobile apps, the share-sheet target, the native status bar, the visitor-analytics mode, [page headers](https://floot.com/docs/platform/security-headers) such as who may embed the app, how pages are preloaded, the [page language](https://floot.com/docs/projects/seo#the-language-of-your-pages), opting out of Floot's built-in AI, the name under the installed mobile app's icon, and — only when you ask for them — pinned versions of packages your packages pull in, and server memory. See [Native app features](https://floot.com/docs/mobile-apps/native-features). | | **Set up a custom domain** | Starts it, you finish it | `publish_app` creates the request and gives you a link to the wizard. | | **Build the native mobile apps** | Once a store is connected | `publish_app` builds the app only when an Apple or Google Play account is connected to the project. Without one it returns a card that sends you to floot.com to connect one. For the APK alone, open the project on floot.com, click **Publish**, and switch on **Publish mobile app**. | | **Download the code export zip** | No — you do this yourself | The zip is assembled in your browser. Open the project on floot.com, click the arrow beside the project's name at the top left, and choose **Download code as zip**. | | **Buy anything or change your plan** | No — you do this yourself | There is no checkout tool. Plans and purchases are pages on floot.com you open and buttons you click — start at the [plan page](https://floot.com/dashboard/plan-usage). | ## Your assistant can see and test your app Your assistant can take screenshots of your app, click through it and read what is on the page whether or not you have Floot open, so it can check its own work while you are away from your computer or only in the chat. - **With the project open in your browser** (the editor, or the preview link your assistant gives you), it works there: screenshots show what you see, and when your assistant shows you a page, your preview moves to it. A tab in the background counts as open. - **With no Floot tab open**, it works in a browser Floot starts for your assistant on its own servers. Your preview does not move, and the first screenshot can take a few seconds while that browser starts. It closes a few minutes after your assistant stops using it. - **Signing in:** in Floot's browser, Floot's own sign-in is you, so an [internal app](https://floot.com/docs/projects/internal-publish) opens as it does for you. Your app's own sign-in does not carry over from your browser: your assistant signs in through the app's form, like a new visitor. To have it work in your own browser again, open the project there. Nothing to set up: it works in Claude, ChatGPT and any other client connected to Floot. ## Building native mobile apps Your assistant can build the app only once an Apple or Google Play account is connected to the project. Ask it for an iOS or Android build and it calls `publish_app` with the mobile option. With no store connected, that returns a card that sends you to floot.com to connect one, and nothing is published. With a store connected, it publishes the web app and uploads the new build to the store. On Free and Pro, each such publish uses one of your monthly app builds. Past the allowance on Pro and Team, a build is $3 from your hosting credit once you have agreed to that on floot.com. Your assistant can't agree for you: it gives you the link, and the web app still publishes. Everything else happens on floot.com. That includes the first build without a store, the Android APK, the project zip, and every [test build](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot#test-builds): your assistant always publishes the live app. Open the project there — any preview link your assistant hands you from `get_preview_url` goes there, and signed in as the owner you get the full Publish screen. Click **Publish**, switch on **Publish mobile app**, and publish. The APK and zip then appear under **Last build**. Every plan includes app builds: 2 a month on Free, 12 on Pro, unlimited on Power. See [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot). ## Setting up a custom domain Your assistant can start a custom-domain setup but cannot complete one — DNS setup needs you. Ask for a domain and it calls `publish_app`, which creates a request and gives you a floot.com link to open. The app has to be live on a `.floot.app` subdomain first. The request stays open for one hour and only one can be pending per project. If it expires, ask again and your assistant creates a fresh one. It is not blocking — your assistant can carry on with other work while you finish the wizard. Opening the link takes you to your project with the Add Custom Domain wizard already open. Enter the domain and add the DNS records it shows you. Custom domains are a paid feature, resolved against the project's owner — a paid collaborator on a free owner's project still cannot attach one. See [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). ## Getting your code out Your assistant cannot produce the export zip — it is built in your browser, not on Floot's servers. What it can do is read any file in the project with `read_file`, `read_files`, and `search_code`, so asking it to print or copy specific files works fine. For the whole project as a file, open the project on floot.com, click the arrow beside the project's name at the top left, and choose **Download code as zip**. Code export is a paid-plan feature — see [Code, data, and exports](https://floot.com/docs/faqs/code-data-and-exports). ## No tool can spend your money There is no checkout tool, no plan-change tool, and no way for an agent to add a payment method or top up an account. Every purchase on Floot is a page you open and a button you click. Your assistant's work leads to an extra charge only where you agreed to it on floot.com first: automatic [Action Boosts](https://floot.com/docs/integrations/build-actions#action-boost) on Power, app builds past the monthly allowance, and [branches past the included ones](https://floot.com/docs/branches/limits-and-cost). The one tool that spends Floot credits is `generate_image`. (Testing your app's own AI features in the preview spends credits too, as using them in the published app does.) Those credits come off the project owner's account rather than whoever is driving the chat — so building in someone else's project spends their credits, not yours. Every other tool is metered in [build actions](https://floot.com/docs/integrations/build-actions), which come with your plan. ## Projects other people shared with you Your assistant can read and edit any project you own. A project another Floot user shared with you needs a paid Floot plan on **your own** account before the connector will open it, for reading or writing — any paid plan does, not one specific tier. A public project's code stays readable by anyone, but its database, logs and stored files are open only to its owner and collaborators, and write access never rides on a project being public. ## Limit what an assistant can do By default, every assistant you connect can do everything your Floot account can. To limit one, open your [account page](https://floot.com/dashboard/account) and, under **Connected agents**, click the access setting on that assistant's row. It opens **What … may do**, with the assistant's name (for example **What Claude may do**), where you choose one of three levels: - **Full access** — Everything your account can do, including publishing and app builds. This is the default, and what every connection had before limits existed. - **Edit, no publishing** — The assistant can change code and data, but it cannot publish, update or unpublish an app, or start an app-store build. You publish from the **Publish** button in the project's editor on floot.com. Database changes still reach the live app straight away. - **Read only** — The assistant can read files, logs and data, but cannot change anything. Running tests or code counts as a change, because that code can write. Under **Projects** you can also limit the assistant to one project. That includes the project's branches. The assistant cannot open other projects, and it cannot do anything that works across your whole account: listing or searching your projects, or creating a new one. Give it the project's link or id when you start, since it cannot look the project up. ChatGPT features that only search and fetch, such as deep research, cannot use an assistant limited to one project. You can also limit it to one **isolated branch** of a project, so it never reaches the main project. The list shows each project's isolated branches under it; make one first in the editor with **New branch** › **Branch type** › **Isolated** (see [Isolated branches](https://floot.com/docs/branches/isolated-branches)). The assistant can then work on that branch and on branches it makes from it, with the branch's own database and test keys. It cannot open or change the main project or other branches, publish, merge into the main project, or connect the branch to another app, whatever its access. When its work is ready, you review it and merge the branch into the main project yourself. - **Floot checks the limit on every request**, so it holds whatever the assistant is asked to do. A refused request changes nothing and does not use any of your [build actions](https://floot.com/docs/integrations/build-actions). The assistant is told what you set, and that only you can change it. - **Changes apply within a minute.** The setting stays if you disconnect the assistant and connect it again. - **One setting per assistant.** It covers every connection that assistant has to your account, on every device and login. - **Each Floot API key has its own setting.** A key shows as a row of its own under **Connected agents**, marked **API key** with the start of the key. Its access level, and its project or isolated-branch limit, apply to that key alone, so two keys on your account can be limited differently: for example one **Read only** and another limited to one isolated branch. A new key starts with **Full access**. - **A limited assistant shows a shield** next to its row under **Connected agents**. - **Only connected assistants are limited.** Floot's own chat in the editor, and what you do yourself on floot.com, are not affected. Some ways to use it: let a teammate's assistant or a second AI read your code with **Read only**; let your assistant build while you keep the publish step with **Edit, no publishing**; keep an assistant to one app with a one-project limit. ## Let your app edit its own code Your app can change its own Floot project through the same tools your assistant uses. Build an agent into the app that edits its pages and endpoints, checks its work and publishes the result: for example an admin chat where you ask for a new report page, or a bot that fixes the text it is told about. The app can change itself and no other project. **How to set it up:** from Claude, ChatGPT or another assistant connected to Floot, ask for it (e.g. "let this app edit its own code, and add an admin chat that can change its pages"). Your assistant adds a **Self-edit** integration to the project, which gives the app's backend two values, `FLOOT_PROJECT_TOKEN` and `FLOOT_PROJECT_ID`, and writes the code that uses them. It is set up only from a connected assistant: there is no button for it on floot.com, and Floot's own chat in the editor cannot add it. - **This project only.** The app's key works on its own project and on branches it makes itself, and refuses any other project or branch. It cannot list or open your other projects, create a project, add integrations, ask you for keys or files, or unpublish the app. At the **Direct** level it can read and change its code and database, run tests, publish, and create images. - **You choose how much it may do.** On the **Self-edit** row under **Services → Integrations**, pick its level: **Direct** (it changes main's code and database and publishes), **Branch**, the default (it reads main and writes its database; code changes go to a branch you review and merge), **Isolated** (it reads main's code only and works on isolated branches without your data or keys) or **Off**. The app can't change its own level. - **Easy to undo.** Before the app's first change after 30 minutes without one, Floot saves a checkpoint named **Before self-edit**, so you can go back from the **Checkpoints** panel. - **Copies get their own key.** A duplicate, a project made from it as a template, or a copy you send to someone gets a new key that works only on the copy. The original's key never goes with it. - **It counts like any assistant.** The app's calls use the [build actions](https://floot.com/docs/integrations/build-actions) of the account that created the project, and `generate_image` uses its Floot credits. An app that runs out stops changing itself until the next day. - **When the key arrives.** The preview has it as soon as it is set up; your published app gets it at its next publish. - **Try it on a branch first.** You can add Self-edit to an ordinary branch while main has none: ask your assistant to add it on the branch. Until main has Self-edit, the branch's key works at most at **Branch**: it reads the branch's code, data and logs and writes the branch's database, but can't change code, publish, merge or make branches. Merging the branch gives main a new key of its own, at **Branch**. - **Removing it from main turns off every branch's.** If main had Self-edit and you delete it, the Self-edit key on each of its branches stops working too, whatever its level. The level picker on a branch says when that is why. - **Not on an isolated branch.** An isolated branch cannot have Self-edit, because its key acts as the project's owner. If the app needs it, the owner adds it on main. Without Self-edit the app has no built-in value with its own project id (`FLOOT_PROJECT_ID` comes only with Self-edit), so if code on the isolated branch needs the branch's id, save it as one of the branch's keys. The id is in the branch's editor address bar, after `/project/`. **To turn it off,** delete the **Self-edit** integration from the project under **Services → Integrations**, or set its level to **Off**. Deleted, the key stops working straight away. Setting it up again makes a new key; the old one never works again. > **Whoever can talk to the app's agent can change the app:** If people other than you can use that agent (a chat in a public app, a bot that reads emails or messages), make the app ask you before it writes or publishes anything, and treat what people send it as text, not instructions. Keep the key on the server: never send it to the browser, store it in the database or a file, or write it to logs. Your assistant follows these rules when it writes the code. ## How your assistant learns Floot's conventions Floot ships its own documentation to your assistant through the `get_guides` tool — an overview, design guidance, a first-build walkthrough, backend primitives, publishing, resources, and more. If a build starts drifting away from how Floot works, telling your assistant to read the relevant guide is usually faster than explaining the conventions yourself. --- # Build actions > How Floot meters connector usage: one build action per tool call, what is never counted, and the daily limit per plan. Source: https://floot.com/docs/integrations/build-actions Building through the connector does not spend Floot credits — the thinking is paid for by your Claude, ChatGPT, or other AI subscription. What Floot meters is the work its own infrastructure does, and the unit is a build action. Generating images is the one thing that also spends credits, covered below. ## What counts as one build action One tool call your assistant makes to Floot is one build action. Reads count the same as writes: listing files, reading a file, running a typecheck, writing code, running SQL, publishing. Any call keeps your project's build machine awake, which is what the meter is really tracking. Two things never count: **failed calls** and **cancelled calls**. A build that goes wrong and retries is not charged for the failure. ## Tools that are never metered Floot exempts 11 tools, so an account that has hit its limit can still check on work in progress, stop it, take an app offline, and open its projects. Floot's own limit message names the 6 your assistant calls: ``` Status polling (get_job_status, get_publish_status), list_projects, get_preview_url, cancel_request, and unpublish_app are not metered and still work; other tools are paused until the reset. Failed and cancelled calls are never counted. ``` The other 5 draw Floot's own views inside ChatGPT and Claude: the project list, the app preview, and the card that shows the limit and how to get more. Everything else is metered, including orientation reads like `get_guides` and `list_files`. Any tool Floot adds later is metered unless it is exempted too. ## How many you get | Plan | Build actions per day | | --- | --- | | **Free** — $0 | 100 | | **Pro** — $25 a month | 1,000 | | **Power** — $100 a month | 5,000 | Your day is 24 hours starting at a fixed hour set for your account. New accounts get the hour they signed up, so resets are spread across accounts rather than all landing at one moment. It is not midnight where you are, and it does not follow daylight saving. Plan & usage shows your reset time in your local time, and every limit message from your assistant states the exact instant. The daily limit is the only one. It covers your whole account: all your projects and all your connected assistants share it, and you can build in several projects at the same time. There is no weekly cap on any plan, so every day starts with the full allowance whatever you used the day before. Unused actions do not carry over. The daily number is a cap, not a balance. Nothing is banked, and nothing is taken away at the reset: you start the next day with the full number again. ### When you upgrade partway through a day The higher limit applies within about five minutes of the upgrade, but the actions you already used that day still count against it. If you had used 100 on Free, Pro leaves you 900 until your next reset, and the full 1,000 every day after. Only your Floot plan changes the limit. Buying credits does not, and neither does a paid Claude or ChatGPT subscription. If you pay for Floot and are still held at 100 a day, either you are on an older credit plan (below), or your assistant is connected to a different Floot account from the one you paid on — see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## Build actions are not credits Build actions and credits are separate meters, and they do not convert into each other. - **Build actions** — What your AI assistant spends when it calls Floot through the connector. They refill daily and are the meter for connector work. - **Credits** — What image generation spends, and what the AI features inside your own published app spend when people use it. Paid plans include a monthly credit grant. One connector tool crosses over. `generate_image` writes AI images into your project and spends credits as well as a build action. Those credits are billed to the **project owner's** account, not to the account driving the chat — so generating images in someone else's project spends their credits. The AI features inside a published app bill the same way: off the app owner's account, whoever is using the app. ## If you are on an older Floot plan Plans on the older credit ladder buy credits, not build actions, so over the connector they are metered at the free limit of 100 a day. That catches people out — you are paying, and still getting the free caps. Switching to Pro or Power moves you onto action-based limits. The switch page at `https://floot.com/dashboard/billing/switch` shows exactly what switching would mean for your account before you commit. What to know before you open it: - **The switch is one-way.** Older plans are closed once you leave one. - **What you pay depends on the price difference.** Same price: nothing today. New plan costs more: you pay the difference today. New plan costs less: your billing changes at your next renewal. - **The new build-action limits apply immediately** in all three cases. - **Your credits are kept.** When the switch takes effect today, unused credits from the current month carry over, up to 100,000, as a one-time bonus that is valid for 60 days. When the new plan costs less, you keep your current credits until renewal instead. Credits already in your balance keep their own expiry dates. - **Nothing else moves.** Hosting balance, published apps, domains, and data are untouched. ## When you hit the limit Two things happen at the same time. - Your assistant gets a refusal instead of the tool result. It names the limit you hit, says when it resets, says what used the day's actions (which AI app and which project, between which times, and how many file reads, edits and checks), and carries a plain Floot URL. The URL is deliberately plain text rather than a link — links get flattened when a reply is copied into an email, and users were left with nothing to click. - If you have the project open in a browser, Floot surfaces a prompt there too, so the message does not depend on your assistant relaying it. Which page the URL opens depends on your plan: on Free, the upgrade page; on Pro, a move to Power or an Action Boost; on Power, an Action Boost; on an older credit plan, the switch page. The URL is tied to the Floot account your assistant is connected as. If you open it while signed in to a different account, Floot shows you both accounts before any checkout, so the upgrade lands where your assistant will see it. The unmetered tools keep working, so your assistant can still poll a running build, cancel a pending request, and take an app offline while you are capped. ### Action Boost On Pro and Power, the limit message also offers an Action Boost: a one-off $5 pack (plus any tax) of 5,000 extra build actions. It lasts for the rest of the day you buy it and all of the next day — your account's days, as above — and packs stack, oldest used first. A boost is a single charge and never renews. It takes effect as soon as the payment goes through. On Power you can also turn on **Buy Action Boosts automatically** (on the Action Boost page, which Plan & usage links to under Building actions). When the day's actions run out, Floot buys a boost with your saved card and the call goes through, so an agent working on its own keeps going. Each one is the same $5 pack, with tax added where it applies and its own invoice and receipt. There is no limit on how many are bought; turn it off anytime. If a payment is refused you get an email, and after 3 refusals in a row it turns itself off. Only you can turn it on: your AI assistant can't. Your current plan and its allowances are on the [plan page](https://floot.com/dashboard/plan-usage). --- # Testing your app > How your project's tests run, what they can reach, and how to give code under test dummy secrets, fake responses and results from Floot services. Source: https://floot.com/docs/integrations/testing-your-app Your assistant can write automated tests for your project and run them. Tests are [Jasmine](https://jasmine.github.io) spec files in your project's `helpers/` folder, and they can cover both screens and backend endpoints. This page is for when you or your assistant write those tests and something will not run. ## Where tests live Spec files live in `helpers/` and end in `.spec.tsx`. They are usually named after the helper they check (`helpers/pricing.tsx` is tested by `helpers/pricing.spec.tsx`), and a spec can import any file of the project, a component or an endpoint included. Inside it, `describe`, `it`, `expect`, `beforeEach`, `spyOn` and the rest of Jasmine are available without an import, and components are rendered with React Testing Library (`@testing-library/react`). ## Two places tests run - **When your assistant runs them** — The `run_tests` tool runs the specs on your project's VM, in Node with a simulated browser page. Screens, helpers and endpoints can all be tested here: an endpoint is a function that takes a `Request` and returns a `Response`, so a test can import it and call it directly. - **In the Floot editor** — When a spec file is open in the editor's code view, the editor runs that spec in your browser tab, for screens and helpers only. Other spec files do not run there. A spec that imports an endpoint, reads `process.env` or uses a Node module is skipped there, not failed. Run it with `run_tests` instead. ## What happens when a spec is saved - **No tests run on their own.** Saving a spec file only stores it, unless that spec is open in the editor's code view: that browser tab then runs it again. Your assistant runs specs with `run_tests`, and passing `paths` runs only the files it names. A run tests the files as they were saved when it started. - **That file is type-checked.** Floot type-checks the saved file and the files that import it (a spec usually has none). Your assistant sees any type errors in the reply to that save or its next call. - **The preview's backend is not redeployed.** A spec is never part of your app's backend, so saving one leaves the running preview alone. Saving an endpoint, a helper or a page's `.prefetch.ts` file through your assistant does redeploy it. - **A project-wide `typecheck` skips specs.** Without `paths`, it checks only the code your app ships, so spec, example and design files are left out, and the result says how many it skipped. To type-check a spec, your assistant names it in `paths`. ## What a test cannot reach - **The network.** Any `fetch` throws `No network requests allowed in tests.` Replace it with a fake answer: `spyOn(globalThis, "fetch").and.resolveTo(new Response(JSON.stringify({ ok: true })))`. - **Your secrets.** No stored key or secret is available, so `process.env.MY_KEY` is undefined, and Floot does not fill in stand-in values: code that checks whether a key is set must behave the same in a test as in your app. See **Dummy secrets** below. - **Your database.** Tests have no database connection: `FLOOT_DATABASE_URL` and the other connection values of your databases are not set. Test the logic around a query, or pass the query function in so a test can replace it. To check that your code really writes and reads your database, see **Running code against your database** below. - **Floot's built-in services.** Storage, email, AI, jobs, realtime and the other `@floot/` modules never run in a test. Each of their functions is replaced by a stand-in that fails until the test says what it returns. See **Floot services in tests** below. Each test has 2 seconds and each spec file 15 seconds. One `run_tests` call runs up to 20 spec files; your assistant can name the files to run the rest. Spec files with `use` in their name (tests of React hooks) run only when named. ## Dummy secrets Code that reads a secret when it is first loaded, such as `const SECRET = process.env.JWT_SECRET`, needs a value before it is imported. Put the dummy values in a small helper and import it first: imports run in the order they are written, so the values are in place when the next import loads. ```ts // helpers/testEnv.tsx: imported only by spec files process.env.JWT_SECRET = "test-secret"; ``` ```ts // helpers/profile.spec.tsx import "./testEnv"; // first, before anything that reads the secret import { handle } from "../endpoints/user/profile_GET"; describe("profile_GET", () => { it("refuses a request without a session", async () => { const res = await handle(new Request("http://localhost/_api/user/profile")); expect(res.status).toBe(401); }); }); ``` > **Never put a real key in a test:** Spec files are part of your project's code. Use made-up values like `test-secret`, never a key you stored for the live app. A value can also be set inside one test file only: assign it in `beforeAll`, then load the module there with `await import("../endpoints/user/profile_GET")`. `await` works inside `beforeAll` and `it`, not at the top level of a spec file. Values a spec file sets are cleared before the next spec file runs. ## Replacing functions `spyOn` replaces a method on an object: `globalThis.fetch`, `Date.now`, `console.error`, or a method on an object your own code exports. It cannot replace a function another file exports on its own, as in `spyOn(auth, "verifyToken")` after `import * as auth from "./auth"`; that fails with `verifyToken is not declared writable or has no setter`. Write the code under test so it receives what it calls, as an argument or an object with default values, and pass a fake in the test. ```ts // helpers/sendInvite.tsx import { notify } from "./notify"; export async function sendInvite(email: string, deps = { notify }) { await deps.notify(email); } // helpers/sendInvite.spec.tsx it("notifies the invitee", async () => { const notify = jasmine.createSpy("notify").and.resolveTo(undefined); await sendInvite("a@example.com", { notify }); expect(notify).toHaveBeenCalledWith("a@example.com"); }); ``` ## Floot services in tests When a test runs code that calls `sendEmail`, `queueTask`, `flootAi.chat` or any other function of an `@floot/` module, that call reaches a Jasmine spy, not the service, so nothing is sent, stored or charged. Until the test gives it a result, the spy fails with `sendEmail() is not available in tests`. Import the same function in the spec and set its result there; the code under test sees it, and you can check how it was called. ```ts // helpers/invite.spec.tsx import { sendEmail } from "@floot/email"; import { sendInvite } from "./invite"; describe("sendInvite", () => { it("emails the invitee", async () => { (sendEmail as jasmine.Spy).and.resolveTo({ ok: true, messageId: "test" }); await sendInvite("a@example.com"); expect(sendEmail).toHaveBeenCalledWith( jasmine.objectContaining({ to: "a@example.com" }), ); }); }); ``` - Use `.and.resolveTo(…)` for a function that returns a promise, `.and.returnValue(…)` for one that does not, `.and.rejectWith(…)` or `.and.throwError(…)` to test a failure, and `.and.callFake(…)` to decide per call. - Every spy goes back to failing, with no recorded calls, before each test, so set results in the test or in `beforeEach`. - Error classes such as `AppCallError` or `FlootAiRateLimitError` are real classes, so code that checks `instanceof` works. - Constants that only the live service knows, such as `FIXED_IP_ADDRESSES`, fail when read. Text constants such as the Google and Microsoft scope names hold a placeholder. - The Floot editor's own checker still skips these specs; they run when your assistant uses `run_tests`. ## What carries over between spec files Each spec file loads its own fresh copy of your project's files, so a value one file changes in a module of yours does not reach the next file. npm packages are loaded once per run and shared, and tests in a file always run in the order they are written. ## Running code against your database A test never reaches your real database. To run your own code with the database and secrets your app uses, have your assistant run it inside the app instead of in a test: - **In your published app** — Your assistant exports a function from `helpers/flootAppExports.tsx` that calls your code (for example: save a record, read it back, return both), publishes the app, and runs it with the `call_app_function` tool. It runs in your published app (a private publish works too) with its database and secrets, and returns what the function returned. Only people who can edit the project can run it this way; it is not a public web address. See [Connected apps](https://floot.com/docs/projects/connected-apps). - **In the preview, before you publish** — Your assistant puts the code in a backend endpoint and calls that endpoint through the preview from `run_code_in_vm`, so the endpoint runs with the preview's database and secrets. An endpoint under `endpoints/__dev/` works only in the preview and is never published (see [Pages and endpoints that stay in the preview](https://floot.com/docs/projects/publishing#pages-and-endpoints-that-stay-in-the-preview)); any other endpoint is published with your app, so it needs the same sign-in check as your other endpoints, or must be removed before you publish. ### What a VM snippet can reach `run_code_in_vm` runs a Node.js snippet on your project's build machine, outside your app. The snippet can import your project's npm packages and reach the internet, but it does not have your app's files, environment variables or secrets, and it cannot import the `@floot/` modules: Floot builds those, with your project's credentials, into your app's backend, and only code running there can use them. So a snippet cannot import one of your helpers, read `process.env.MY_KEY` or call `flootAi.chat` itself. What it can do is call your app's backend, where all of that works. `get_preview_url` returns an `apiBaseUrl`, the address of your preview's backend. A snippet's `fetch` to that address, or to a path starting with `/_api/`, carries the preview's access token, so your preview's backend answers it as it answers the preview in your editor. That is not a sign-in to your app's own login: an endpoint that requires a signed-in user of your app refuses the snippet too. If you have just changed the code, the snippet waits for the preview's backend to update before it runs. A snippet stops after 1 minute, or up to 2 if your assistant asks for more, and it may call one endpoint at most 20 times and all of them 150 times in 5 seconds: for more, have the endpoint do the work in one call. ### Example: trying Floot AI before you publish To check a [Floot AI](https://floot.com/docs/integrations/floot-ai) prompt without publishing, put the call in a dev-only endpoint and call it from a snippet. The call spends your credits, as any Floot AI call from the preview does. ```ts // endpoints/__dev/try-summary_POST.ts: preview only, never published import { flootAi } from "@floot/ai"; export async function handle(request: Request) { const { text } = await request.json(); const result = await flootAi.chat({ model: "gpt-6-luna", input: `Summarize in one sentence: ${text}`, }); return Response.json(result); } ``` ```ts // the run_code_in_vm snippet const res = await fetch("/_api/__dev/try-summary", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ text: "Floot hosts full-stack apps." }), }); console.log(res.status, await res.text()); ``` > **This is your real data:** The preview and the published app use the same database, so what the code writes stays there and your app's users can see it. To keep test records out of it, do this in a copy made with **Duplicate schema only**, whose database has your tables and no rows (see [Duplicate a project](https://floot.com/docs/projects/duplicate-a-project)), or have the code delete what it wrote. --- # Examples: every state of your app > See the loading, empty, error and edge-case states of a page side by side while you build, without breaking anything to get there. Source: https://floot.com/docs/getting-started/examples Your app is usually tested on the happy path: the data loads, the upload works, the screen is a laptop. Examples show you everything around it. Your assistant writes a set of example screens for a page (loading, empty, failed, an oversized upload, a long list) and you switch between them in the preview without having to make any of them happen for real. ![A page's loading, loaded, empty and failed states as separate example screens in the Floot preview](https://floot.com/images/docs/docs-examples-page-states-poster.webp) ## Create examples for a page 1. **Ask your assistant** In Claude, ChatGPT or any connected assistant, ask for them in plain words: ``` Create examples for the Home page. ``` Or start from the preview: open the page picker in the middle of the top bar, find the page under **Pages**, click its **⋮** menu and choose **Add example**. Floot copies a prompt for you to paste into your assistant. The menu item is there only for pages that have no examples yet. ![The page picker with a page's menu open, showing Live and Add example](https://floot.com/_cdn/static/197c077b-e6ab-4b29-95f0-238fa81f28d3-docs-examples-add-example-menu.webp) 2. **Switch to Example** Once a page has examples, the page picker gains a **Live** / **Example** switch. Flip it to Example to see the screens instead of the running app, and back to Live to return. Following a link or a redirect inside the app also takes that page back to Live. 3. **Pick a screen** The sidebar on the left lists every screen with a thumbnail. Click one to open it full size. ![The screens sidebar listing a page's example screens as cards](https://floot.com/images/docs/docs-examples-screens-sidebar-poster.webp) 4. **Change one** The pencil on a screen card copies the start of a prompt about that screen, such as edit or remove the "Empty" example of the home page. Paste it into your assistant and finish the sentence. The **+** at the top of the sidebar does the same for a new screen. You can also just describe the change to your assistant. ![Editing an example screen from the pencil on its card](https://floot.com/images/docs/docs-examples-edit-screen-poster.webp) ## What a screen is An example screen is your real page, opened at a route, with staged answers in place of your backend. Every request the page makes is answered from the screen's own data, so you can look at a failed save or an empty account without touching your database or your users. A screen can also hold a request open forever (to show the loading state), answer with an error status (so the page runs its real error handling), or answer after a delay. > **Examples never reach your users:** Example files sit beside your pages and components (`pages/dashboard.__example.tsx`, `components/Button.example.tsx`) and are for development only. They are left out of the published app and the code download. Components get examples too: ask for examples of a component, or jump to it from the page picker's **Components** tab (`Cmd + K`). A component with none shows a **Copy prompt** button. ## Prompts worth trying ### Find the states you did not think of ``` Show me the different states this page could have when real users are using it. ``` You do not need to list them yourself. Your assistant works out what the page can go through — waiting, nothing to show, a request that fails — and turns each one into a screen. ### Plan for unexpected input A file that is too large, the wrong type, a name with 200 characters. Ask for the screen, look at it, then ask for the fix: ![An upload dialog showing a generic error for an oversized file](https://floot.com/_cdn/static/c047b60a-f20b-4a3e-9ff2-77ea5a28559e-docs-examples-upload-error-before.webp) *Before: the oversized-file error, as an example screen.* ``` Make this error clearer. Tell users the maximum file size and what they can do next. ``` ![The same dialog explaining the 5 MB limit and what to do next](https://floot.com/_cdn/static/ac309970-2df1-49de-8592-083a3e522fb5-docs-examples-upload-error-after.webp) *After: the error names the limit and the next step.* ### Check every state on a phone The device picker at the right of the tab row works on example screens too, so you can open a failed state on iPhone, Pixel or iPad and see whether the message still fits. ![An error state on a phone-sized screen with the message cut off](https://floot.com/_cdn/static/5d0ba96e-a6d6-4712-9a0d-aad645a1c5d0-docs-examples-phone-before.webp) *An error that fit on a laptop, cut off on a phone.* ``` Make all pages and their different states responsive across mobile, tablet, laptop, and desktop. ``` ![The same error state on a phone after the fix](https://floot.com/_cdn/static/1fea0dd7-c9eb-4b31-b517-36f50ed9d0f9-docs-examples-phone-after.webp) *The same state after the fix.* ### Map the whole journey ``` Create a simple user journey diagram for this Floot project. ``` Examples can hold a diagram of states and the steps between them, so you see where a user can fail, retry and recover, not just each screen on its own. ![A user journey diagram with the main path and the failure branches](https://floot.com/images/docs/docs-examples-user-journey-poster.webp) ### Line up the visual pieces ``` Show me the design system already being used across this product. ``` Your assistant gathers the colors, type, buttons, form fields and their states into one example document, which makes a button that does not match the others easy to spot. ![An example document with the product's colors, typography and components in one place](https://floot.com/images/docs/docs-examples-design-system-poster.webp) ## Examples and the design canvas Examples show the states of pages you have already built. To compare designs before you build anything — six directions for a home page, five font pairings, two ways through a new feature — use the [design canvas](https://floot.com/docs/getting-started/design-canvas). A common order is: explore on a canvas, build the one you pick, then ask for examples of the new page to check its loading, empty and error states. ## Reviewing with someone else Examples are files in the project, so collaborators see the same screens: "open the Failed upload example" replaces "try uploading a really big file and see what happens". See [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects) for the ways to give someone access. --- # Design canvas: compare designs before you build > Put several versions of a page, a font pairing or a whole user journey side by side, pick the one you like, then have your assistant build it into the app. Source: https://floot.com/docs/getting-started/design-canvas "Make it look good" is hard to judge. "Here are six directions, which one fits?" is easy. A canvas is a free space outside your pages where your assistant puts designs side by side, each in its own frame, so you can compare them, choose one and only then build it. ![Six contrasting designs for a store home page side by side on one canvas](https://floot.com/_cdn/blog-images/ee297328d2d2cb8f176e1afe3a755cd111e261f0/w1600.webp) *Six directions for a store's home page on one canvas.* > **Canvases never reach your users:** A canvas is a development-only file (`designs/.tsx`). Nothing on it is published until you ask your assistant to build it into a page or component. The frames are real React, so buttons, tabs and forms in them work. ## Start a canvas 1. **Ask your assistant** In Claude, ChatGPT or any connected assistant, ask for options on a canvas and say how different they should be: ``` I want to build an online store for my smart trekking poles. Use the Floot canvas to show me six options first. Make them completely different in style so I can compare clearly different approaches before deciding which one to build. ``` Starting a new project? On the Floot dashboard, switch the build box from **Build** to **Design** before you hand your idea to your assistant, and it starts on a canvas instead of a page. 2. **Or open one yourself** Open the page picker in the middle of the editor's top bar and choose the **Canvas** tab. **Explore canvas** opens a worked example the first time; **New canvas** starts an empty one. Each canvas's **⋮** menu renames, duplicates or deletes it. 3. **Look around** Move with a two-finger scroll, and zoom with a pinch or `Cmd` + scroll (`Ctrl` on Windows). Drag a frame by its title to rearrange. The rail on the left lists every frame, grouped into sections, and lets you bookmark a view to come back to. ## Choose where new designs go **New designs go to**, above the canvas, decides where your assistant may put designs: - **This canvas** — Every new design goes on the canvas you have open, even if your prompt asks for a new canvas. Use it to keep a round of work in one place. - **Any canvas** — Your assistant picks an existing canvas or makes a new one. Choose this when you ask for a brand-new canvas, for example to explore fonts apart from your first six directions. ![The New designs go to menu with This canvas and Any canvas](https://floot.com/_cdn/blog-images/a34337a61da4fc29853a9de3696539b770eba4a8/w1600.webp) ## Change one thing at a time A canvas is most useful when every frame varies one thing. Once the layout is right, compare fonts without the rest of the page moving: ``` Create a new canvas with six frames of my home page hero: the current one, and five with different font pairings. Don't change the layout, colors, images, copy or spacing — only the typography. Label each frame with its fonts and recommend one, but don't apply it to the real site yet. ``` ![The same hero section in six frames, each with a different font pairing](https://floot.com/_cdn/blog-images/1cc33f60c78ce2a2026827f79a0c6d4a5e0a74a4/w1600.webp) *One baseline and five font pairings, everything else unchanged.* The same works for colors, a card layout, a pricing table or the wording of an error: keep everything else fixed and the differences are easy to see. ## Design a whole journey Frames can be the steps of a flow, not just alternatives. Ask for the journey from the way in to the result, and for the paths you are unsure between: ``` Create a new canvas for a "Find my pole" recommendation feature. Show two paths: uploading a hiking data file, and a three-question quiz. Both should end on a recommended product with buttons to view it or add it to the cart. Include mobile layouts. Don't change the real site yet. ``` ![The upload path as a row of frames: choose a file, preview the data, see a match](https://floot.com/_cdn/blog-images/411797d0633d330eeb78509573ba7e3ba6f2a61d/w1600.webp) *One path as a sequence of frames.* ![The quiz path as a row of frames](https://floot.com/_cdn/blog-images/02e2789e85b2796765737fd041d771c6cd23ba92/w1600.webp) *The other path beside it, for comparison.* ![Phone-sized frames of both paths and the shared result](https://floot.com/_cdn/blog-images/f98643711afeede7c9e57732d34167313ff5dff3/w1600.webp) *The same journey at phone size.* ## Use and refine a frame Double-click a frame to click, type and scroll inside it like the real page. `Esc` goes back to selecting frames. To fix one part of a frame, turn on **Select** in the preview toolbar while you are interacting with it and click the element. Floot copies the selection; paste it into your assistant and say what to change, for example "make this heading easier to read, keep the rest of the frame unchanged". ![A heading selected inside a canvas frame, with the Selection copied message](https://floot.com/_cdn/blog-images/b620bbef0a597a015d29d9205ec50071ead5b517/w1600.webp) *Select works inside a frame, just as it does on a page.* ![The same frame with a plainer, more readable heading](https://floot.com/_cdn/blog-images/707120593d96707fb0b5a25abfe56709f631f1eb/w1600.webp) *The same frame after the change.* ## Build the one you pick Click a frame to select it (`Shift`-click or drag a box for several), then click **Build** in the bar that appears. Floot copies a prompt naming those frames for you to paste into your assistant, and your assistant also sees the selection when it checks your Floot context. You can just say it too: ``` Build the Find my pole journey from the canvas into my store. Add Find my pole as a fourth item in the navigation without changing the others, and connect the result to the real products, cart and checkout. ``` ![The Find my pole page live in the store, with its two tabs](https://floot.com/_cdn/blog-images/4f7e12cb2811b29218c1f8e88c137411bd649cf6/w1600.webp) *The journey from the canvas, built into the real store.* Once it is built, ask for [examples](https://floot.com/docs/getting-started/examples) of the new page to check its loading, empty and error states. ## Tips - Ask for options that are "completely different" when you are exploring, and for "only change X" when you are refining. Most weak canvases come from asking for both at once. - Say "don't change the real site yet" while you are exploring, so your assistant puts designs on the canvas and leaves your pages alone. - Ask for your assistant's recommendation and its reasons in each frame's label. It is easier to disagree with a reason than with a picture. - Canvases are files in the project, so collaborators see the same frames. See [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects). --- # Connector troubleshooting > Fixes for the things that go wrong connecting Floot to Claude, ChatGPT, or another MCP client — and the behaviour that only looks broken. Source: https://floot.com/docs/integrations/connector-troubleshooting Most connector problems are one of a short list of known things, and several of them are working as intended. Read down this page before assuming something is broken. ## Claude will not let me add the connector Any Claude plan can add Floot, including Claude Free. The free plan is fine for trying the connector out; a paid Claude plan is recommended for real builds. If nothing happens on a Team or Enterprise workspace, see the next section. ## On Claude Team or Enterprise, nothing happens An organization Owner has to enable Floot once for the whole organization, from the Claude connector directory or under **Organization settings → Connectors**. Each member then clicks **Connect** for themselves. A member cannot self-install before the Owner has enabled it. ## ChatGPT asks permission before every action That is ChatGPT's default for connectors. A Floot build makes many tool calls, so the approval prompt reappears every few seconds and the build reads as stalled. Open [Floot's app settings in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af#settings/Plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af/permissions) and choose **Allow all actions**. You can change it back at any time. ## My assistant says a Floot call was blocked, declined, or cancelled Messages such as `user cancelled MCP tool call`, `No approval received`, or `this tool requires approval, but the user declined` are about your AI client's confirmation step. The card asking you to approve the action was dismissed, timed out, or never answered, so the request stopped there and did not reach Floot. Nothing was saved or changed. A preview that looks the same afterwards is showing the project as it really is. Floot itself asks you only before a few actions that cannot simply be undone or that cost money, such as deleting a branch, taking an app offline, or turning off payments or shipping, and only in assistants that can show its confirmation form (never ChatGPT or Codex). Declining or closing that form means the action is not done. When Floot refuses something, the refusal comes back as the tool's result and says why — a daily limit with its reset time, a missing project, a limit you set for that assistant, an error from your code. 1. **Run the step again and approve it** Ask your assistant to repeat the step, and choose **Allow** when the card appears. If there is an **Always allow** option, it saves you from being asked again for that tool. 2. **Stop the prompts for the whole build** In ChatGPT, open [Floot's app settings](https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af#settings/Plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af/permissions) and choose **Allow all actions**. In Claude, open Floot under **Settings → Connectors** and set its tools to **Always allow**, or work in Cowork with approvals skipped — see [Build from Claude & ChatGPT](https://floot.com/docs/integrations/build-from-claude-and-chatgpt). 3. **If one tool keeps failing while the others work** It was probably declined once in that chat, which some clients remember for the rest of the conversation, or it is switched off in the connector's per-tool settings. Switch it back on there and start a new chat. 4. **If writes are still refused** Disconnect Floot in your client, connect it again, and start a new chat. Your projects are not affected by reconnecting. ## My assistant says the account owner set what it may do That refusal comes from Floot: the assistant has a limit on your [account page](https://floot.com/dashboard/account). It may be read only, unable to publish, or limited to one project or one branch. Nothing was changed. To change the limit, open **Connected agents** on the account page and click the assistant's access setting. A limited assistant has a shield next to its row. See [Limit what an assistant can do](https://floot.com/docs/integrations/what-your-ai-can-do#limit-what-an-assistant-can-do). ## "This tool call was blocked by OpenAI's safety checks" ChatGPT shows this when its own safety check stops a tool call before sending it. The call never reached Floot: nothing ran, nothing was changed, and nothing is restricted on your Floot account or your project. The check runs inside ChatGPT, so Floot cannot see it or switch it off, and it can stop a request one time and let the same request through the next. - **Try again.** If the same step is stopped twice, start a new chat and ask for it there. - **For database work, ask for the database tools.** Tell your assistant to use `query_database` for reads and `execute_sql` for changes, instead of running a script. Most blocked calls are SQL sent through a script. - **Do the one blocked step in Claude.** [Connect Claude](https://floot.com/docs/integrations/build-from-claude-and-chatgpt) to the same Floot account (its free plan works), ask it to do only the step ChatGPT blocked, and carry on in ChatGPT afterwards. The project is the same whichever assistant opens it. - **To have OpenAI look at it,** report it to OpenAI's support with a link to the blocked chat. The check is theirs, so Floot cannot change it. ## ChatGPT only searches — it will not edit anything In a regular ChatGPT chat, the Floot app from the ChatGPT app directory can create, edit, and publish your apps. Some ChatGPT features, such as deep research, can use only two tools from any connector, named `search` and `fetch`. Floot ships both, but those two only search and read your projects. It is not a Floot restriction — Floot registers the same full tool set for every client, and which tools ChatGPT puts in front of the model is decided on ChatGPT's side. If ChatGPT only searches, start a new regular chat (not deep research), add Floot from the **+** menu or start your message with **@Floot**, and ask it to make the change. If it still will not edit, use another client — see [Connect any MCP client](https://floot.com/docs/integrations/other-mcp-clients). ## My assistant does not seem to know about Floot Enabling a connector is usually per chat. In Claude, mention **with Floot** in your message. In ChatGPT, add Floot from the **+** or tools menu, or start your message with **@Floot**. In other clients, switch Floot's tools on for the chat. If it still does not appear, check the connector is enabled in the client's own settings and start a new chat. ## The server URL will not open in my browser It is not meant to. `https://mcp.floot.com/mcp` answers MCP requests, not browser requests. It goes in your client's MCP server settings — see [Connect any MCP client](https://floot.com/docs/integrations/other-mcp-clients). ## My client is asking for an API key or bearer token Leave those fields empty. Floot authenticates with OAuth: your client opens a Floot page in your browser and you approve the connection there. Floot gives you no token or key to paste. Floot also requires PKCE with `S256`, so a client that offers only `plain` or no PKCE cannot connect at all. ## The Floot sign-in page does not take my password Floot accounts have no password, so there is none to type. On the sign-in page your client opens, use Google, GitHub, Microsoft, or your email address: Floot emails you a 6-digit code to type into that same page, in the same browser (there is no sign-in link in the email). Use the same email address your projects are under: signing in with a different one opens a different Floot account, and your projects will not be there. ## Sign-in ends on a Floot page instead of back in my chat That is the normal end of the flow. Consent runs on floot.com so your Floot credentials stay on Floot, and the page you are left looking at is Floot's, telling you to go back and enable Floot in your chat. Nothing has gone wrong — switch back to your assistant and start building. ## The connection drops, or the tools disappear There is no session to lose. Floot's MCP server holds no state between calls and issues no session ids — every request carries its own token and stands alone. When a client reports a lost connection, what it actually needs is to list Floot's tools again, which reconnecting or reloading the client does. Nothing on Floot's side is holding stale state. ## ChatGPT says Floot is disabled or unavailable, "Unknown tool", or "Too many requests" These messages appear inside ChatGPT, most often late in a long conversation: Floot shown as disabled or unavailable, `Unknown tool`, `Invalid MCP request metadata`, `Resource not found: Floot.read_file`, or a **Too many requests** banner. When one of them appears, the call has not reached Floot. Your work is saved in Floot, not in the chat, so nothing is lost by starting again. | What you see | What to do | | --- | --- | | It started partway through a long conversation | Start a new chat. Open the project on floot.com, click **Edit** at the top right, and choose ChatGPT under **Connected agents**: that opens a new chat with a prompt for the project ready. Ask it to read the project before changing anything. | | Every call fails, in every new chat | Look in ChatGPT's settings for more than one Floot entry — one from the directory and one added by hand, for example. Remove them all, install Floot again from the [ChatGPT directory](https://chatgpt.com/plugins/plugin_asdk_app_6a500d350f8c819194e30335a7b134af), and start a new chat. | | A **Too many requests** banner | Wait a moment and ask your assistant to continue. This is not Floot's daily limit: a Floot limit message names the limit and says when it resets — see **Actions are being refused** below. | ## My assistant cannot take a screenshot or read the page Screenshots, and reading or clicking the live app, run in your open Floot tab, or in a browser Floot runs for your assistant when you have none open — see [Your assistant can see and test your app](https://floot.com/docs/integrations/what-your-ai-can-do#your-assistant-can-see-and-test-your-app). You do not need to open a tab for them. - **It says Floot's browser did not pick the call up in time:** that browser was still starting, or the app failed to load in it. Ask your assistant to try again; the first load of a large project can take a minute. If it keeps failing, ask it to check the preview's logs: an app that shows an error or a blank page in your own preview does the same there. - **The screenshot shows the wrong page or a sign-in screen:** with no tab open, your assistant is looking at Floot's browser, not your screen. Ask it to go to the page you mean, and to sign in through your app's form if the page needs it. Or open the project yourself, and it uses your browser instead. - **Your tab is open but your assistant still uses Floot's browser:** a tab that does not answer within a few seconds (a laptop asleep, a tab the browser froze) is skipped. Bring the Floot tab to the front, and in Chrome add floot.com under **Settings → Performance → Always keep these sites active**. Work that does not need the page — running a script on the server, querying the database, a typecheck — never uses a browser at all. ## My assistant says it cannot publish It can. `publish_app` and `unpublish_app` are real tools, and publishing through them runs the same code as the Publish button in the Floot web app. If your assistant insists publishing has to happen in the browser, ask it directly to call `publish_app`. The things it genuinely cannot do are connecting an Apple or Google Play account (which native app builds need), starting a mobile test build, switching an app between public and private, and finishing a custom-domain setup — see [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do). ## A publish never finishes The connector waits at most 15 minutes for a production build. Past that the status check reports the publish as failed rather than still running, so your assistant stops polling and tells you instead of waiting forever. Ask it to publish again. ## Actions are being refused You have hit a build-action limit. The refusal names which limit and when it resets, and status polling, `list_projects`, `get_preview_url`, `cancel_request`, and `unpublish_app` keep working meanwhile. On Pro and Power it also offers an Action Boost if you cannot wait for the reset. See [Build actions](https://floot.com/docs/integrations/build-actions). ## "Too many Floot calls are running at once for this account" Floot runs at most 50 calls at the same time for one account. This is not the daily limit and nothing is counted: wait a moment, then ask your assistant to carry on with fewer calls in parallel. ## I upgraded, but my assistant still says I am on Free Your assistant is almost certainly connected to a different Floot account from the one you paid on — two Google accounts, two browsers, or a sign-in that created a second account. Limits follow the account your assistant is connected as. Use the upgrade link in your assistant's limit message rather than going to floot.com directly: it shows which account your assistant is connected to before you pay. If you already paid on the other one, see [Your account](https://floot.com/docs/faqs/your-account). ## My assistant says "Project not found", or cannot see a project I know exists The full message is `Project … not found or you don't have access`. It means the Floot account your assistant is connected as cannot open that project. The project is almost never gone. - **Give it the link, not the name.** Start a new chat and paste the project's link from your dashboard, rather than typing a name or an id from memory. - **Check which account the project is on.** A project belongs to the Floot account your assistant was connected as when it created the project, which may be a second Google account or another email. If the project is on your dashboard at floot.com but your assistant cannot find it, the assistant is connected as a different account: disconnect Floot in the assistant, sign in to floot.com as the account that owns the project in the same browser, and connect again. - **A mistyped id.** Assistants sometimes change a character or two of a project id. When the id is that close to one of your projects, the message names the project it probably meant. - **Check it is not someone else's project.** A project another person shared with you needs a paid Floot plan on your own account before the connector will open it — see the section further down. For a project that is missing from your dashboard as well, see [A project is missing, or you have two accounts](https://floot.com/docs/faqs/missing-projects-and-accounts). ## Sign-in fails with a redirect or callback error Floot accepts a client's sign-in callback only on an `https` URL, on `localhost` or `127.0.0.1`, or from Cursor's desktop app. A desktop client that returns through a different custom URL scheme cannot connect yet — tell support which client it is. ## A project someone shared with me will not open Opening a project owned by another Floot user over the connector needs a paid Floot plan on your own account, for reading as well as writing. A public project's code is the exception: anyone can read it, though not its database, logs or stored files. Projects you own yourself are never affected. > **Use your client's strongest model:** Lighter models lose track of long, multi-tool builds, and the symptoms read like a broken connector — steps skipped, files half-written, the same call repeated. In Claude use Fable, or at least Opus; in ChatGPT use Astra, or at least Sol; elsewhere pick your assistant's most capable model. --- # Branches > What a branch is, when to make one, the three kinds (ordinary, isolated and scratch), and how branches fit around your live app. Source: https://floot.com/docs/branches/overview A branch is a separate copy of your project with its own code, its own copy of the database and its own copy of every key. Change it as much as you like: your live app and its data stay as they are until you merge the branch back. ## When to use a branch - **A bigger change on a live app.** Build a new feature, a redesign or a database change on a branch, check it in the branch's preview, then merge it into main in one step. - **Several people, or several AI agents, at once.** Each works on a branch of their own, and the merges bring the work together. - **Work that must not touch real users or data.** An [isolated branch](https://floot.com/docs/branches/isolated-branches) has no real keys and no way to send real email, and its tables start empty unless you choose to copy the data. - **A test, a rehearsal or a backup copy.** A [scratch branch](#scratch-branches) is made to be thrown away. - **Data from the past.** A branch can start from the database as it was at a date and time, to look at or recover rows that were changed since. ## Main and its branches Every project has a **main**: the project you made first, whose published app is your live app. A branch can be made from main or from another branch. The branch switcher beside the project name in the editor lists them; pick one to open it, or open **Branch Reviews** to see every branch, its status and what it changes. - **The branch's own** — Its code, its database (a copy, made when the branch is made), its keys, its stored files, its chat, its checkpoints, its settings and its published address. Nothing you do there changes main. - **The project's, on every branch** — **Only allow internal publish**, **Make project public**, the collaborators and the fixed outbound IP. They are set on main and cover main and every branch: a branch's Settings page shows them but can't change them. - **What reaches main** — Only what a merge carries: the code, plus what the merge review lists (new env vars, images and files the code uses, app connections, a few settings). Database changes reach main only through the branch's [migration script](https://floot.com/docs/branches/database-changes). - **Kept on main only** — Database backups and restore, preview values for keys, Send project and the template link. On a branch, these screens say so and link to main. (A branch's own database can still be exported, from its Database Settings.) A branch can be [duplicated as a new project](https://floot.com/docs/projects/duplicate-a-project#duplicate-a-branch) of its own, without touching main. ## Three kinds of branch | Kind | Starts with | Can be merged | Use it for | | --- | --- | --- | --- | | **Ordinary** | The code, and the data you choose: a full copy, the same tables with no rows, or the data as it was at a moment | Yes | Features and fixes that will go live | | **Isolated** | The code and test keys only. Its tables start empty; the owner and Full-access collaborators can instead give it the rows as they are now or as they were at a moment | Yes | Agents, contractors and risky changes that must not reach real users, mail or data | | **Scratch** | Either of the above | No | QA runs, migration rehearsals, a backup copy of the data. Deleted after 7 days without use unless kept | Scratch can be combined with isolated. A branch made from an isolated branch is isolated too, and a branch made from a scratch branch is scratch too. ### Scratch branches Turn on **Scratch branch** in **New branch**, or ask your assistant for a scratch branch. A scratch branch cannot be merged from, so nothing on it reaches main by accident, but you can merge into it. It is deleted 7 days after it was last edited, opened or commented on, unless you click **Keep** in Branch Reviews. **Make ordinary** on its page turns it into a branch that can be merged and is no longer deleted for being idle; **Make scratch** on an ordinary branch does the reverse. A scratch branch counts toward your plan's branch limit like any other. ## The usual flow 1. **Make a branch** In the editor with **New branch…**, or by asking your assistant. See [Make a branch](https://floot.com/docs/branches/making-a-branch). 2. **Build and test on it** Work on the branch as on any project. Its preview runs on the branch's own data and keys, and you can publish it to its own address to try it like the real thing. See [Testing on a branch](https://floot.com/docs/branches/testing-on-a-branch). 3. **Merge it** **Merge** in the top bar opens the merge review: the files, the database changes, the keys and everything else the merge will do. Floot checks the merged code before anything changes. See [Merge a branch](https://floot.com/docs/branches/merging). 4. **Publish main** A merge changes main's code, not the live app. Publish main when you are ready for people to see it. > **Branches and your plan:** Free projects can have 1 open branch, Pro projects 5, and Power projects as many as they need. See [Branch limits and cost](https://floot.com/docs/branches/limits-and-cost). --- # Make a branch > Make a branch in the editor or from your AI assistant: where it starts from, what data its database gets, which keys it uses, and what is copied. Source: https://floot.com/docs/branches/making-a-branch Making a branch takes a few seconds. The choices that matter are what its database starts with and which keys it uses: they decide whether the branch can touch real data and real services. ## In the editor 1. **Open New branch** Open the branch switcher beside the project name and click **New branch…**. The branch starts from the project or branch you have open; you can pick another one to start from. 2. **Name it and pick its type** Give it a name that says what it is for, such as "Checkout redesign". Under **Branch type**, **Standard** lets you choose its data and keys; **Isolated** gives it no real keys, and empty tables unless you choose its data (see [Isolated branches](https://floot.com/docs/branches/isolated-branches)). Turn on **Scratch branch** for a branch you will throw away. 3. **Set up the branch** For a standard branch, the second step has the database, the test keys and the Floot services, described below. Then click **Create branch**. The editor opens the new branch. ## What the database starts with | Choice | The branch's database | Use it for | | --- | --- | --- | | **Full copy** | A copy of every table and row of the branch it starts from, as it is now. Nothing syncs afterwards | Changes you want to try on realistic data. The default | | **Empty database** | The same tables, with no rows. If the project has a [seed script](https://floot.com/docs/branches/database-changes#test-data-with-a-seed-script), it fills them | A clean start, and data you must not copy (health, payments, personal details) | | **As of a date and time** | The database as it was at that moment. Only the database goes back: code, files and keys stay as they are now | Looking at or recovering data that was changed or deleted since | A branch's database has no history from before the branch was made, so **As of** on a branch can go back only to its start. Code that uses a table or column added after the chosen moment fails on that branch until the table or column is added to its database. > **External databases are shared:** Only a Floot database is copied. A database outside Floot (one you connected with its own address or key) is not: the branch connects to the same one, so whatever it writes there changes the real data. **New branch** names such databases before you create the branch. ## Test keys Every key the project uses is copied into the branch. Under **Test keys**, type a value to use on the branch only, or leave the field empty to use the value shown. A branch starts from main's [preview values](https://floot.com/docs/integrations/overview#preview-values) where someone saved one. Main is never changed. A key whose value is the same as main's calls the real service with main's real key: the branch's project settings say how many keys are like that. Give a key its own value on the branch when the service must not be touched, such as a payment provider's live key. ## Floot services The switches that connect a branch to main's real users are off when it is made. You can turn them on in **New branch** or later in the branch's settings. See [Branch settings](https://floot.com/docs/branches/testing-on-a-branch#branch-settings). ## What a branch gets - **Copied** — The code and its packages as they are when you make the branch, the keys (or the test values you gave), the scheduled jobs (off until you turn them on), the queued tasks that were waiting (held until you turn them on), app connections, the web push key, and the project's settings. - **Read from the branch it starts from** — Stored files. The branch lists and shows the parent's files without copying them; a file is copied into the branch the first time the branch opens it. Files the branch uploads stay on the branch. To keep the parent's private files out, turn on [Own private files only](https://floot.com/docs/branches/testing-on-a-branch#own-private-files-only). - **Made fresh for the branch** — The secret that signs your app's sign-in sessions, and a [Self-edit](https://floot.com/docs/integrations/what-your-ai-can-do#let-your-app-edit-its-own-code) key of its own when main has Self-edit (it starts at the **Branch** level, and never acts above main's level). - **Not carried over** — The checkpoints and file history of the branch it starts from. The published address, custom domains, the Mobile App ID and app store connections: the branch starts unpublished with an ID of its own, and anything you set up for it is removed when it is deleted. A branch always starts from its parent's current code (main's, or the branch you make it from): you can't make one from an earlier checkpoint or version. **As of a date and time** sets the database's moment only; the code, files and keys are still today's. The branch's own checkpoints and file history begin when it is made, so it can't be restored to a moment before that. > **Web push reaches main's subscribers:** A branch signs web push notifications with main's key, and there is no switch to turn push off on a branch. If your app keeps push subscriptions in its database and the branch has a copy of the data, a push sent from the branch reaches main's real subscribers. Make the branch with an empty database, or make it [isolated](https://floot.com/docs/branches/isolated-branches): an isolated branch gets a push key of its own. Notifications don't go to your live iPhone and Android apps: a branch's mobile app is a separate app, with its own Mobile App ID and its own app store connections. ## From your AI assistant Ask in your own words: "make a branch called checkout redesign with an empty database". The assistant uses `fork_project`, which makes the branch at once, with no card to confirm, and returns its preview link. It works on the branch from then on by its id. A full copy of the data is the default; say so when you want it empty, isolated or scratch. > **Who can make a branch:** The project's owner and anyone with **Full access**, team builders on a team project, and Isolated collaborators (whose branches are always isolated). See [Collaborators and protecting main](https://floot.com/docs/branches/collaborators-and-protect-main). --- # Testing on a branch > Preview and publish a branch, the switches that connect it to main's email, realtime and jobs, its private files, and what lives on main only. Source: https://floot.com/docs/branches/testing-on-a-branch A branch runs on its own data and its own copies of the keys, so you can try anything in its preview. Its settings decide how much of the real world it reaches: by default, none of main's users, mail or jobs. ## Preview and publish a branch A branch's preview works like main's. To test it the way visitors will use it, **Publish this branch** (in the menu beside **Merge** in the top bar) publishes it to an address of its own. The live app on main doesn't change. A domain or app store connection set up on a branch is removed when the branch is deleted. On a branch, the screens for publishing, analytics and SEO are the branch's: its analytics are visits to its own address, and its site name is the branch's name. It also has its own Mobile App ID and app store connections, so setting them up there doesn't touch main's. A merge doesn't carry any of these; set the live app's on main. ## Branch settings On the branch, click its name in the top-left to open its **Settings** page: the switches are in the **Visibility** card (on a phone, **Project Settings** › **Advanced Settings**). Each switch is shown only when the branch's code uses it, and only the branch's creator or the project owner can change one. All are off when a branch is made. | Switch | Off (the default) | On | | --- | --- | --- | | **Send email** | The app sends nothing. Each message is kept in the branch's test inbox, under **Email logs**, so you can still read sign-in codes and reset links | Mail is delivered to real inboxes | | **Receive main's email** | None of main's incoming mail reaches the branch | Every email main receives also runs the branch's email handler. If the branch replies while Send email is on, the customer gets two replies | | **Run scheduled jobs on this branch** | The jobs copied from main don't run | The branch's published app runs them on their own schedule, so a job that sends email or calls another service does it twice: once on main and once here | | **Queued jobs** | Tasks main had waiting when the branch was made never run here. Tasks the branch's own code queues always run | Those waiting tasks run on the branch too | | **Receive main's realtime messages** | The branch has its own live channels | Messages on main's channels reach the branch's users | | **Send realtime messages to main** | Main's users never see the branch's messages | The branch's messages reach main's users. Who's online is shared only with both realtime switches on | Scheduled jobs run only on a published app, like main's. To run one job once without publishing, use **Run now** on the job, or ask your assistant to run it. Each run is listed under the job in **Services → Schedules** with how it ended and its error — see [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs#where-to-see-them). > **An ordinary branch holds real data and keys:** A full-copy branch has your real users' rows and, unless you gave test values, your real keys. With Send email on, its sign-in codes and receipts go to real people. Use an [isolated branch](https://floot.com/docs/branches/isolated-branches) when that must not happen. ## Own private files only A branch reads the stored files of the branch it was made from. That suits a branch that continues the project, but not a test branch that must not hold the real project's private files, such as contracts, ID scans or exports. Turn on **Own private files only** in the branch's settings: the parent's private files are no longer listed, read or copied on the branch. Public files, such as the images and other assets the app shows, still come from the parent, so the app looks the same. Private files the branch had already opened were copied into it and stay; delete the ones you don't want in **Storage**. The switch takes up to a minute to apply and can be turned off again. An isolated branch never reads its parent's private files, so it has no such switch. ## Things that behave differently on a branch - **A public file changed on the branch** can show its earlier content for up to a minute, because files are cached. - **Payments:** an id stored in a full copy of main's data refers to main's payments, so looking it up from the branch may find nothing. - **Fixed outbound IP** is shared with main and can't be changed on a branch. - **Credits:** AI credits used on a branch show as the branch's in its project settings, and are paid by the project's payer like main's. --- # Merge a branch > Review and merge a branch into main or into another branch: the checks, conflicts, env vars, files, settings and email domains a merge carries, and how to undo one. Source: https://floot.com/docs/branches/merging A merge moves a branch's changes into another branch, usually main. Floot shows you everything the merge will change and checks the merged code first. If the code or the database changes can't be applied, both are undone. ## Merge into main 1. **Click Merge** On a branch, **Merge** takes the Publish button's place in the top bar. It opens the branch's page in **Branch Reviews**, compared with main. Nothing merges on that click. 2. **Review the changes** The page lists the files changed (new, edited, removed, and conflicts), the database changes and the migration script, the env vars main doesn't have, and what else the merge will do on main. **Ask AI** copies a prompt for your assistant to explain the branch or prepare it for the merge. 3. **Wait for the checks** Floot builds the merged code and tries the migration script before anything changes. If a check fails, the page says what went wrong; **Ask AI to fix** copies the problem for your assistant. Fix it on the branch, then compare again. 4. **Merge** The merge saves a checkpoint of main, runs the migration script on main's database, writes the code, then adds the keys and the rest. If the script or the code can't be applied, Floot undoes both and main is as it was. Keys, connections, settings and the preview's rebuild come after that, one by one: if one of them fails, the merge stays done and its list of steps shows which one, so you can add it on main yourself. If a merge is cut off part way, after 20 minutes, check main before you merge again. 5. **Publish main** Your live app stays as it is until you publish main. The menu beside **Merge** also has **Merge into another branch…**, which lets you pick where the changes go, and **Publish this branch**. On a phone, the round merge button opens the same menu. In Branch Reviews, **Merge branches** lets you pick any branch to merge from and any branch to merge into, including main into a branch to bring a long-running branch up to date. ## What is checked - The packages install, the code typechecks, and the backend and frontend build. Type errors that were already on the target before the merge are shown but don't block it. - The migration script typechecks and runs as a dry run that is rolled back. - **Database matches the merged code:** the target's database will have every table, column and enum value the branch's code expects. See [Database changes](https://floot.com/docs/branches/database-changes). - **Seed script fits the database**, when the project has one. - **Storage files exist** for every file the migration script copies. If one of the branches changes after you compared, the page asks you to compare again before merging. ## Conflicts A conflict is a file both branches changed in different ways, or one deleted while the other changed it. A merge into main never edits main to resolve one: the fix is made on the branch, so the file there holds both sides' changes. The simplest way is to ask your assistant to fix the conflicts (**Ask AI to prepare the update** copies the prompt), then compare again. Your assistant can also settle a conflict by keeping one side's file whole. ## Env vars Env vars the branch has and the target doesn't are listed with a tick box each. Ticked ones are copied to the target, with the branch's values, when the merge finishes. Unticked ones stay off the target: add them yourself if its code needs them. When both have a key with different values, you choose which value the target keeps. ## What else a merge does What the merged code needs to run travels with it, so you never set a thing up twice. The merge review lists all of it under **Also changes on** before you merge. - **Images and files** — Every image or file the branch uploaded or generated that the target doesn't have, and every file the merged code uses that the target lacks, is copied. A file the branch replaced under a name the target also has replaces the target's too, unless you untick it under **Files replaced on**. The target's published app shows a replaced file at once, without a publish, and visitors who saw the old one may keep it for a while. - **App connections** — Connections to your other apps that the branch made are added to the target. A merge only adds connections, never removes one. - **Floot services** — Sign-in, push notifications, payments, shipping and the other services Floot sets up, when the branch added them, are created for the target. - **Settings the code needs** — A few project settings the merged code cannot work without, such as dependency overrides, are set as on the branch, unless the target changed the same setting too. Settings a branch often changes for testing (analytics, page headers, the name, the site description, server memory) are never carried. - **The app icon** — When the branch has a new icon, the review offers **Use the branch's app icon**: on by default when only the branch changed it. - **Email domains** — If the branch has email domains of its own, you choose: leave them on the branch (they are released when it is deleted), move them to the target next to its own, or replace the target's domains. A merge your assistant starts leaves them on the branch. Database rows and other stored files are never moved by a merge itself. Only the branch's [migration script](https://floot.com/docs/branches/database-changes) changes the target's database or moves storage files. ## Merging with your AI assistant Ask your assistant to merge the branch. It compares the branches (`compare_branches`), fixes any conflicts on the branch, writes the migration script if the database changed, then starts the merge (`start_merge`) and reports how it ended. Before merging it can send you to the merge review in the editor so you can see the changes yourself. Into a [protected main](https://floot.com/docs/branches/collaborators-and-protect-main#protect-main), the assistant can't merge by itself: it shows a merge card, and the merge starts only when you click **Merge** on it. The card expires after an hour. Assistants that can't show cards give you a link to the branch in the editor instead. ## Undo a merge Every merge saves a checkpoint of the target before it changes anything. To undo the code of a merge, restore that checkpoint from the **Checkpoints** panel on main. A restore puts back the code, and the app icon if the merge changed it. It does not undo what the migration script did to the database, or the files, keys, connections and settings the merge added, and it does not change the published app until you publish. A merge takes no copy of the database. Changes the script made to data can be undone with SQL, or on a paid plan with the database's own [restore](https://floot.com/docs/platform/database#backups-and-restores). ## After the merge A branch merged into main shows **Merged · Go to main** in the top bar. It stays open, and counts toward your plan's branch limit, until it is deleted: Floot deletes it 7 days after the merge or its last comment, unless you **Keep** it in Branch Reviews or edit it after the merge. Its code is already in main; its own database copy and comments go with it. A merged branch can't be merged again until it is changed: start new work on a new branch from main. --- # Database changes on a branch > How a branch's new tables and columns reach main: the migration script, the database check that refuses a merge without it, and the seed script for test data. Source: https://floot.com/docs/branches/database-changes A merge moves code, never database changes. When a branch adds or changes tables, columns or enum values, a short migration script makes the same changes on the target's database during the merge. Your assistant writes it; this page explains what it does and why a merge waits for it. ## The migration script Each branch can have one migration script, the file `static/__dev/migration.js`. It runs once, during the merge, on the database of the branch being merged into, and can also copy stored files from the branch to the target or delete files there. It is a dev file: it is never published, a new branch starts without one, and it is not carried by a merge. It can't be written on main. ```ts export default async function (ctx) { // Runs on the target's database, inside the merge. await ctx.targetQuery( "ALTER TABLE orders ADD COLUMN IF NOT EXISTS gift_note text", ); await ctx.targetQuery( "CREATE INDEX IF NOT EXISTS orders_created_at_idx ON orders (created_at)", ); } ``` - **ctx.targetQuery(sql, params?)** — Runs one SQL statement on the target's database. Parameters use `$1`, `$2`. - **ctx.sourceQuery(sql, params?)** — Reads the branch's own database (SELECT only), for example to copy a few rows. Not available on a branch without a database of its own: the script still runs on the target. - **ctx.storageCopy(path, toPath?)** — Copies a stored file from the branch to the target. - **ctx.storageDelete(path)** — Deletes a stored file on the target. ### How it runs - The merge typechecks the script, runs it as a dry run that is rolled back, then runs it for real in one transaction. If it fails, nothing changes on the target. - Write it so it is safe to run more than once: `IF NOT EXISTS`, `ON CONFLICT`, guarded updates. - One statement per call. The script has no network, files, timers or env vars. - The dry run and the real run each get about 7 minutes, and a merge not finished after 20 minutes fails. While it runs, it holds its locks on the target's tables. Keep it to schema changes and small data fixes, and do a large backfill after the merge as a background job. When the branch's database changed and there is no script yet, **Ask AI** on the merge review gets a starter script drafted from the changes. ## The database check Before a merge, Floot compares the two databases with how they were when the branch was made, and works out what the branch changed. The merge review lists those changes: what the script has to do, what changed differently on both sides, and what only the target has (nothing to do). The check **Database matches the merged code** then runs the script's dry run and looks again: while anything the branch changed is still missing on the target, the merge is refused. There are two ways forward: make the script do the changes, or undo them on the branch's database if the target shouldn't get them. The check works both ways: merging main into a branch is refused too while the branch's database lacks main's changes. It compares tables, columns, indexes, constraints and enum types. Views, functions, triggers, sequences and extensions are not compared, so a change to one of those needs the script even though nothing refuses the merge. > **Changing the database with SQL on a branch:** When you or your assistant change a branch's tables with SQL, the change is on the branch's database only. It reaches main only through the migration script, written in the same go. ## Test data with a seed script A branch with an empty database starts with no rows to test on. Keep made-up test data in `static/__dev/seed.sql`: plain SQL that fills the project's tables. Every new branch whose database starts empty (every **Empty database** branch, isolated or not) runs it right after it is made, in one transaction. If it fails, the branch is made anyway with nothing from the seed, and your assistant is told why. - Never put real people's data in it: it is in the code, and every branch gets it. - Make it safe to run twice (`ON CONFLICT DO NOTHING`, fixed ids), and insert parents before children. - For volume, such as thousands of orders for a performance test, generate rows with `generate_series` instead of writing them out. - It is an ordinary file: branches inherit it and a merge carries it, so merge it into main to give every later branch the same start. - To run it again on a branch, ask your assistant to run the file's SQL. - When a branch changes the tables, update the seed in the same go: a merge out of a branch runs the merged seed on that branch's database, rolled back, and is refused while it no longer fits the tables. Made-up rows miss the odd cases real data has, such as empty fields and old formats. To rehearse a migration on data that isn't sensitive, use a branch with a **Full copy**, as a [scratch branch](https://floot.com/docs/branches/overview#scratch-branches). --- # Isolated branches > A branch that can't reach real users or mail and has no real keys: what it starts with, the data you can give it, what is off and locked, how it merges, and what isolation does not cover. Source: https://floot.com/docs/branches/isolated-branches An isolated branch is a copy of the project for work that must not reach real users, mail or data: an agent's run, a contractor's starting point, a risky change. It has your code and your tables, but none of the real keys, and unless you choose otherwise none of the rows. ## Make one In the editor, choose **New branch…** › **Branch type** › **Isolated**. Ask your assistant for an isolated branch, and it calls `fork_project` with `isolated` set. A branch made from an isolated branch is isolated too, and every branch an [Isolated collaborator](https://floot.com/docs/branches/collaborators-and-protect-main#access-levels) makes is isolated whatever they ask for. ## Its data An isolated branch starts with empty tables. The owner and Full-access collaborators can choose its data under **Database** in New branch, when it starts from main or an ordinary branch: **Empty database** (the default), **Full copy** (the rows as they are now) or **As of a date and time** (the rows as they were then, up to 7 days back). Use a copy to look at real data, such as yesterday's rows, on a branch that still has no real keys, none of main's private files or queued tasks, and email and live messages locked off. A copy holds your real users' rows. An Isolated collaborator's branches always start empty, and they can't open a branch with copied rows. A branch made from an isolated branch gets that branch's rows, and its data can't be chosen. ## What it starts with - The code. - A database with the same tables and no rows, filled by the project's [seed script](https://floot.com/docs/branches/database-changes#test-data-with-a-seed-script) if it has one, unless its maker chose a copy of the rows (see [Its data](#its-data)). - Main's [preview values](https://floot.com/docs/integrations/overview#preview-values) where someone saved one; otherwise its keys are empty. Made from another branch, every key is empty. - None of main's private stored files. Main's public static assets, such as its logo and images, still show. - None of main's queued tasks, [connections to other Floot apps](#connecting-to-other-apps), Google and Microsoft account grants, self-edit token or push notification keys. It gets a push key of its own, so a push reaches only people who subscribed on the branch. ## What is off and locked These switches are off on every isolated branch, and nobody can turn them on: - **Send email:** every email the branch sends, including sign-in and password-reset codes, is caught in its test inbox and never delivered. **Email logs** show it as "Caught · not sent". The one exception is mail to yourself, below. - **Receive main's email:** main's real inbound mail never reaches the branch. - **Both realtime switches:** its live messages stay on its own channels. Main's users never see them, and it never sees theirs. ## What waits or runs in test mode - **Scheduled jobs and queued jobs** start off. Turned on, they run against the branch's own data. Your assistant can turn the branch's scheduled jobs on or off. - **Running a scheduled job once:** on an isolated branch that started with an empty database, anyone who can see the branch's data, read-only collaborators and team readers included, can press **Run now** on a job or ask their assistant to run it, without edit access. The job reaches only the branch's own database, test keys and caught email. An assistant connected read-only still can't run it. On a branch that started with copied rows, as on main and ordinary branches, only people who can edit can run jobs. - **Payments and shipping** run in test mode. - **Webhooks from outside services** are set up with main's address, so they don't reach the branch. - **OIDC cloud connections** can't be used. ## Testing sign-in and email Sign-in codes, password resets and every other email work on an isolated branch: they are kept in its test inbox. Run your app's sign-in or **Forgot password?** as usual, then open **Services → Email → Email logs** and read the code or link in the caught email. Your assistant can read them there too. Caught email is kept for 7 days. On an isolated branch you made yourself as the project's owner, an email addressed only to your own Floot account address is delivered to your mailbox instead, so you can test sign-in or a reset with your own address end to end. It comes from Floot's shared sending address (as on a project with no email domain set up), never from your project's own domain, and counts against that address's daily limit; past the limit it is caught again. Mail to anyone else, any email with another recipient, and every email on a branch someone else made stay in the test inbox. That is also how you get back in when you lose a password on the branch, your own admin one included. The branch's users are its own: a reset there changes nothing on main. See [App sign-in](https://floot.com/docs/integrations/app-sign-in#resetting-someones-password-yourself) and [the test inbox](https://floot.com/docs/integrations/email#the-test-inbox). ## Connecting to other apps - An isolated branch starts with none of main's [connections to other Floot apps](https://floot.com/docs/projects/connected-apps). Ask your assistant to connect it to the app it needs, or to a branch of that app, and approve the request as on main. Isolated collaborators can't connect apps. - A call always reaches the other app's **published** version, also from your branch's preview. Publish the other branch before you call it, or the call answers "not published". - To check where a connection points, open **Services → Apps** on your branch: it shows each connected app's name, address and functions. Compare the address with the other branch's published address on its **Publish** screen. ## Self-edit and the branch's id An ordinary branch can have [Self-edit](https://floot.com/docs/integrations/what-your-ai-can-do#let-your-app-edit-its-own-code) of its own, also while main has none, so you can try it on a branch first. Until main has Self-edit, the branch's key works at most at the **Branch** level: it reads the branch's code, data and logs and writes the branch's database, but can't change code, publish, merge or make branches. Once main has Self-edit, a branch's key never works above main's level. If Self-edit is deleted from main, every branch's key stops working, whatever its level. An isolated branch can't have [Self-edit](https://floot.com/docs/integrations/what-your-ai-can-do#let-your-app-edit-its-own-code): its key acts as the project's owner. If the app needs it, the owner adds it on main. Without Self-edit your app's code has no built-in value with its own project id. When code on the branch needs it, save the branch's id as one of the branch's keys: the id is in the editor's address bar, after `/project/`. ## Merging and isolation Merging an isolated branch into main is an ordinary merge, made by someone with Full access: its code and migration script run on main, and reviewing the merge is the gate. Merging main into an isolated branch carries code and tables only: the migration script can't read main's data, and no key values, connections or email domains are copied, so the branch stays isolated. ## What isolation does not cover - Floot does not block the branch's own code from calling the internet. - Outside services work only with keys you put on the branch, and those are used as they are: a real key saved as a preview value, or a key or address written into the code, reaches the real service. - Services billed to the project's payer, such as AI credits and hosting usage, still count. - A database outside Floot is not copied, so the branch connects to the real one. - Anything in the code itself, such as values written into files under `static/`, column defaults or enum values, can be read on the branch. --- # Collaborators and protecting main > Give collaborators Full access, Branches or Isolated access, protect main so every change arrives as a reviewed merge, and see who can merge where. Source: https://floot.com/docs/branches/collaborators-and-protect-main Branches let you decide how each person changes your project: straight on main, only through merges you review, or on isolated branches that never see your real data. ## Access levels Open **Collaborators** with the **+** next to the avatars in the top-right of the project (see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects#add-collaborators)). Each person's level is a pill beside their name; click it to change it. When you invite someone, pick their level before you send the invite. Only the owner manages collaborators. | Level | What they can do | | --- | --- | | **Full access** | Edits main directly, and sees its data, keys and settings. Makes branches and merges them. New invites start here | | **Branches** | Sees main and its data. On a team project, team builders at this level change main only through branches that are merged. On a personal project, a collaborator at this level views the project but doesn't make branches | | **Read** | On a team project, opens main and its branches and sees their code and data, but makes no edits or branches | | **Isolated** | Never sees main, its data or its real keys. Works in their own branches, each an [isolated branch](https://floot.com/docs/branches/isolated-branches) with the code, an empty database and test keys. Can't publish them or connect them to anything outside | An Isolated collaborator who opens the project's address sees their own branches and **New branch**, never main. Moving someone from Branches to Isolated closes the ordinary branches they made before, since those hold copied data. Access they already had open, such as a running preview, can last a few hours: remove and re-add the person when that matters. Full access, Branches and Read collaborators can all read main's runtime data: its database, stored files, email logs, background jobs, and its preview and production logs. Isolated collaborators can't read any of main's logs or data. On their own isolated branches they read the branch's preview logs, background-job runs and email logs (the caught sign-in codes included), and they never see other collaborators' branches. > **What an Isolated collaborator can still see:** Main's code and schema are what they are given to work on, so anything written into the code (a value in a file, a column default) is theirs to read, and comparing their branch with main shows main's current code and the names of its keys. What they merge runs on main: your review of the merge is the gate. ## Protect main In **Collaborators**, your own row is the protection switch for main: **Main protected** or **Main not protected**. With main protected, nobody edits main's code directly, you included: every change is made on a branch and arrives as a merge. Team projects have main protected by default. - On a personal project only the owner merges into a protected main. On a team project everyone with Full access does. - Your AI assistant can't merge into a protected main on its own: it shows you a merge card, and the merge starts when you click **Merge**. - The owner's assistant can still change main's data with SQL, but not its tables: table changes go through a branch's migration script. - The owner and anyone with Full access can still add and change main's keys. - Protect main doesn't change who publishes: anyone with Full access still can. A team project can leave publishing to its admins instead; see [Who can publish](https://floot.com/docs/projects/publishing#who-can-publish). - Adding a Floot service on a protected main only attaches it; the starter code and tables for it arrive with a merge. A new connection to another of your apps is made on a branch and carried by the merge. - Anyone who may make a branch can still ask their assistant to make one from a protected main. ## Who can merge where | Merge | Who | | --- | --- | | Into main, not protected | The owner and anyone with Full access | | Into a protected main | The owner; on a team project, everyone with Full access | | Into a branch | The project's owner and the branch's creator | ## Marking a branch ready When a collaborator's branch is ready to go into main, they mark it **Ready**. Ready branches are listed for review in **Branch Reviews**, where you can read the changes, comment, and merge. Ready is for merging into main; merging into your own branches needs no marking. --- # Branch limits and cost > How many branches each plan allows, what a branch's database costs past the included ones, and how branches are deleted. Source: https://floot.com/docs/branches/limits-and-cost Making a branch is free and takes seconds. Two things are limited: how many branches a project can have open, by plan, and how many branches with their own database are included before each one is charged. ## Open branches per project | Plan | Open branches per project | | --- | --- | | Free | 1 | | Pro | 5 | | Power | No plan limit | - The count is per main project: every open branch, including branches of branches, whoever made it. - It goes by the plan of whoever pays for the project (the team, or the owner of a personal project), not the person making the branch. - Merged branches count until they are deleted, and so do scratch branches. - Only making a branch is limited. After a downgrade, the branches you have keep working and can still be merged. When the limit is reached, **New branch** says so and lists the merged branches you can delete to free a place. Only the project's owner can upgrade its plan. ## Charged branches Each branch with its own Floot database has a database branch of its own. A project includes 24 of them besides main. Each one past that costs $3 a month from the project's hosting balance, charged by the hour until it is deleted. Branches without a Floot database never count. Before the first charged branch, **New branch** asks: someone who can make branches agrees once for the project with **Allow charged branches**. After that, while the next branch would be charged, **New branch** shows how many are charged now. Your assistant can't agree to the charge for you: it gives you the editor link instead. In practice only Power projects get past 24 open branches. A branch's database also counts toward hosting like any database: its storage and compute are part of the project's hosting usage. ## Deleting branches Delete a branch from **Branch Reviews**, from a merged branch's page, or by asking your assistant. Deleting removes the branch's code, its own database copy, its comments and its published site, and stops its charge at once. A merged branch's changes stay on main. A branch that was never merged into main is lost for good, so your assistant can delete one only by saying it means to discard the unmerged work. A branch with a published site is deleted in the editor only: your assistant can't take a site down. - **Merged branches** — Deleted 7 days after the merge into main or their last comment. Not deleted while kept, once edited after the merge, or while another branch made from them is open. - **Scratch branches** — Deleted 7 days after they were last edited, opened or commented on. Not deleted while kept, or while another branch made from them is open. - **Keep** — **Keep** in Branch Reviews stops the automatic delete. **Don't keep** starts the days again from that moment. --- # Prompting tips > How to describe what you want so your AI assistant builds the right thing on the first attempt. Source: https://floot.com/docs/best-practices/prompting-tips You build by talking to your own AI assistant — Claude, ChatGPT, Cursor, or another client with the [Floot connector](https://floot.com/docs/integrations/build-from-claude-and-chatgpt) attached. Your prompt is what it works from, and these habits make the biggest difference to what comes back. ## Start with what the app does For a first prompt, describe the core features and what the app should do for the person using it. Keep it short — you will add detail as you go, and a fuzzy idea is better talked through than written up. There is no stack to choose. Every Floot project is React and TypeScript on the front end, with serverless endpoints and — when the app needs one — a Floot-provisioned Postgres database behind it. Naming a framework only narrows the result: ask for Tailwind, for example, and it will not be installed, because Floot does not support it. > **Naming a package is still fine:** Ask for a specific npm package when you genuinely need one. A few cannot be used — React Native and Expo packages (Floot builds native apps from your web app instead), anything ffmpeg- or ffprobe-based, a `.wasm` file imported by your app's frontend code, and most packages that need node-gyp (`sharp` is the supported exception for backend image work). Packages that carry their own WebAssembly do work in your backend: decoding WebM/Opus or MP4/AAC recordings in an endpoint, for example, needs no ffmpeg. Your assistant is told why, so it can offer another route. ## Include enough context Be specific and descriptive about what you want changed. When something is broken, do not just say “it doesn't work” — describe what you did, what you expected to happen, and what actually happened. ``` When I click the Submit button, a dialog should open, but nothing happens. ``` That works far better than “that button doesn't work”. > **An attached image is not a file in your project:** Attaching a mockup or a logo in a chat client lets the model see it, but the file itself never reaches Floot. If you want that image in the app, your assistant shows you an upload card so you can hand over the actual file in one click. ## Point at the exact element The preview link your assistant gives you opens your project view at `/mcp-preview/`. Use **Select** or **Annotate** above the preview there: Select picks one element, Annotate takes a screenshot you can draw on. Neither one sends a message for you. What you picked is copied to your clipboard, so you can paste it into the chat and add what you want changed. It is also stashed for your assistant, so “check my Floot context” works just as well — it then reads the selected element, your drawing, and the page you were on before it changes anything. ## Keep it focused Ask for **one thing** per prompt. Bundling several changes together means you cannot verify any of them cleanly, and if something goes wrong you have to untangle which change caused it. > **One feature, one fix, one prompt:** Build it, check it in the preview, then move on to the next thing. ## Describe outcomes, not implementations Say what the app should do for the person using it, not how to build it. “Someone should be able to save a recipe and find it again next time they sign in” gives your assistant far more to work with than a list of tables and routes. ## Let it read the project first With the connector attached, your assistant can list and read your files, search your code, read your logs, and read Floot's own build guides before it writes a line. On an existing project, ask it to look before it changes anything — “read the pages this touches first” costs one turn and saves several. For a big change, ask it to talk the change through before it touches the code. If you want the plan to stay in the project, ask it to write the plan into a file under `static/__dev/plans/`. If your project view is open when it does, the plan opens there with a **Build Plan** button: clicking it copies your go-ahead to your clipboard to paste into the chat, and your assistant also picks it up the next time it checks your Floot context. ## Check each change before the next one After each change, click through the flow in the preview yourself. One bug described on its own is far easier to fix than five found at the end, and leaving visual polish until the features work saves redoing it. > **Ask for the preview link first:** Ask for the preview link at the start of the session and keep it open. It live-updates as the app changes, opens with no Floot login, and works on your phone. ## When something breaks, ask for the logs Your assistant can read the project's runtime logs: the preview's backend requests from the last hour, the browser console and network activity from your open project view, and your published app's backend logs from the last 90 days. Ask for them by name — “read the logs before you try another fix” — rather than letting it guess from the error text alone. Browser logs are only captured while your project view is open in a browser, so keep that tab open while you are debugging. > **When the same error survives three attempts:** Stop and change the approach rather than trying a fourth time. Asking for the logs to be read before another fix is attempted clears most loops. Full steps: [Troubleshooting and support](https://floot.com/docs/faqs/troubleshooting-and-support-flow). ## Save a restore point before something risky Ask for a named checkpoint before a big refactor — “checkpoint this first” is enough. Assistants are also told to create one each time they finish a coherent piece of work. Named checkpoints show up in the **Checkpoints** panel in your project view, and you can restore any of them from there. Restoring rolls back code and project settings only. Database rows, uploaded files, and anything already published are not rolled back. On a paid plan the database has its own restore, to any moment in its recovery history: see [Backups and restores](https://floot.com/docs/platform/database#backups-and-restores). When only one or two files went wrong, you do not need a whole-project restore. Ask your assistant to put just those files back — “restore `helpers/pricing.tsx` to how it was two changes ago” — and it steps back through that file's history without touching anything else. --- # What's built in > The services every Floot project comes with — database, auth, AI, storage, email, realtime, and jobs. Source: https://floot.com/docs/integrations/whats-built-in A lot of what you would normally wire up yourself is already part of every Floot project. Ask your AI assistant for the feature and the built-in service gets wired in for you. No accounts, no API keys, no setup. | Service | What it gives you | | --- | --- | | **Floot Database** | A managed Postgres database. Your assistant reads the schema and runs SQL against it directly. You can also browse tables yourself in the **Data** tab of your project on floot.com, and export the whole database as a SQL dump from there on any plan. Importing a SQL dump needs a paid plan. | | **Authentication** | Sign-up, login, and sessions out of the box, plus one-click **Sign in with Google** and **Sign in with Microsoft** — Floot brokers both, so there is no OAuth app to register. Other providers, including Apple, GitHub, LinkedIn, and Slack, work too, using your own OAuth credentials. See [Sign-in for your app's users](https://floot.com/docs/integrations/app-sign-in). | | **Floot AI** | Text generation with tool calling and web search, image generation and editing, embeddings, and speech-to-text transcription, with no provider account. AI features running inside your published app spend Floot credits, billed to the project owner — or bring your own provider key instead and pay that provider directly. See [Floot AI in your app](https://floot.com/docs/integrations/floot-ai). | | **Floot Storage** | File uploads and downloads for your users — documents, photos, contracts — served from Floot's CDN. A free account gets 100 MB across all its projects; paid plans have no cap, and storage past the first 100 MB per project per day is metered as hosting usage. A single file can be at most 100 MB on the free plan, and up to 5 GB on paid plans (files over 100 MB are uploaded in parts). | | **Email** | Send email from your app, one at a time or in bulk, and receive email into it, without signing up for a mail provider. Verify your own sending domain before you go live — see the note below and [Email](https://floot.com/docs/integrations/email). | | **Google and Microsoft accounts** | Let your users connect their own Gmail, Google Calendar, and Google Drive — or Outlook mail, calendar, and OneDrive — so your app can read and act on them, with no OAuth app of your own to register. Google Drive access covers the files your app created or the user picked; OneDrive access covers all of the user's files. Outlook mail is sent from the user's own mailbox; to send from a shared mailbox such as support@, ask your assistant for it. Users who connected before connect again to approve it. The person connecting also needs Send As or Send on Behalf on that mailbox, which their Microsoft 365 admin grants; without it, Microsoft refuses the send. | | **Payments** | Checkout, carts, subscriptions, coupons and refunds through Stripe, with zero code setup: no Stripe keys or webhooks. One Stripe account covers all your apps with zero extra work per app, and each app's payments stay separate. Test in the preview without a Stripe account; to take real money, upgrade to Pro or Power, connect your own Stripe account and publish. Floot keeps 1% of each live payment on Pro and 0% on Power, and nothing when your Stripe account is in Brazil or Mexico. See [Payments](https://floot.com/docs/integrations/payments). | | **Shipping** | Address checks, shipping rates, labels and tracking through Shippo, with no Shippo keys or webhooks to set up. The preview uses Floot's test shipping, so no real labels are bought. To buy real labels from the published app, connect your own Shippo account: press Publish, and the Publish screen stops and shows a **Login Shippo** button; Shippo bills you for labels directly, and Floot charges nothing for them. See [Shipping](https://floot.com/docs/integrations/shipping). | | **Floot Realtime** | Live updates over WebSockets: lists and dashboards that update when the data changes, who's here, who's typing, and chat. See [Realtime](https://floot.com/docs/integrations/realtime). | | **Scheduled jobs** | Run backend work on a cron schedule: nightly cleanups, weekly digests, morning reports. Schedules run in your published app while the project owner is on a paid plan; on a free plan they are saved but do not run. | | **Background jobs** | Kick off work that outlives the request. Immediate background tasks and fan-out work on every plan; delayed jobs and schedules your app creates at runtime need the project owner on a paid plan. See [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs). | | **Push notifications** | Send notifications to your users' phones and browsers, with an unread count on the app icon kept the same across a user's devices, and the sender's photo as the avatar on message notifications. Native push in the iOS and Android apps is set up when you connect an app store — see [Native app features](https://floot.com/docs/mobile-apps/native-features) and [Unread badges and sender photos](https://floot.com/docs/mobile-apps/native-features#unread-badges-and-sender-photos). | | **Analytics** | Built-in visitor tracking: page views, traffic sources, and trends, with no cookies. Opening the analytics dashboard requires a paid plan. See [Visitor analytics](https://floot.com/docs/integrations/analytics). | | **Hosting & CDN** | Globally distributed hosting with automatic SSL and scaling. Running a published app is metered as hosting usage: a free account has a one-time $3 hosting credit from signup and no recurring allowance, while paid plans include a monthly one. See [Reliability and limits](https://floot.com/docs/platform/reliability-and-limits). | > **Verify a sending domain before you go live:** Until your workspace has a verified sending domain, any message your app addresses to someone other than you is delivered to **you** instead — the subject is prefixed with the intended recipient, and a notice is added to the body explaining why. Nothing errors and nothing bounces, so this is easy to miss: you test a signup email on yourself, it arrives, and no customer ever receives one. Add and verify your domain in the **Email** tab of your project on floot.com — open the project from your dashboard, or from the preview link your assistant gave you. Adding an email domain requires a paid plan. > **You don't have to choose these by name:** Describe the outcome — "let users upload a profile photo", "email me when someone books" — and the right service gets reached for. ## Agents and chatbots Your app can have conversational agents of its own: a support bot, an assistant that answers from your data, or a background agent that works on a schedule. Conversation history, tool calling, memory, and streaming responses come with the built-in AI service — describe what the agent should be able to do and it gets wired in. Its usage is billed like any other Floot AI usage: credits from the project owner, unless you connect your own provider key. ## Bringing your own services Built-in does not mean locked in. If you already use Stripe, Twilio, Resend, Mapbox, an external Postgres database, or your own AI provider key, Floot connects to those instead. Browse the full directory on the [integrations page](https://floot.com/integrations). --- # Sign-in for your app's users > How login works in the app you build: email and password, password reset, your own first admin account, Google and Microsoft sign-in, and bringing your own. Source: https://floot.com/docs/integrations/app-sign-in Ask your assistant to "add login" and your app gets its own sign-up, sign-in, and sessions, stored in your project's database. This page covers what that sets up, how you and your users get back in when a password is lost, and the other ways to sign people in. > **Two different sign-ins:** Your **Floot account** is how you sign in to floot.com. It has no password: you use a code sent to your email, Google, GitHub, or Microsoft. Your **app's users** are separate accounts that live in your app's own database, and each project has its own. This page is about the second kind. ## What "add login" sets up Sign-up and sign-in with email and password, sessions, and a login page, backed by tables in your project's database. If the project has no database yet, one is created for it. Too many wrong passwords lock an email out for a short while — by default, five failed tries within 15 minutes lock it for 15 minutes. The preview and the published app use the same database, so the accounts are the same in both. The login pages themselves reach your published app at your next publish, as does any later change to sign-in. ## Your own account When your assistant sets up sign-in through the Floot connector, an account is created for you in the app at the same time: your Floot email, with the admin role and no password. To set the password, open your app's login page, click **Forgot password?**, and enter that email. No password passes through the chat. If an account with your email already existed, it is left as it was. ## Forgot password The login form comes with **Forgot password?**. It emails an 8-digit code to the account's address, and the user types the code and a new password into the same page. There is no link to click. - **A code lasts 15 minutes** — Only the newest code works; asking for another one cancels the one before. - **5 tries per code** — After five wrong tries the code stops working and a new one has to be requested. - **3 codes an hour** — Per account. A successful reset signs the account out everywhere and lifts a lockout from earlier wrong passwords. The form answers the same way whether or not the email has an account, so it cannot be used to find out who is registered. > **Until you verify a sending domain, the codes come to you:** Reset codes go out through Floot's built-in email. Until your project has a verified sending domain, mail addressed to anyone other than you is delivered to you instead, with the intended recipient at the front of the subject. So you can always reset your own account with no email setup at all, but your users' codes land in your inbox. Verify a domain, then ask your assistant to change the reset email's From address to one at that domain. See [Email](https://floot.com/docs/integrations/email). On a branch with **Send email** off, which includes every [isolated branch](https://floot.com/docs/branches/isolated-branches#testing-sign-in-and-email), no code is delivered to anyone: each one is kept in the branch's **Services → Email → Email logs**, where you can read it. Sign-in that was set up before this flow existed (early October 2026) does not have it. Ask your assistant to add a password reset to the login page. ## Resetting someone's password yourself The project and its database are yours, user accounts included. If a user cannot use the reset form, ask your assistant to do it for them: ``` Set a temporary password for jo@example.com in my Floot project xxx. ``` Have the user change it once they are in. Floot support cannot do this for you: your app's users are in your database, not in Floot's. On a branch with **Send email** off, such as an [isolated branch](https://floot.com/docs/branches/isolated-branches#testing-sign-in-and-email), a lost password there, your own admin one included, is reset the normal way: click **Forgot password?**, then read the code in **Services → Email → Email logs**. ## Locked out of your own app Try **Forgot password?** with your own email first; the code comes to you even with no email domain set up. On a branch with **Send email** off, it is not sent: read it in the branch's **Email logs** instead. If your account is missing, has the wrong role, or sign-up was closed before any account had a password, ask your assistant to restore your admin account. Floot tells your assistant that you are the project's owner, so it does not need to check who you are inside the app. If the step is stopped by your AI client rather than by Floot, see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). To avoid getting there: do not close sign-up, or put every page behind login, before at least one account has a working password. And publish again after a change to sign-in, or the published app keeps the old behaviour. ## Google and Microsoft sign-in Ask your assistant to add **Sign in with Google** or **Sign in with Microsoft**. Floot brokers both, so there is no OAuth app for you to register and no client secret to store. They sit beside email and password on the same login page, and need the built-in sign-in set up first. ## Other providers, and your own sign-in Apple, GitHub, LinkedIn, Slack, and other OAuth providers work with your own OAuth credentials: register an app with the provider, ask your assistant to add the provider, and enter the client secret through the secure link it gives you — see [Connecting external services](https://floot.com/docs/integrations/overview). You can also ask for a different scheme altogether, or connect an outside auth service over its API. An app does not need sign-in at all. And if the app is only for you and people you invite, such as a team tool, you may not need to build any: [publish it privately](https://floot.com/docs/projects/internal-publish) and Floot handles the sign-in, with no passwords for you to manage. --- # Payments > Take payments in every app you build through one Stripe account, with zero code setup: test in the preview for free, then connect your Stripe account to take real money. Source: https://floot.com/docs/integrations/payments Payments are built into Floot, with zero code setup: no Stripe keys, no webhooks. Connect your Stripe account once and every app you build can take payments, with no extra work per app. Each app keeps its own customers, orders and subscriptions, so nothing mixes between apps. Ask your assistant for a checkout, a shopping cart or a subscription and it is wired in. Try it free in the preview, no Stripe account needed. ## Test payments and real payments The preview and your published app take payments in different modes. Keep this in mind while you test: | | Preview | Published app | | --- | --- | --- | | **Stripe mode** | Test mode | Live mode | | **Stripe account** | A test account Floot creates for you | Your own Stripe account | | **Card to pay with** | 4242 4242 4242 4242 | A real card | | **Real money moves** | No | Yes | | **Floot plan needed** | Any, including Free | Pro or Power | | **Where payments show up** | **Services → Payments → Test payments**, or ask your assistant | Your Stripe Dashboard | ### The name buyers see in the preview In the preview, Stripe Checkout, receipts and the billing portal (its **Return to …** link) show the name of your test account, which starts as your Floot profile name or your team's name. To change it, open **Services → Payments**, click **Change** on the test mode card, enter the name and save. Stripe pages opened after that show the new name. - **It applies to every project you own.** You have one test account for all your projects, so the name is the same in the preview of each of them. There is no name per project. - **Only the project owner can change it**, and only from the Payments tab: your assistant cannot change it for you. - **The published app is not affected.** It shows your own Stripe account's public business name, which you change in your Stripe Dashboard. ## Add payments 1. **Ask your assistant** Describe what customers should be able to pay for. Start simple and add to it: ``` Add payments to my store. ``` ``` Add a shopping cart so customers can add multiple products, adjust quantities and check out securely. Show a payment confirmation when the charge succeeds. ``` 2. **Test it in the preview** Check out in the preview with the Stripe test card **4242 4242 4242 4242**, any future expiry date and any three-digit CVC. No money moves, and you do not need to publish first. ![Stripe Checkout in test mode with the 4242 test card filled in](https://floot.com/_cdn/blog-images/8ffe7b11bf80080cd7f5a8dd33710312c0036cb5/w1600.webp) *Stripe Checkout in the preview, in test mode.* If your checkout takes **US bank account** (ACH) payments, enter the account by hand with routing number **110000000** and account number **000123456789** (the payment succeeds) or **000555555559** (it succeeds, then the bank returns it, which reaches your app as a dispute). In your published app a bank payment takes up to 4 business days to succeed, so make sure your app waits for it before delivering. 3. **Check your test payments** Test payments do not appear in any Stripe Dashboard you can open. The project owner sees them under **Services → Payments**, in the **Test payments** list on the test mode card, newest first. A payment can take up to a minute to appear. Click **Refund** on a payment to refund all of it or part of it; your app in the preview receives the refund as it would a real one. The list shows test payments only. If you own the project, you can also ask your assistant: ``` Show me all successful test payments for this store. ``` ![An assistant listing a store's successful test payments with amounts and statuses](https://floot.com/_cdn/blog-images/fe5e8d29ccdcd01ad31a0808df105d54685d28a8/w1600.webp) *Test payments looked up by the assistant, here in ChatGPT.* 4. **Set up Stripe** When you are ready for real payments, the project owner needs Pro or Power first: on Free, Stripe setup is refused and **Services → Payments** shows **Upgrade** instead. Then click **Set up Stripe** on the Publish screen or under **Services → Payments** in your project. Create a new Stripe account or connect one you already have, then give Stripe the details it asks for (your business and the bank account to pay out to). ![The Publish screen saying Stripe setup is not finished, with a Set up Stripe button](https://floot.com/_cdn/blog-images/0503f406f5adff19f9aa65e01252eeb8fc1f159f/w1600.webp) *The Publish screen asks for Stripe setup before the app can take real payments.* ![The Set up Stripe dialog: create a new Stripe account or connect an existing one](https://floot.com/_cdn/blog-images/843b344ddf8913e93160fb9dfb98b564d4f253f1/w1600.webp) *Create a new Stripe account or connect one you already have.* 5. **Publish** Publish the app. From then on, customers pay with real cards, and each payment appears in your own Stripe Dashboard. You can publish once Stripe setup is finished and the project owner is on Pro or Power. ## Plans and fees | Plan | Test payments in the preview | Real payments | Floot's fee | | --- | --- | --- | --- | | **Free** | Yes | No | None | | **Pro** | Yes | Yes | 1% of each payment | | **Power** | Yes | Yes | 0% of each payment | Stripe's own processing fees apply on every plan. Floot's fee is taken by Stripe at the time of the payment, so you never get a separate bill for it. Floot takes no fee when your Stripe account is in Brazil or Mexico, because Stripe does not allow it there; **Services → Payments** says so. The fee on a subscription is set when the subscription starts. If you change plans later, existing subscriptions keep the fee they started with. If your paid plan ends, the published app stops taking real payments until you upgrade again; test mode in the preview keeps working. ## What you can build - **One-time payments and carts:** a product page, a shopping cart, a ticket or a deposit. - **Subscriptions:** monthly or yearly plans, per-seat pricing and add-ons, with a billing page where customers update their card or cancel. - **Discounts:** coupons and promotion codes. - **Refunds:** ask your assistant to add a refund button for your admins. - **Sales tax and addresses:** Stripe Tax, with the billing or shipping address and tax ID collected at checkout. See [Sales tax](https://floot.com/docs/integrations/payments#sales-tax). A few prompts to start from: ``` Add a $25 ticket payment for my workshop. Limit registrations to 30 people. ``` ``` Create a pricing page with Starter, Growth and Scale plans. Each plan has monthly and yearly billing, a team-member counter and an optional priority support add-on. Show the total above the checkout button. ``` ![Stripe test checkout for an $89 monthly plan, listing the base fee, team members, editors and an add-on](https://floot.com/_cdn/blog-images/dda937e2f23795eb4a872ea0542092f8e20de289/w1600.webp) *A subscription with per-seat pricing and an add-on, each on its own line at checkout.* ``` Require a $20 deposit to confirm a reservation. Record the deposit against the booking and show the remaining balance. ``` > **Emailing your customers:** Receipts and confirmations that your app sends itself go only to you until your workspace has a verified sending domain. See [Email](https://floot.com/docs/integrations/email). ## Sales tax In your published app, Stripe Checkout's tax and address settings go to Stripe as your app sets them: Floot does not change them. That covers automatic tax (Stripe Tax), billing and shipping address collection, and tax ID collection. Stripe Tax then calculates the tax on your own Stripe account, so set it up there first: in your Stripe Dashboard, under **Settings → Tax**, add your head office and the places you are registered to collect tax. Until then, a checkout with automatic tax fails. Ask your assistant: ``` Turn on Stripe automatic tax at checkout and collect the customer's billing address. ``` **In the preview**, automatic tax does not work: the test account Floot creates for you has no Stripe Tax setup and cannot have one. To see tax there, ask your assistant to add fixed tax rates that you choose, for example a sales tax percentage per state. These are your own rates, not Stripe's calculation. ## Your Stripe account - **One account for all your projects.** Your Stripe account is connected to your Floot account, so every project you own takes real payments into the same Stripe account. Each app only sees its own customers, orders and subscriptions; your Stripe Dashboard shows them all in one place. - **Only the owner sets it up.** Collaborators can build and test payments, but only the project owner can set up Stripe, and real payments go to the owner's Stripe account. - **Manage money in Stripe.** Refunds, payouts, disputes and customers are in your Stripe Dashboard. Open it from **Services → Payments → Open Stripe dashboard**. - **Your assistant can look things up.** Ask it about a payment, in the preview or the published app, instead of writing code to find out what happened. ## Using a different Stripe account **Services → Payments** shows which Stripe account is connected, by the name, email and creation date Stripe shows for it. Once live payments work, to send them somewhere else, for example after losing access to the account or to stop sharing one with an agency, click **Use a different Stripe account**, sign in to Stripe and pick the account. Only the project owner can do this, and only from the Payments tab: your assistant cannot switch it for you. - **It applies to every project you own.** You have one Stripe account for all your projects, so from then on live payments in all of them go to the new account. - **The new account must already take payments.** If Stripe has not finished setting it up, nothing changes and your published apps keep taking payments into the current account. Finish its setup in Stripe, then try again. - **Cancel live subscriptions first.** Stripe cannot move subscriptions between accounts, so the switch is refused while the current account still has active live subscriptions made through Floot. Cancel them in your Stripe Dashboard, then switch. - **Nothing is moved.** Past payments, customers and products stay in the old account, where you still manage and refund them in Stripe. The new account starts empty, so ask your assistant to recreate the products and prices your app sells. A checkout link made before the switch still pays into the old account. **If Stripe setup is not finished**, the tab shows **Finish Stripe setup** instead. To use another Stripe account rather than finish the connected one, click **Connect a different Stripe account** (or **Finish Stripe setup** → **Connect an existing Stripe account**), sign in to Stripe and pick the account. The new account replaces the unfinished one; the same rules apply (every project you own, nothing moved). Do this too after revoking Floot's access to the old account in Stripe. > **Check which account Stripe has selected:** Stripe lists every account you can sign in to and may preselect one it created for you on an earlier try, often called **Unnamed account**. Select the account you mean before you press **Connect**. If you press **Create a new account** or leave with **Return to Floot**, nothing you meant is connected. ## Turning payments off To publish without payments for now, open **Services → Payments** and click **Turn off**. Checkout stops working in the preview and the published app, and publishing no longer needs Stripe. Your Stripe setup is kept, so you can turn payments back on there at any time. Only the project owner can do this, and a project with active live subscriptions cannot be turned off until you cancel them in your Stripe Dashboard. > **Already using your own Stripe keys?:** Apps that connect to Stripe with their own secret key keep working that way. See [Connecting external services](https://floot.com/docs/integrations/overview#payments). ## Walkthrough - [How to Add Payments in Floot](https://floot.com/blog/how-to-add-payments-in-floot): A jewellery store and a SaaS pricing page built step by step, from a test checkout in the preview to a real $1 payment. --- # Shipping > Check addresses, quote rates, buy labels and track parcels through Shippo: test in the preview for free, then connect your own Shippo account to buy real labels. Source: https://floot.com/docs/integrations/shipping Shipping is built into Floot. Ask your assistant for shipping rates at checkout, a button that prints a label, or a tracking page, and it is wired in through Shippo, with no Shippo keys or webhooks to set up. You can try it all in the preview without a Shippo account, and connect your own when you are ready to ship for real. ## Test shipping and real shipping The preview and your published app ship in different modes. Your app's code is the same in both: | | Preview | Published app | | --- | --- | --- | | **Shippo account** | None needed: Floot's test shipping | Your own Shippo account | | **Rates** | Sample rates | Real carrier rates from your Shippo account | | **Labels** | Sample labels you cannot ship with | Real labels | | **Tracking** | Stays unknown (no parcel moves) | Updates as the carrier scans the parcel | | **Cost** | Nothing | Shippo bills you for each label | ## Add shipping 1. **Ask your assistant** Describe what should happen to an order. Tell it the address you ship from and the usual size and weight of a parcel: ``` Add shipping to my store. Check the customer's address, show rates at checkout and let them pick one. I ship from 123 Main St, Austin TX 78701, in 10×8×4 inch boxes of about 2 lb. ``` ``` Add an orders page for me where I can buy and print a label for each paid order, and email the customer their tracking link. ``` 2. **Test it in the preview** Try the whole flow in the preview: enter an address, get rates, buy a label and open it. Rates and labels there are samples, nothing is bought and no Shippo account is needed. You do not need to publish first. 3. **Connect Shippo** When you are ready to ship for real, open the Publish screen and press **Publish**. The first publish stops with "Shipping is not set up for the published app yet" and shows a **Login Shippo** button; the button is not there before you press Publish. Click it and sign in to your Shippo account, or create one. Only the project owner can connect Shippo; if a collaborator publishes first, the Publish screen asks them to have the owner do it. 4. **Publish** Publish the app again. From then on, rates are real, every label your app buys is bought on your Shippo account, and tracking updates arrive as carriers scan each parcel. ## What you can build - **Address checks:** catch a typo in an address before you quote or ship, and use the corrected address. - **Rates at checkout:** show carriers, services, prices and delivery estimates, and let the customer pick one. Pair it with [Payments](https://floot.com/docs/integrations/payments) to charge for shipping. - **Labels:** buy a label once an order is paid, or from an admin page, as a PDF, a 4×6 PDF for label printers, a PNG or ZPL. - **International shipping:** customs declarations and commercial invoices for parcels that cross a border. - **Tracking:** a tracking page for each order, and actions when a parcel moves, such as emailing the customer or marking the order shipped. - **Voiding labels:** cancel a label bought by mistake and not used. A few prompts to start from: ``` When a customer pays, buy the cheapest USPS label for their order and show me the label to print on the order page. ``` ``` Add a tracking page for each order that shows where the parcel is and when it should arrive. Email the customer when it is delivered. ``` ``` Let me ship to Canada and the UK. Fill in the customs form from the products in the order. ``` > **Emailing your customers:** Shipping confirmations and tracking emails that your app sends go only to you until your workspace has a verified sending domain. See [Email](https://floot.com/docs/integrations/email). ## Your Shippo account - **One account for all your projects.** Your Shippo account is connected to your Floot account, so every project you own buys real labels on the same Shippo account. - **Shippo bills you for labels.** Labels are paid for on your Shippo account, under Shippo's terms. Floot charges nothing for labels or shipping calls. - **Refunds go through Shippo.** Voiding an unused label from your app asks Shippo for a refund, which Shippo handles under its terms. - **You are the shipper.** Addresses, weights, packaging, carrier rules and claims are between you, your customer and the carrier. - **If your Shippo sign-in expires**, the published app cannot buy labels until you sign in again: publish the app again, and click **Login Shippo** when the Publish screen shows it. ## Turning shipping off If publishing asks for Shippo and your app no longer ships anything through Floot, click **Turn off shipping** on the Publish screen, or ask your assistant to turn shipping off. Publishing then no longer needs a Shippo account. Your app's data and your Shippo connection are kept, so you can turn shipping back on later. > **Already using your own Shippo key?:** Apps that call Shippo directly with their own API key keep working that way. See [Connecting external services](https://floot.com/docs/integrations/overview). --- # Floot AI in your app > The AI service your app calls for its own users: what it does, the models, how it spends credits, how to switch it off, and using your own provider key. Source: https://floot.com/docs/integrations/floot-ai Floot AI is the AI your app uses for its own features: a chatbot, a summarizer, an image generator. It needs no provider account and no API key. It is not the assistant you build with — Claude or ChatGPT builds the app, and Floot AI is what the finished app calls when people use it. ## What it can do - **Text** — generation, summaries, classification, and extraction, with tool calling and web search - **Images** — generation and editing - **Embeddings** — for semantic search over your own content - **Transcription** — speech to text - **Decisions** — fast yes/no, pick-one and rating answers about text, records or images, with Jev Chatbots and agents are built on the same service, with conversation history and memory kept in your app's database — see [What's built in](https://floot.com/docs/integrations/whats-built-in). ## Models Your app's code names the model for each call. Two chat models cover most features: | Model | Use it for | | --- | --- | | `gpt-6-luna` | The fast, low-cost choice: summaries, drafts, classification, short replies, and anything a person is waiting on. Reads images and PDFs and can search the web. | | `gpt-6-sol` | Hard work: reasoning, coding, and agents that work through many steps. Slower and costs more than `gpt-6-luna`. Also has built-in web search, a code interpreter, and image generation inside a chat. | Other chat models are available too: `gpt-6.1-terra` (between those two in price), `gpt-6-astra` (OpenAI's most capable, and its most expensive), Anthropic's `claude-sonnet-latest` and `claude-opus-latest`, Google's `gemini-3.8-flash` and `gemini-3.5-flash-lite` (which also take audio and video), and `glm-5` and `glm-5-flash`. Your assistant can pick one when it suits a feature better, or when you ask for it. `gpt-6-sol`, `gpt-6-astra` and the two Claude names stand for the current version of that model, so your app moves to a newer one without a change; the `model` field in each answer names the one that answered. One app can mix them: `gpt-6-luna` for what a person waits on, `gpt-6-sol` for hard work in the background. Ask your assistant which model a feature uses and why, and ask it to switch if answers are too slow or too shallow. For a model that is not listed here, use your own provider key, below. ### Options for the Claude models `claude-sonnet-latest` and `claude-opus-latest` take Anthropic's request format, and Floot passes it to Anthropic unchanged: OpenAI-style `instructions` and `input` are not turned into messages. Every call sets `model`, `max_tokens` and `messages`, and `messages` must end with a user message. `max_tokens` is a whole number up to 128,000; for more than about 16,000, set `stream: true` so the answer streams in. These settings are optional: - `system` — the system prompt - `tools`, with `tool_choice` set to `auto` or `none` - `output_config.effort` — `low`, `medium`, `high`, `xhigh` or `max`: how hard the model works. Lower is faster and spends fewer credits. Without it, Sonnet works at `high` and Opus at `medium`. - `output_config.format` — a JSON schema the answer must follow, for structured output - `stop_sequences` - `thinking` — `adaptive`, which is also what you get without it. On `claude-sonnet-latest` only, `between_tools` turns thinking off except between tool calls; it works with an effort of `high` or lower. These models refuse a call that sets `temperature`, `top_p` or `top_k`, forces a tool (`tool_choice` set to `any` or to one tool), sets a thinking budget or turns thinking off, or ends `messages` with an assistant message (a prefill). To get a tool called, say so in the prompt; to get JSON back, use `output_config.format`. A JSON schema in `output_config.format` must also stay within [Anthropic's limits for structured output](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#json-schema-limitations): no number or length bounds such as `minimum`, `maximum` or `maxItems`, no `enum` on a field that can also be null (type `["string", "null"]`), and at most 16 fields that can be null or take more than one type. A schema written for the OpenAI models often breaks these rules, and the call then fails with an error that names the problem. ### Image models Images are made and edited with two models, each in two versions: | Model | Use it for | | --- | --- | | `gpt-image-2.5-flare` (default) | Most images: illustrations, product shots, icons and pictures with a transparent background. The low-cost choice, ready in about 15 seconds. `gpt-image-2.5-sunburst` costs the same and makes more precise edits. | | `gpt-image-2.6-flare` | When quality matters more than price, at about three times the cost of 2.5. It is also the fastest, ready in under 10 seconds. It can also make **animated GIFs** and **SVG vector images**, and when editing a picture it can follow circles or sketches drawn on it to show what to change. `gpt-image-2.6-sunburst` costs the same and takes longer. | An SVG is written by a text model after the image is made, so it spends a little extra for that model on top of the image. Apps that still ask for `gpt-image-1.5`, which OpenAI retires on December 1, 2026, are now served by `gpt-image-2.5-flare` at its lower price: the code keeps working, but the images can look different. To move an image feature to another model, ask your assistant. ### Jev, for decisions `jev-latest` is TypeSafe's Jev, a model that makes decisions instead of writing text. Your app gives it something to look at (a message, a record, a chat log, a photo) and a few questions, and it answers each one with a **yes/no probability**, a **pick from your options** with a confidence score, or a **rating on your scale**. It usually answers in under half a second, and most calls cost 1 credit, even with several questions about the same thing. Use it to route requests, tag content, screen messages, or let the app act on its own only when the answer is sure. - **Images** — it can look at PNG or JPEG pictures, up to 16 MB each, such as uploaded photos or screenshots. Images count as input, billed at the same rate as text. - **Where something is** — a **box** question says where something is in an image, as its top, bottom, left and right edges. It always returns a box, even when the thing is not there, so ask a yes/no question about it in the same call. - **Long inputs** — for a document or chat log too long for it (about 64,000 tokens), a long-context mode raises the limit to 262,000 tokens at the same price per token. Answers are slower and less accurate, so trim the input first when you can. > **Images and box questions are early:** TypeSafe, which makes Jev, says image input and box questions are not yet production quality, and that how they work can change between releases. Try them for prototypes, and have a person check anything that matters before the app acts on it. ## What it costs Floot AI spends credits, the same credits image generation spends. They come from the project **owner's** balance, whoever is using the app, and calls made while you test in the preview count too. Each response reports the credits it used, so your app can show or record its own usage. **Services → AI** in your project shows that project's total and a breakdown. Your account's balance is on the [plan and usage page](https://floot.com/dashboard/plan-usage). For what each plan includes and how to buy more, see [Billing, credits, and plans](https://floot.com/docs/faqs/billing-credits-and-plans). > **Your users spend your credits:** Floot AI has no per-user limit of its own, and its rate limit only stops runaway loops: 120 calls a minute per project on average, with bursts of up to 600 after a quiet spell, counted separately for the preview and the published app; past it, calls fail with a `RATE_LIMITED` error. Every call draws on your balance until it is empty, including while you are not building. When it runs out, AI calls fail with an out-of-credits error until you add credits. A free account's 3,000 credits are granted once, at signup, and do not refill. If the app is open to the public, ask your assistant to put AI features behind sign-in and to add a limit per user. ## Switching it off for a project Open **Services → AI** and turn the **Floot AI** switch off. It applies to that project only, and it takes effect for the preview and the published app without a publish. While it is off, every Floot AI call from that project is refused, so an AI feature that has not been moved to another provider stops working. Turn the switch back on to undo it. ## Using your own provider key If you would rather pay a provider directly, or need a model Floot AI does not offer, tell your assistant you want to use your own OpenAI, Anthropic, or other provider key instead of Floot AI. You enter the key through the secure link it gives you — see [Connecting external services](https://floot.com/docs/integrations/overview) — and your app then calls the provider itself. Those calls spend no Floot credits; you pay the provider. ## Things to know - **It does not learn from your app** — Each call stands alone. The model knows only what your app sends with the request, so a feature that should answer from your data has to pass that data in. That is what gets built when you ask for a chatbot that knows your content. - **Some answers take a while** — A model that reasons before it answers, such as `gpt-6-sol` on a hard task, can take tens of seconds or more, and a call that uses tools such as web search takes longer than one that does not. That is the model working, not a fault. For something a person waits on, ask your assistant to use `gpt-6-luna`, or to stream the answer as it is written. --- # Scheduled jobs and background tasks > Running work outside a request: background tasks, timers, and scheduled jobs — their limits, where to see them, and when they run. Source: https://floot.com/docs/integrations/jobs A Floot backend has no always-on process. Work that should not hold up a request, or should happen later, or should repeat on a schedule, runs as a job instead. There are three kinds, and your assistant picks the right one when you describe what you want. | Kind | What it does | Example | Plan | | --- | --- | --- | --- | | **Background task** | Runs now, outside the request that started it. One task can start many more. | Process an upload; build a report for each of 500 customers | Every plan | | **Timer** | Runs once, at a time between 1 minute and 7 days from now. | Send a reminder an hour before a booking; expire an invite after 24 hours | Paid | | **Scheduled job** | Runs on a repeating schedule, in the time zone you choose. | Email a digest every morning at 8 | Paid | "Paid" means the project **owner** is on a paid plan. A collaborator's own plan does not count. ## Setting one up Ask your assistant. There is no create button; jobs are part of your app's code. ``` Every weekday at 9am New York time, email me a summary of yesterday's orders. ``` ``` When a booking is made, send the customer a reminder one hour before it starts. ``` ## Where to see them Open your project on floot.com and go to **Services → Schedules**. Each scheduled job is listed with its schedule, an on/off switch, **Run now**, and **Delete task**. **Run now** runs the job once, straight away, with the project's current code — the way to test a job without waiting for its time. It works on your real data: the preview and the published app share one database. Under each job are the runs started with **Run now** or by your assistant: the last 10, with older ones under **Earlier runs**. Each shows when it ran, who started it ("via MCP" when an assistant did), and how it ended: **Running**, **Succeeded**, **Failed**, **Timed out**, **Skipped** (its previous run was still going) or **No answer** (no result came back; its log lines may say why). A failed run shows its error; **Show full error** opens the rest. A run is listed as soon as it starts and updates until it ends. Your assistant reads the same history, the latest 20 runs with their errors, so after it runs a job it can check whether the job worked. Only the latest 50 runs of each job are kept, and runs the schedule starts by itself are not listed. Timers and repeating tasks that your app created while running are listed below them, under **Background tasks**, where you can cancel any of them. ## When scheduled jobs run - **In the published app.** A job you have just added does not run on its schedule until you publish. **Run now** works before that. - **While the project owner is on a paid plan.** On a free plan the job is saved and listed, but its schedule does not run it. **Run now** works on every plan, also for a job that is switched off. - **With the code and schedule of your last publish.** Editing a job, changing its time, or switching it off in the panel changes nothing in the published app until you publish again. To stop a job that is running in the published app, switch it off and then publish. - **One run at a time.** If a job's previous run is still going, including the tasks that run started, the next one is skipped rather than stacked on top. - **Not while hosting is paused.** If your hosting balance goes negative, scheduled jobs and repeating tasks in your published apps pause until it is paid — see [Hosting](https://floot.com/docs/faqs/hosting). A timer that is still waiting when your app is taken offline or reaches its daily spend limit is held, and runs when the app comes back, a minute later if its time passed in between. One due within about 30 seconds of the pause is not held. Timers follow the app they were set in. One set by your published app fires in the published app. One set while you test in the preview fires in the preview only if the preview was open in the 15 minutes before it is due. When you publish, timers and repeating tasks the preview set that are still waiting move to the published app and stop firing in the preview. ## Limits | Limit | Value | | --- | --- | | Scheduled jobs per project | 50 | | Shortest schedule | Every 5 minutes | | Timers waiting at once | 25 per project, each 1 minute to 7 days out | | Repeating tasks your app creates while running | 10 per project, every 5 minutes at most | | Longest single run | 15 minutes | | Data passed to a task | 100 KB | A run that reaches 15 minutes is stopped. It is started again only if it had done no work yet, or if it asked for retries (see below). For longer work, ask your assistant to split it into steps: each step saves its place in the database and queues the next one. ## When a task fails A background task, timer or repeating task has nobody waiting on it, so a failure is silent unless your app is told. Floot can do two things about it. Neither is on by default; ask your assistant for them when you describe the job. - **Tell your app.** The task names another task that Floot runs when it fails for good, after its last retry. Use it to mark the work as failed, email you, or start the work again. For a repeating task, each failed run is reported and the schedule keeps going. It is also called when a run was stopped outright (out of memory, a crash, or still busy at the 15-minute limit) or never started because it waited more than an hour. Rarely it is called twice for the same run, so make it safe to run twice too. - **Run it again.** A task that throws an error or reaches its time limit runs again, up to 3 more times, about 2, 4 and 8 seconds apart. Ask for this only for work that is safe to run twice: a retry runs the whole task again, even when the failed attempt had already written to the database, charged a card or sent an email. ``` Retry the invoice sync up to 3 times. If it still fails, email me. ``` ``` When a reminder timer fails, mark the booking and set it again. ``` - **Without retries**, a task that fails or is cut off is not run again. The exception is a run that failed before doing any work, because the database connection failed or it reached its time limit before its first query: Floot runs that again by itself. Either way, a task runs at most 4 times in all. - **A run stopped outright**, for example because it ran out of memory, is never run again, even with retries. Floot still tells your app about it, as above. - **Scheduled jobs** listed at the top of **Services → Schedules** have neither option. A run you start with **Run now** shows its error under the job, but a run on the schedule does not. To hear about a failed run, ask your assistant to have the job hand its work to a background task that has them, or record its own errors. - **Apps last published before November 20, 2026** get all of this the next time you publish them. Have a task write its progress and its result to your database, and make it safe to run twice, so that a retry does no harm. Your assistant knows these patterns — tell it the work must not be lost. ## What they cost Jobs are metered as ordinary hosting usage: the time your backend runs. The less obvious cost is the database. Every run that reads the database wakes it, and it then stays awake for a while, so a job that checks every few minutes whether there is anything to do keeps the database running much of the day, even when the answer is always no. The Schedules panel shows an estimate next to any job that runs that often. The fix is usually a timer instead of a frequent job: when the deadline is created, set a timer for the moment the work is due, and nothing runs in between. Ask your assistant to make that change. --- # Realtime > Keep pages up to date the moment data changes, and show who's here, who's typing and where their cursor is, without refreshing. Source: https://floot.com/docs/integrations/realtime Floot Realtime keeps your app's screens up to date while people look at them. When someone changes something, everyone watching sees it, with no refresh button and no page asking the server again every few seconds. Every Floot project has it on every plan; ask your assistant for the behaviour you want and it gets wired in. | What you want | What it does | Example | | --- | --- | --- | | **A list or page that stays up to date** | When the data behind a list or page changes, every screen showing it updates by itself. | A scoreboard, an order queue, a shared task board, a class quiz the teacher watches | | **Shared moment-to-moment state** | Small things people do right now, shown to the others on the same page and never saved. | "Sam is typing…", live cursors, who has pressed Ready, which item someone has selected | | **Who's here** | The people online in a room, document or team, updated as they come and go. | Avatars at the top of a shared document, "12 visitors online" | | **Messages and events** | Messages pushed to the people who should see them. | Chat, notifications, an AI reply appearing as it is written | ## How to use it Describe what should update and who should see it. You don't need to name the feature. ``` When anyone on a team edits their board, update it right away for that team and for the facilitator, without reloading. ``` ``` In the chat, show "… is typing" under the message box while the other person types. ``` ``` Show the avatars of everyone who has this document open. ``` Test it with the preview open in two browser windows, or on your computer and your phone, signed in as two different people. ## Live lists and pages instead of refreshing A page that asks the server for fresh data every few seconds costs you even when nothing has changed: each request runs your backend and reads the database, and the database never gets the minute of quiet it needs to go to sleep, so it is billed for as long as anyone has that page open. See [Database](https://floot.com/docs/platform/database). Asking less often does not fix this: asking every 30 seconds still keeps it awake. A live list or page loads its data once. When your backend saves a change, it sends the new data to the screens showing it, or tells them to load it again. Nothing runs while nothing changes. If a page of yours asks for fresh data on a timer and its data changes while people watch, ask your assistant: ``` This page refreshes every few seconds. Make it a live query that updates when the data changes, and remove the timer. ``` ## Typing, cursors and who's ready Shared state is for things that matter only while they are happening. Each person's screen sends its value only when it changes, not on every keystroke, and only the screens that show it receive it: a Ready flag the teacher watches is not sent to every student. Nothing is saved. When someone clears their value it disappears for the others at once; when they close the page or lose their connection, it disappears within about a minute. ## Who receives what Your app decides who may receive each update, from who is signed in. In a shared game, or a document opened by link, everyone in it can see everyone else. An app with private data, such as a support desk or a dashboard per customer, sends each person only their own updates. Tell your assistant who should see what, and check it in two windows signed in as different people. ## When a screen gets no updates The most common reason a page stays connected but never updates is that your app's rules on who may receive what don't include that page's updates for this person. Floot refuses them, and the browser console shows a warning that starts with `Floot Realtime: subscribe to` and ends with why it `was refused`. Ask your assistant to look for it: ``` This page doesn't update live. Check the console for a Floot Realtime warning. ``` | Reason in the warning | What it means | | --- | --- | | `not_granted` | Your app's rules don't let this person receive these updates. If they should, your assistant adds it to the rules; if they shouldn't, the page is right to stay quiet. | | `limit_reached` | One screen is listening to more than 256 things at once. Your assistant can combine them, for example one update per list instead of one per row. | | `invalid_channel` | The app asked for a name Floot doesn't allow, such as one with `#` in it. | Your app can also tell the person instead of showing an empty page. Ask your assistant: "When someone opens a room they can't access, show 'You don't have access' instead of an empty room." The app asks again the next time the screen connects afresh, for example after a reload. ## Upgrading a project that already used Realtime Live lists and shared state came to Floot Realtime on 19 October 2026, together with a client that reconnects without flooding your backend after a dropped connection and that bundles messages sent close together into one request. A project that already had Realtime before then keeps its older copy until it is upgraded. Your assistant upgrades it when it next works on realtime in that project, or straight away if you ask: ``` Upgrade this project's realtime client to the latest version. ``` The same request brings in the refused-update warning described above, which came on 19 November 2026, for projects made or upgraded before then. The upgrade changes your project's code, so publish afterwards for it to reach your published app. ## What it costs Realtime is metered as hosting usage, billed to the project owner: each message delivered to a screen, the time screens stay connected, and each new connection. A message sent to many people counts once for each person who receives it, so send updates only to the people whose screen changes. See [Reliability and limits](https://floot.com/docs/platform/reliability-and-limits) for how hosting is billed, and [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting) for what each app uses. ## Limits - **Large data is reloaded, not sent.** When a live list's new data is over 100 KB, screens are told to load it again instead of receiving it. - **A screen reloads a live list at most about once a second**, however many changes arrive in that second. - **Messages are not kept for screens that are offline.** A screen that reconnects loads its live lists again, so it catches up, but messages sent while it was away are not replayed. Save anything that matters to your database. - **It is not a game server.** For fast multiplayer action with many updates a second, your assistant connects the players directly and uses Realtime only to set that up. --- # Email > Sending and receiving email from your app: verifying a domain, daily limits, bulk sends, bounces, and what it costs. Source: https://floot.com/docs/integrations/email Every Floot app can send and receive email through Floot's own mail service — no provider account and no API key. Ask your assistant for the feature ("email me when someone books", "let customers write to support@") and it wires it in. This page covers what you set up yourself, and the limits worth knowing. ## Verify a sending domain before you go live Until your project has a verified sending domain, your app's mail goes out from Floot's shared domain, and anything addressed to someone other than you is delivered to **you** instead, with `[target: …]` in front of the subject and a notice in the body explaining why. That is handy while you test and wrong for a live app: nothing errors, so it is easy to miss that no customer ever received a signup email. Bulk sends are refused outright until a domain is verified. Before then, mail leaves from `noreply@emailservice.floot.com` under the display name your app set, from the preview as well as from the published app. Mail addressed to your own Floot account email arrives normally, with no prefix and no notice. 1. **Open the Email tab** Open your project on floot.com, go to **Services → Email**, and click **Add email domain**. Adding a domain requires a paid plan. 2. **Enter the domain to send from** If your main domain already serves your website or has mailboxes, use a subdomain such as `mail.yourdomain.com` — Floot suggests one when it spots a likely conflict. Your app can then send from any address at that domain. 3. **Add the DNS records** **Set up automatically** opens a window where you sign in to your DNS provider and approve the records, and adds them for you (Floot never sees that sign-in); **Set up manually** shows them so you can copy them yourself. Verification usually takes minutes but can take up to 24 hours, and Floot keeps checking while the Email tab is open. Sending needs five records: three DKIM `CNAME` records, one SPF `TXT` record, and one DMARC `TXT` record, all on or under the name you entered. None of them is an `MX` record, so mailboxes you already have on that domain keep working. A `floot.app` address cannot be a sending domain. ### Send from an address at the verified domain Verifying a domain does not change the address your app sends from. Floot looks at the From address of each email: if it is at your verified domain, the email goes to its real recipient. If it is at any other domain, including a placeholder address the app started with, it still leaves from Floot's shared domain and still lands in your own inbox. If mail keeps coming to you after verification, ask your assistant to change the From address to one at the verified domain, exactly as you entered it (`mail.yourdomain.com` and `yourdomain.com` are different domains here). ### Send replies to an inbox you already have Your app can give each email a Reply-To address, one per email, bulk sends included, so that when someone clicks **Reply** their answer goes there instead of to the From address. It can be any address, and does not have to be at your sending domain: mail can go out from `hello@mail.yourdomain.com` with replies going to `you@yourdomain.com` or a Gmail inbox. Ask your assistant to set a Reply-To on the emails your app sends. ## If verification does not finish The domain shows **Verifying DNS** until all three DKIM records can be looked up. One missing or mistyped record is enough to keep it there. - **See which record Floot is still waiting for.** Click **Check DNS records** on the domain in the Email tab (or **View DNS records** in its **⋮** menu). Each record is marked **Found**, **Missing**, **Wrong value** or **Wrong name**, and the window names the nameservers that answer for your domain. Records only count when they are added at the provider that runs those nameservers, which is not always where you bought the domain. - **On Cloudflare, turn the proxy off for the DKIM records.** Set each of the three `CNAME` records to **DNS only** (the grey cloud). - **Keep one SPF record and one DMARC record per name.** If the name already has an SPF `TXT` record, add `include:amazonses.com` to it instead of publishing a second one. Two DMARC records on the same name cancel each other out. - **Restart the check once the records are right.** If the setup window says it is taking longer than usual, click **Restart verification**, then check the records it shows against your DNS once more, in case they changed. - **Not sending: verification stopped.** The mail service checks a new domain's DKIM records for about three days, then stops and does not look again by itself, however correct your DNS is now. Put all three records in place, then click **Restart verification** on the domain in the Email tab. ### If a verified domain stops sending The mail service keeps checking the DKIM records after verification. If they disappear from your DNS, the domain shows **Sending: DKIM records missing**: email still goes out for about three days, then the domain turns to **Not sending: verification failed** and every email from it is refused. Click **Check DNS records** to see what is missing, add it back at your DNS provider, and use **Fix DNS records** if the domain has stopped sending. A deliverability checker that reports SPF as "not aligned" is describing normal behaviour: mail sent through Floot passes DMARC on its DKIM signature. ## Changing your DMARC policy Floot sets up your domain's DMARC record as `p=none`, which only reports: mail that claims to come from your domain but fails SPF and DKIM is still delivered. If your domain already has a valid DMARC record when you set up email automatically, Floot keeps it instead of writing `p=none` over it. To make it stricter, for example because verified brand logos (BIMI) need it, open the domain's **⋮** menu in the Email tab and choose **DMARC policy**. The window shows the DMARC record in your DNS now and offers **Report only** (`p=none`), **Quarantine** (`p=quarantine`: failing mail goes to spam, which is enough for BIMI) and **Reject** (`p=reject`: failing mail is refused). **Update automatically** connects to your DNS provider and changes only the policy of the record that is there, keeping its other settings. The item appears once the domain is verified, for people who can manage domains. - **Check your other senders first.** Before you switch to quarantine or reject, make sure every other service that sends as your domain, such as Google Workspace or a newsletter tool, passes SPF or DKIM for it. Floot's own mail does. Mail from a service that does not goes to spam or is refused. - **Domains set up automatically: use the button.** At some DNS providers, editing by hand one of the records an automatic setup added switches off the whole setup, your website's records included. **Update automatically** changes the record without that. - **Changing it by hand.** The window also shows the record to copy. Edit the existing `TXT` record at `_dmarc` rather than adding a second one: two DMARC records cancel each other out, and the window says so when it finds more than one. ## Receiving email Your app can also receive email at its domain — a support inbox, replies to notifications, mail that turns into tasks. Sending has to be verified first. Then open the domain's **⋮** menu in the Email tab, choose **Set up receiving emails**, and add the one MX record it shows. A subdomain is the safe choice: receiving on your root domain takes over mail for any mailboxes already there. When your domain already receives mail somewhere else, Floot names that provider and suggests a subdomain such as `mail.yourdomain.com`. Your assistant writes the code that handles incoming mail. Mail that the spam or virus scan flags is never handed to it; it shows in the Email tab as **rejected**, with the reason. A received email marked **Not handled** was received and kept, but your app has no code for incoming mail yet, so it was not passed on. Ask your assistant to handle incoming email, and publish if your app is live. The emails waiting there are then passed to your app automatically within about 6 hours. ### There is no inbox The Email tab is a log, not a mailbox. It lists what arrived and what happened to it, but floot.com has no screen to read mail in, write a new message, or reply. If you want that, ask your assistant to build it into your app: an inbox page that stores incoming mail in your database and sends replies from your domain. ## Limits and cost - **1,000 emails a day** — Per project, counted separately for the preview and the published app, per UTC day, on every plan. If a legitimate app needs more, contact support. - **10 a day from Floot's shared domain** — Until the project has a verified sending domain, its mail (which only reaches you) is capped at 10 emails a day on the free plan and 100 on a paid plan, counted the same way. - **When a paid plan ends** — Sending from your own domain needs the domain owner on a paid plan. Once a cancelled plan ends, or 3 days after a failed payment, the domain stays verified and your DNS records stay as they are, but mail is sent as if the project had no domain: each email goes to you from Floot's shared domain, with the intended recipient in the subject and a notice saying why, up to 10 a day, and bulk sends are refused. Projects the domain is shared with follow the same plan. Subscribe again and the domain sends to your recipients again within minutes, with nothing to set up. - **Bulk sending** — For the same email to many people, your assistant uses a bulk send: one template, up to 200 recipients per call, with per-recipient details and unsubscribe headers. It is paced by the mail system, so a long list takes a while. - **Cost** — Email is metered as hosting usage: about $0.30 per 1,000 emails sent and $0.40 per 1,000 received. - **Shared sending IP addresses** — Floot email goes out through Amazon SES's shared sending IP addresses, which Floot does not own. There is no dedicated or fixed IP address for your app's email to allowlist or warm up. [Fixed outbound IP](https://floot.com/docs/platform/fixed-outbound-ip) covers your backend's own requests, not its email. ### Scheduled emails check before they start When your assistant builds a job that emails a list on a schedule, such as a daily digest, reminders or a campaign, it has each run first check that your app can send right now: the From address is at a domain that is verified and still sending (yours, or shared with this project), sending is not paused or suspended for the project, and today's limit is not used up. If any of that fails, the run stops before it touches the list and logs why, so nobody is marked as emailed when nothing went out, and the recipients wait for the next run. A run also sends no more than what is left of today's limit, which resets at midnight UTC. The check is about your domain and project, not each recipient: an address that unsubscribed, bounced or reported your mail as spam is still refused when that one email is sent. On a branch with **Send email** turned off, the check says the app cannot send, because mail from there only reaches the branch's [test inbox](#the-test-inbox). Jobs built before November 18, 2026 do not check; ask your assistant to update your scheduled email job to check sending readiness at the start of each run. > **Marketing email needs extra care:** Every Floot app sends through one shared mail system, so an app that draws spam reports or bounces gets its sending stopped. The policy, measured over 30 days: fewer than 4% of your app's emails may bounce and fewer than 0.08% may be reported as spam. We email you when your app crosses either line, and the Email tab's **Sending health** shows where your app stands at any time (see [Sending health](#sending-health) below). Email only people who opted in, include an unsubscribe link and the one-click unsubscribe headers, stop mailing addresses that bounced or complained, and send an imported list a small test batch first. Your assistant knows these rules — ask it to follow them. ## Bounces and delivery status The Email tab keeps a log of what your app sent and received. Your app can also read the status of the email it sent — delivered, bounced, complained, or rejected — for 30 days after each send. That is not a permanent history: if you want a record, such as a per-contact bounce flag, ask your assistant to save it in your app's own database. In the log, each sent email shows one of these statuses: | Status | What it means | | --- | --- | | **Sent** | Floot's mail system accepted the message and sent it on. Nothing has come back from the recipient's mail server yet. | | **Delivered** | The recipient's mail server accepted it. That can be a few minutes after **Sent**, and the message can still be filed under spam on their side. | | **Bounced** | The recipient's mail server refused it. Open the email to see the reason. | | **Complained** | It was delivered, and the recipient reported it as spam. Stop emailing that address. The log shows this filter once your app has a complaint. | | **Rejected** | The mail system refused the message, so it was never sent on. | | **Caught** | Kept in the log and not delivered to anyone; the email itself shows **Caught · not sent**. It was sent from a branch with **Send email** off, or from the preview to test addresses only. See [The test inbox](#the-test-inbox). | **Sent** is not proof of arrival; **Delivered** is the status to look for. Sent mail stays in the log for 30 days, and mail from the preview and from the published app is listed together. ### The test inbox Some email is kept in the log instead of being sent, so you can still read it, sign-in codes and password-reset codes or links included. It shows as **Caught**: - **Every email from a branch with Send email off.** That includes every [isolated branch](https://floot.com/docs/branches/isolated-branches#testing-sign-in-and-email), where the switch stays off. To sign in or reset a password there, run your app's normal sign-in or reset, then open **Services → Email → Email logs** and read the code. - **Preview email to test addresses only.** With a verified sending domain, an email from the preview whose every recipient is a reserved test address (such as `@example.com`, or a `.test` domain) is caught. The published app refuses the same email. Without a verified domain, it is delivered to you as usual. Your app gets the same answer as for a sent email, so nothing errors, but it cannot read a delivery status for a caught one. Caught email is not billed, does not count toward sending health, and is kept for 7 days, the newest 200 per project. Your assistant can read it too. ### Sending health The Email tab's **Sending health** row, under **Email logs**, says whether your project's sending is normal, at risk or paused. Open it to see the project's hard-bounce rate and spam-complaint rate over the last 30 days, each beside the policy line (under 4% and under 0.08%). They are counted the same way as the daily check that emails you, so the tab shows a rate as over the line exactly when you would get that email. Links under each rate open the log filtered to the bounced emails or the complaints. A rate only counts once there is enough mail for it to mean something: the bounce rate from 100 emails in 30 days, the complaint rate from 3 complaints. Below that the tab shows the numbers so far but does not hold them against the policy. The row appears once your project has an email domain or has sent email in the last 30 days. The pane also shows what the email service itself reports for a project with its own email domain: whether its sending is **paused**, and whether its mail is affecting its sender reputation. A paused project's email is refused, and the domain's chip in the Email tab says so; contact support to have it reviewed. If the email service cannot be asked, the pane says the state could not be read rather than guessing. ### An address that bounced is blocked Because the mail system is shared, an address that hard-bounced is blocked for every Floot app, and sends to it are refused without being attempted. If the address works now — say the mailbox was just created — open that email in the Email tab's log, click **Allow sending to
again**, and send it again. You can do this once per address every 30 days, and five times a day per project. An address blocked because its owner marked your mail as spam needs support. ## Sharing a domain with your other projects A verified domain belongs to one project, but other projects you own can send from it too: open the domain's **⋮** menu and choose **Share with project…**. Their mail goes out under that domain's reputation and appears in the owning project's email log; receiving stays with the owning project. Sharing with a project covers all its branches; to let only one branch send from the domain, pick that branch in the list instead (it is listed under its project). A share with a branch ends when the branch is merged or deleted. The share stops working if the two projects end up with different owners. If adding a domain fails because it is **already verified for email** in another project, that project holds it. When that project is yours, the message names it: either share the domain from it as above, or remove it there (**⋮ → Disable email**) and add it here. If you deleted the project that held it, just add the domain to the new project: Floot moves it over, and the DNS records you already published keep working. ## Using your own provider Floot email is optional. If you already use Resend, SendGrid, Mailgun, Postmark, Amazon SES, or Mailchimp, your app can use that instead — see [Connecting external services](https://floot.com/docs/integrations/overview). The two do not mix on their own. Floot's mail service sends only from domains verified in the Email tab, with the records Floot shows. A domain that carries only another provider's records is sent from through that provider's API, with your own key. --- # Visitor analytics > What Floot's built-in tracker records, who it counts as a visitor, where to see it, and how it handles cookie consent. Source: https://floot.com/docs/integrations/analytics Every published Floot app counts its visitors with Floot's built-in tracker. There is nothing to set up, and it sets no cookies. ## What it records For each page view: the path, the referrer, the browser's user agent and language, and a country worked out from the visitor's time zone — never the query string, the part after `#`, or the IP address — plus a random session id that lasts 30 minutes. Your app can record events of its own too; ask your assistant for them. The path is recorded as it is. If your app puts an identifier in the path, as in `/orders/12345`, that identifier is stored with the page view. Keep personal identifiers out of paths, or switch the tracker to **off** (see below). ## Who is counted A visitor is one browsing session. Someone who comes back later counts again, and your own visits count too. Known bots and crawlers are not counted: search engine and AI crawlers, link-preview fetchers, headless browsers and HTTP libraries send nothing, and neither do automated test browsers. This started on November 27, 2026 (UTC): earlier days still include them, and so do all-time totals such as the visitor milestone emails. Bots that pass themselves off as an ordinary browser can still be counted. ## Where to see it Open your project on floot.com and go to **Services → Analytics** for page views, traffic sources, countries, devices, and trends. Events your app records itself are counted by name under **Custom events**. The analytics dashboard requires a paid plan. You can also ask Claude, ChatGPT or another assistant [connected to Floot](https://floot.com/docs/integrations/what-your-ai-can-do), e.g. "how many visitors did my app get last week, and where did they come from?". It reads the same numbers as the dashboard, for one app at a time, over any range of whole days (in UTC) up to a year; the default is the last 30 days. To compare your apps, it reads each in turn. It needs the same paid plan, and only people on the project can read the numbers. Your app's addresses are counted together, and custom events by name and count, without their data. ## Cookies and consent The tracker never sets a cookie. By default it keeps the session id in the browser's local storage, which EU and UK privacy rules treat like a cookie, so visitors there have to agree before it is stored. There are three modes. Ask your assistant to switch, and the change takes effect on your next publish: | Mode | What it does | Consent banner needed | | --- | --- | --- | | **storage** (default) | Keeps the session id in local storage | Yes, for visitors in the EU and UK | | **memory** | Keeps the session id in memory only, so nothing is stored on the device. A reload counts as a new session | No | | **off** | Sends nothing | No | You can also keep **storage** and add a consent banner: ask your assistant for one that covers Floot analytics. The banner tells the tracker what the visitor chose, nothing is stored until they accept, and their choice is remembered on later visits. Analytics you add yourself, such as Google Analytics, need their own consent handling. ## How long it is kept Raw page-view events are kept for 12 months. The totals built from them are kept after that. ## Deleting what has been recorded The project owner can erase the analytics of a live app. Open **Services → Analytics**, click **⋯** next to the refresh button, and choose **Delete analytics data**. It permanently removes every visit, page view and referrer recorded so far, on all of the app's domains. It can take a few hours to finish and cannot be undone. Your app stays live and keeps recording new visits. --- # Connecting external services > How Floot apps talk to third-party APIs, webhooks, and email providers. Source: https://floot.com/docs/integrations/overview Floot apps can connect to almost any external service over its API. This page covers how that works, and where the edges are. ## API integrations Describe the integration you want to your AI assistant, and the endpoints, database tables, and screens get built for you. Anything reachable over HTTPS from a serverless backend is fair game. **Works best with:** - Well-documented APIs - APIs with clear authentication (API keys, OAuth) - Established APIs that have been around a while **For newer or niche APIs:** if the documentation is public, your assistant can read it — Claude, ChatGPT, and other clients research on their own before calling Floot's tools. If it is not public, paste the relevant pages into the chat so the endpoints and data shapes are known. > **Never paste API keys into the chat:** Your assistant never needs the key itself, and it should never see one. When your app needs a credential, your assistant creates a request and hands you a floot.com link, or in Claude and ChatGPT a Floot card that may have the field in it. You type the key there, never as a chat message, and it goes straight to Floot. Your assistant only ever learns the environment variable name; the value is stored server-side, never returned to any client, never included in what the AI can read about an integration, and injected into your backend at runtime. If a key does end up in a chat transcript, treat it as exposed and rotate it with the provider. ### Example ``` Implement the product checkout flow using Stripe. ``` What happens: 1. The API connection is set up 2. You get a link to open in your browser, enter the key in Floot's dialog, and it is stored server-side — or, if your Floot account already holds a matching key from another project, it is connected silently and you are not asked at all 3. The endpoints and screens your app needs get built > **The key request does not block the build:** Your assistant knows the environment variable name as soon as it makes the request, so it can keep building against that name while you fill the key in. ### What it costs Floot charges no integration or messaging fee for connecting an external API, whether it is Telnyx, Twilio, OpenAI or anything else. Calls to the API run in your app's backend and count as ordinary hosting usage, like any other backend work: the request and the time your endpoint runs, including the time it waits for the provider to answer. The provider bills its own charges, such as messages, minutes or API calls, to your account with them. See [Hosting](https://floot.com/docs/faqs/hosting) for how usage is billed. Floot's built-in [Payments](https://floot.com/docs/integrations/payments) are different: Floot keeps a fee of each live payment. [Fixed outbound IP](https://floot.com/docs/platform/fixed-outbound-ip) also has its own price, if you turn it on. ## Changing or removing a stored key Stored keys are listed under **Services → Integrations** in your project on floot.com. To replace one, open the integration, click **Change Value**, and enter the new key. A saved value is never shown again, to you or to your assistant, so there is nothing to copy back out. Under each saved value Floot shows a short hint instead (how a long key starts and its last four characters, or the length of a short one), when it was last changed, and whether your published app has that value. Then publish again: your published app picks up the new value at its next publish. To check a value without seeing it, click **Verify** beside **Change Value**. Under **Against a value**, paste the value you expect: Floot says whether it matches the saved value, and separately whether it matches what your published app is using, so if only the published app differs, publish again. **Across my projects** looks at the variable with the same name in up to 20 of your other projects in the same team, and says for each whether its saved value is the same as this one and whether its published app has this project's value. Use it to find the projects that still have an old key after you rotate one. Only the result comes back: what you type is never shown or stored. **Verify** is on values you entered yourself, such as an API key, a custom secret or a database connection string. It is not on the sign-in secret or on values Floot creates for you. You need permission to edit the integration and to publish the project, and the other projects you compare it with are only the ones where you have the same permissions. A restricted integration can only be checked by its owners. Each saved value can be checked against a typed value 10 times a day, whoever asks, and each person also has a limit across projects. Your assistant cannot run these checks. To take an integration off one project, delete it from that project's **Integrations** list. That removes the connection for this project only. The integration itself belongs to your account and can be connected to several projects, so changing its value changes it for every project that uses it. To see or delete the integrations on your account, open [floot.com/dashboard/resources](https://floot.com/dashboard/resources). To connect one you already saved to another project, open that project's **Integrations** list and click **Connect a saved integration**. If your app uses Floot's built-in sign-in, the **Sign-in secret** card at the top of **Integrations** is the secret that signs its sign-in sessions (`JWT_SECRET`). Floot creates it and never shows it. Every project, duplicate and branch gets its own when it is made; the card says so, or names how many other projects share an older one. **Rotate secret** replaces it: the preview uses the new secret right away, the published app at your next publish, and everyone signed in is signed out then. Rotating a shared secret gives only this project a new one. If a key that looks right does not work, check what was actually saved: paste the whole value with nothing before or after it, and paste a PEM private key complete, from its `-----BEGIN` line to its `-----END` line. Also check the variable name each value is saved under (beside the value on a custom integration, otherwise under **Advanced Options**): it is the name your code reads the key under, and it has to match. ## Preview values A key can have a separate value for your preview, such as a Stripe test key, so building and testing never touch the live key. The editor preview runs on the preview value, and every publish uses the live value. A key without a preview value uses its live value in the preview too. 1. **Open the project's Settings** Click the project's name at the top left. 2. **Click Set preview values** It is under **Preview values** in the **Project** card. Each key shows whether it has a **Preview value** or **Uses the live value**. 3. **Enter the values and save** Type a preview value for each key whose live value the preview should not use, then click **Save**. Fields you leave empty stay as they are. The preview redeploys with the new values right away. - **A preview value belongs to the key, not to the project.** Every project that uses the key previews on it; the dialog says how many other projects use each key. Published apps always run on the live values. - **To go back to the live value**, click **Remove** beside the key, then **Save**. - **Branches:** new branches start from the preview values, and existing branches keep their own copies. On a branch, preview values are set on main. - **Which keys:** values you typed in yourself, such as a custom secret, an OpenAI or Anthropic key, or an external database's connection string. Values Floot sets up for you, such as the sign-in secret, Payments or Floot AI, are not listed. - **Who can set them:** anyone who can edit the project. On a team, a restricted integration's preview values are set by the team's admins only, and builders see **Set by your team's admins**. - **Your assistant** sees which variables have a preview value (`list_resources` names them, never the values), so it knows what the preview runs on. It can't set them. > **Keep a team's live keys out of the preview:** A restricted integration's values still reach the project's code, so code a builder writes can read them. Give it preview values and its live values reach only the published app, never a preview. ## Webhooks Webhooks let external services push data into your Floot app when something happens — a payment succeeds, a form is submitted, a delivery status changes. 1. **Ask for an endpoint** ``` Create a webhook endpoint that handles payment events. ``` 2. **Publish your app** The webhook URL is a real, public URL on your published app. Point outside services at your published app, never at the preview. The preview's backend answers the people working on the project, not outside servers, so a webhook aimed at the preview is refused, unless your assistant marked that endpoint as reachable from outside the preview (it then has to check who is calling itself). 3. **Register the URL with the service** Paste it into the external service's webhook settings and send a test event. An endpoint answers its own path, with or without one slash at the end, so a service that adds a slash when it forwards a request, such as Shopify's App Proxy, reaches it. A service that forwards to paths below the URL you gave it needs an endpoint for each of those paths. If the service gets a 404, ask your assistant to check your app's logs: a request that matched no endpoint shows there as `[floot] No endpoint matches`, with the path it asked for. See [Endpoint addresses](https://floot.com/docs/platform/backend-runtime#endpoint-addresses). ## Payments Payments are built in, with no Stripe key or webhook to set up — see [Payments](https://floot.com/docs/integrations/payments). You can still wire Stripe yourself with your own keys, like any other API integration: enter your Stripe secret key through the secure link your assistant gives you. Stripe tells your app about a payment through a webhook, which needs one more value. Publish first, add the webhook URL your assistant gives you in Stripe's webhook settings, then store that endpoint's signing secret (it starts with `whsec_`) the same way you stored the key. Stripe's test mode and live mode have different keys and different signing secrets, so going live means replacing both — see **Changing or removing a stored key** above. To keep testing in the preview after that, save the test key and signing secret as [preview values](https://floot.com/docs/integrations/overview#preview-values). ## Email Floot apps can send and receive email with no third-party account — see [What's built in](https://floot.com/docs/integrations/whats-built-in). If you would rather use your own provider, Floot integrates with Resend, SendGrid, Mailgun, Postmark, Amazon SES, and Mailchimp: ``` Set up SendGrid to send welcome emails when users sign up. ``` ## Things to know Floot backends are serverless, which shapes a few design decisions: - **No local filesystem or in-memory state** — Anything that has to survive between requests belongs in the database or in Floot Storage — not on disk or in a variable. - **No always-on custom server process** — Long-running or recurring work runs as a scheduled or background job instead of a daemon you keep alive. - **No fixed IP address by default** — Your backend's outbound IP changes all the time. If a service only accepts allowlisted IPs, turn on [Fixed outbound IP](https://floot.com/docs/platform/fixed-outbound-ip). - **Heavy scraping belongs elsewhere** — For large-scale web scraping, use a dedicated service such as ScrapingBee and have your app call it. > **Background work and realtime are supported:** Long-running and recurring work is covered: scheduled cron jobs, background and queued jobs, and WebSocket realtime are all built in. See [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs) and [What's built in](https://floot.com/docs/integrations/whats-built-in). If an integration is not behaving, the fastest fix is usually to have your assistant read the backend logs before changing code. --- # Reliability and limits > The infrastructure behind your published app, the limits that apply to it, and what happens when you reach one. Source: https://floot.com/docs/platform/reliability-and-limits Floot is built for production apps. Your site runs on managed AWS infrastructure, with no DevOps work from you. This page covers what every app gets, the limits that apply to it, and what happens when you reach one. ## What's included with every app | Feature | Description | | --- | --- | | **Database** | Managed Postgres for your app's data — see [Your database](https://floot.com/docs/platform/database) | | **Backend** | Highly scalable serverless backend on AWS Lambda | | **Authentication** | User sign-up, login, and session management | | **Hosting** | Globally distributed content delivery built on AWS CloudFront | | **File storage** | CDN-backed storage for user uploads and assets | | **Email** | Send and receive email from your app — verify your own sending domain to reach real recipients | | **Realtime** | WebSocket-based live updates and presence | | **Jobs** | Background work on every plan; scheduled cron jobs, timers and recurring jobs on paid plans | | **Custom domains** | Connect your own domain on a paid plan, once the app is live on its `.floot.app` subdomain | | **Security** | HTTPS everywhere, and secrets kept server-side and never shown to the AI — see [Security and data](https://floot.com/docs/platform/security-and-data) | ## Hosting infrastructure - Automatic scaling based on traffic — no capacity planning - Global CDN for fast load times worldwide - SSL certificates (HTTPS) issued and renewed automatically - Your backend and database run in AWS's US East region (`us-east-1`); pages and files are served through the global CDN - A background task or scheduled job can run for up to 15 minutes. A request from a browser must start answering within 2 minutes and never go quiet for longer than that; longer work belongs in a background task — see [Backend runtime contract](https://floot.com/docs/platform/backend-runtime) - Backend memory starts at 1 GB, or 2 GB for a published app with server-side rendering. If heavy work such as large files or PDFs runs out of memory, ask your assistant to raise it, anywhere from 512 MB to 4 GB. More memory makes each request cost more hosting ## Uptime and reliability Floot aims for high availability on all published apps. The longest disruption to published apps so far was the [October 2025 AWS event](https://www.thousandeyes.com/blog/aws-outage-analysis-october-20-2025), which took out a large part of the internet rather than Floot alone. There have been a small number of platform incidents since, most of them affecting building and publishing rather than apps that were already live. A single app can still go offline for reasons that have nothing to do with the platform: an unpaid hosting balance takes it down (see below), and a traffic spike can get it throttled. > **Runaway traffic is throttled automatically:** If an app's traffic spikes far past its own baseline — usually an infinite loop or a runaway client-side poller rather than real users — Floot caps that app's backend concurrency automatically. The cap is twice the app's own busiest moment of the past week, and never lower than 50 requests running at once. It lifts on its own: no sooner than half an hour after it went on, and only once traffic has settled back below it. While a cap is in place your app sheds some requests. We are alerted whenever this happens, but no message goes out to you automatically, so if you think your app is being capped, open the support chat. To find out where a spike comes from, or to limit one path, see [Firewall](https://floot.com/docs/platform/firewall). If you experience downtime or performance issues, reach out via the support chat and we will respond quickly. ## What gets metered while you build Your assistant brings its own model tokens, so building does not spend Floot credits. It spends **build actions** instead. One action is one tool call your assistant makes on a project, and the count is charged to the account whose Floot login authorized the connector — not to the project owner. | Plan | Build actions per day | | --- | --- | | Free | 100 | | Pro — $25/mo | 1,000 | | Power — $100/mo | 5,000 | | Older Floot credit plans | 100 | Failed and cancelled calls never count. Six housekeeping tools are free and never count either: `get_job_status`, `get_publish_status`, `list_projects`, `get_preview_url`, `cancel_request`, and `unpublish_app` — unpublishing is deliberately free so a capped account can always take an app offline. The daily cap is the only limit — there is no weekly cap on any plan. It resets once every 24 hours at a fixed hour set for your account — Plan & usage shows when. On Pro and Power, an Action Boost adds 5,000 actions for the rest of the day and the next — see [Build actions](https://floot.com/docs/integrations/build-actions). If you subscribe to one of Floot's older credit plans, your usage is metered at the free caps. Those plans buy credits, not build actions — switching to Pro or Power is what raises the ceiling. ## What credits are for Credits are a second, separate meter. They do not convert into build actions, and build actions do not convert into them. Paid plans include a monthly credit quota — 5,000 on Pro, 15,000 on Power — and three things spend them: - **Image generation.** Images made with `generate_image` are produced by Floot's own model, so they spend credits in addition to counting as a build action. - **AI features inside your own published app.** Floot's built-in `@floot/ai` package — chat, embeddings, image generation, and transcription running in your app for your users — draws on the same credit balance. Connecting your own OpenAI or Anthropic key instead moves that spend to your provider bill. - **Floot's own chat in the editor.** Building by chatting with Floot in the project editor, rather than through your own assistant over the connector, runs on Floot's models, so every message spends credits. All three are billed to the project owner's balance, whoever triggered them. See [Billing, credits, and plans](https://floot.com/docs/faqs/billing-credits-and-plans). ## Account limits | Limit | Free | Paid | | --- | --- | --- | | Projects | 5 | Unlimited | | Published apps | Unlimited | Unlimited | | File storage | 100 MB | Unlimited, billed past the daily free allowance | | Single file | 100 MB | 100 MB in one upload, 5 GB in parts | | Scheduled jobs per project | Saved, but they do not run | 50, every 5 minutes at most | | Delayed and recurring background jobs | Not available | 25 pending timers (1 minute to 7 days out) and 10 recurring per project | | People you can invite to private apps | 5, across all your apps | 20 on Pro and 50 on Power, across all your apps | | Native app builds per month | 2 | 12 on Pro, unlimited on Power | | Emails sent per project per day | 1,000 | 1,000 | | Custom domains | Not available | Included | Scheduled and delayed jobs follow the **project owner's** plan. The project cap is checked at the moment you would exceed it and is never applied retroactively. If you are already over it, you keep everything you have — you just cannot create more projects until you upgrade or delete one. On the free plan, an app nobody is using can be unpublished to free its address: one not published in 30 days, with almost no traffic, whose owner has not used Floot in that time. We email you, the project and its data stay, and you can publish it again for free. This never happens to an app on a paid plan. Private files your app serves are handed out as time-limited links: a private download URL can be signed for at most 24 hours. > **Verify a sending domain before you launch:** Until your project has a verified email domain, your app's outbound mail is sent from Floot's shared domain, and any message addressed to someone other than you is redirected to you instead with a notice explaining why. That is useful while testing and wrong for a live app — verify your own domain in your project's Email settings on floot.com before real users sign up. See [Email](https://floot.com/docs/integrations/email). Custom domains need the app to be published to its `.floot.app` subdomain first. Ask your AI assistant to add one and it hands you a link: the DNS setup finishes in a wizard in your browser, not in chat, and the link is good for one hour. See [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). ## Hosting allowance | Plan | Monthly hosting allowance | | --- | --- | | Free | None recurring — a one-time $3 credit at signup, valid for a year, is all a free account has | | Pro — $25/mo | $10 of hosting per month | | Power — $100/mo | $25 of hosting per month | | Older Floot credit plans | $10 of hosting per month, whatever the credit tier | Hosting is prepaid. Each month's usage comes out of your plan's allowance first, then out of your hosting credit balance: the signup credit plus anything you have added on [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting). When both are used up the balance goes negative, and a negative balance that stays unpaid ends with your apps being taken offline (see below). On a paid plan, the next month's allowance, or the new period an upgrade or plan change starts, pays that debt first. Floot does not charge your card for hosting on its own. The only automatic charge is auto-reload, which is off until you turn it on. The allowance does not come back at the same moment as your AI credits. Hosting usage is counted by date in UTC, so a new month's allowance starts at 00:00 UTC on the date your billing month rolls over. The credits come back at the time of day your plan started on that same UTC date, so the allowance is back first, by up to a day. The **Hosting** row on [Plan & usage](https://floot.com/dashboard/plan-usage) shows the date and time it comes back in your own time zone, counting down in the last 24 hours, and the **Hosting** tab shows the same date and time. A daily limit also caps what your projects can spend in one day: at the limit your published apps and your projects' stored files pause until the next day instead of running up the bill. See [Daily hosting limit](https://floot.com/docs/platform/daily-hosting-limit). The baseline price of usage is about twice the underlying infrastructure cost; a few units carry more margin than that — realtime connections most of all — so read **Plan & usage → Hosting** rather than multiplying an AWS price list. Every project also gets the first 100 MB per day of file storage and the first 50 MB per day of database storage at no charge before metering starts — see [Hosting](https://floot.com/docs/faqs/hosting). Database storage is your current data plus the last 7 days of changes kept for recovery, so a database that is rewritten often is billed for more than its size — see [Your database](https://floot.com/docs/platform/database). ### When your hosting allowance runs out If your hosting balance goes negative and stays there, Floot takes the app offline. How much warning you get depends on your plan: - **Active paid subscription, not cancelling** — a grace window of up to 3 days, with warning emails during it. It is cut to about one day when the overdraft is far above the account's normal hosting spend, and scheduled jobs and recurring background tasks pause from the moment the balance runs out - **Free accounts** — no grace period - **Cancelled or pending-cancellation subscriptions** — no grace period - **Cards that have been failing for more than 14 days** — no grace period; inside those 14 days you get the same 3-day window, so there is time to fix the card From the moment the balance goes negative, before anything is taken down, you can't publish, create or duplicate projects, or export or import a database. A takedown removes infrastructure rather than flipping a switch: custom domains are detached, the `.floot.app` subdomain is released, and the database is disabled. Your code and your data are kept, so bringing the app back is a re-publish once the balance is positive again, not a toggle. While the hosting is taken down, the database can't be opened, queried or downloaded, through the **Data** tab, your assistant, or **Download Database**. Support can't make a copy either, except where the law requires one. Paying the balance restores access. ### Bringing an app back 1. **Add hosting credit** with **Top up** on [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting). Buying hosting credit needs an active paid plan, so a free account upgrades first. On a paid plan, unused allowance pays the debt first, when a new month starts or a plan change starts a new paid period, so a small debt can clear without a top-up. Upgrading from free clears a takedown by itself only when the new plan's hosting allowance covers what is owed; otherwise add hosting credit as well. 2. **Your databases come back on their own**, with the same data, as soon as the balance is positive again. 3. **Publish each app again.** Its `.floot.app` name was released, so choose the name again. 4. **Add each custom domain again** — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). ## Monitoring your usage Track build actions and credits on the [plan and usage dashboard](https://floot.com/dashboard/plan-usage), and traffic on [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting). Plan changes are browser pages on floot.com — no tool can move you between plans. You can also just ask while you build. Your assistant can read your hosting and Lambda numbers through the connector and suggest ways to bring them down. --- # Daily hosting limit > A cap on what your projects can spend on hosting in one day, so a bug or a traffic spike pauses your published apps and stored files instead of running up your bill. Source: https://floot.com/docs/platform/daily-hosting-limit A bug, a page that keeps reloading data, or a sudden traffic spike can run up hosting fast. The daily hosting limit caps what your projects can spend in one day. If they reach it, your published apps and your projects' stored files pause for the rest of the day instead of running up your bill. Building goes on: the editor, your assistant, your databases and your previews' pages keep working. ## What counts - **All your projects, published or not.** Their databases, downloads of their stored files, your published apps' bandwidth and server time all count. A project you're still building counts too, so a preview that downloads the same large files again and again can reach the limit. - **Except the preview's server time.** The backend running behind the preview you build in never counts. - **Per account, not per app.** Every project you pay for adds up to one limit. - **Your day** is the 24 hours from your account's daily reset hour, the same day your daily build-action limit uses. The setting shows when it resets. ## What happens when you get close - **A heads-up first** — On a paid plan, when your projects reach 80% of your limit, we email you, so you can raise it before your published apps and stored files pause. - **Then a pause** — At the limit, everything listed under **What pauses** below stops until your day resets, whichever project used the hosting, even if nothing of yours is published. We email you, and the editor of every one of your projects shows a banner saying what is paused there. - **Back in minutes** — Raise or remove the limit (paid plans) or upgrade (free plan) and everything comes back within a few minutes. Otherwise it comes back when your day resets. You don't need to publish again. ## What pauses - **All your published apps**, whichever project used the hosting. Visitors can't use them, and their scheduled jobs and background tasks wait; a timer that was waiting to run is held and runs when the pause ends. A database you set to stay awake longer than 5 minutes, or never to sleep, sleeps after a minute without queries until the pause ends, then gets your setting back. - **Stored files in all your projects, previews included.** Public files (`/_cdn`) don't load, and no new download links for private files are given out; a private link handed out before the pause keeps working until it expires (up to 24 hours). - **Scheduled tasks in all your projects, previews included**: new delayed and recurring tasks are refused, and those already set wait until the pause ends. **What keeps working:** the editor, your assistant and its tools, your databases, your previews' pages and API, and uploads. Images and other stored files don't show in your previews until the pause ends; that is the pause, not a bug in your code. You can still open and download your files in **Services → Storage**; those downloads are billed and count toward the limit as usual. Nothing in your code changes, so you and your assistant can use the database, the logs and the code to find what used the hosting. > **It's an estimate:** Today's figure is based on usage up to a few minutes ago, so the day's bill can land slightly over your limit. If your apps are using hosting fast enough to pass the limit within minutes, they can pause just before reaching it. ## Your limit - **Free plan:** a fixed limit you can't change. Upgrade to set your own; upgrading also ends a pause right away. - **Paid plans:** a limit of your own. A new plan starts at $5 a day, and you can change it any time. ## Change your limit Open [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting). The card under your monthly hosting shows your limit, what your projects have used today, and a button to change it. Any amount from $1 works up to **$10 a day on Pro** (and older credit plans) or **$25 on Power**. A higher limit, or no limit, needs hosting auto-reload on, because past that point the hosting is paid from your card. - Turning hosting auto-reload off brings a limit above your plan's amount, or no limit, back down to it, and we tell you by email. - Only you can change your limit. Your assistant can't, so a runaway app can't lift it either. The daily limit is separate from your monthly hosting allowance and balance. See [Reliability and limits](https://floot.com/docs/platform/reliability-and-limits#hosting-allowance) for those. --- # Your database > The Postgres database built into your Floot project: how you reach it, when it sleeps, choosing its size and sleep time, how connections work, and how export, import, backups and restores work. Source: https://floot.com/docs/platform/database A Floot project comes with its own managed Postgres database. Your assistant sets it up the first time the app needs to store something, and there is nothing to install, and nothing to size unless you want to. This page covers how you reach it, why it sleeps, how to choose its size and sleep time, how connections work, and how to get data out, back in, or back to an earlier moment. ## What you get - **A Postgres database for the project**, hosted by Neon on AWS in the US East region (`us-east-1`). New databases are created on Postgres 18. - **Ordinary Postgres.** Tables, indexes, constraints, views, functions and triggers behave the way they do anywhere, and your assistant creates and changes them with SQL. - **Compute that follows the load.** It scales up by itself when your app is busy and down to zero when nothing is querying it (see below). On a paid plan you can [choose the size range and the sleep time](https://floot.com/docs/platform/database#choose-its-size-and-sleep-time). - **One database for the preview and the published app.** Anything you add, change or delete while testing in the preview is real data in the live app. For a separate copy to test against, see [Duplicate a project](https://floot.com/docs/projects/duplicate-a-project). ## How you reach it - **Your app** — Your app's backend endpoints query the database directly. A visitor's browser never talks to it. - **The Data tab** — On floot.com, open the **Services** tab and click **Data**. Pick a table to browse it, search its rows, add or edit rows and save, or delete the rows you select. The **cog icon** in the table header opens **Database Settings**, where compute, backup, export and import are; a database with no tables yet shows a **Database Settings** button instead. - **The database's name** — The Data tab lists each database by name. A database Floot creates is named after the project at that moment ("Floot Database for …") and keeps that name when you rename the project. To change it, point at the database in the Data tab and click the **pencil icon** beside the delete button (on a touch screen both are always shown), type the new name and click **Rename**. The owner and collaborators with edit access can do this. Only the label changes: the data, the connection settings and the environment variables your app reads stay as they are. - **Your assistant** — `query_database` reads, `execute_sql` writes and changes the schema, and `pull_database_schema` regenerates the typed helpers your code uses — see [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do). - **Other tools** — To work with the data somewhere else, download an export (below) and load it there. ## It sleeps when nothing is using it A Floot database scales to zero. After about one minute without a query (about five minutes for projects created before 29 September 2026) it goes to sleep: database compute stops being billed, and your data stays exactly as it was. The next query wakes it. On a paid plan you can make it stay awake longer, or never sleep (below). Waking usually adds a fraction of a second to that first request, and occasionally a few seconds. Your app doesn't have to handle it: the database client Floot gives your backend waits for the database and retries the connection by itself, so a wake-up shows as one slower request, not as an error. Anything that queries the database keeps it awake: your app's traffic, a page that polls an endpoint every few seconds, scheduled jobs that read the database, browsing the Data tab, and queries your assistant runs. A job that runs every few minutes can keep the database awake around the clock, and awake time is what database compute is billed for. For a frequent job, **Services → Schedules** shows an estimate of what that costs — see [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs). If **Plan & usage → Hosting** shows steady database charges on an app nobody is using, ask your assistant to find what keeps querying it. ## Choose its size and sleep time **Database Settings → Compute** sets how small and how large the database's server may scale, and how long it stays awake when nothing uses it. Most apps never need to change them. - **Smallest size and largest size** — From 0.25 to 8 CU, each shown with its RAM (1 CU is about 4 GB). The database scales between the two by itself with the load. A new database runs from 0.25 to 4 CU. Raise the largest size for an app that is slow under heavy load; raise the smallest size to keep the database fast from the first query after a quiet spell, at the cost of paying for that size whenever it is awake. - **Sleep when idle** — After 1 minute, 5 minutes, 15 minutes, 1 hour, 6 hours or 1 day without a query, or **Never (always awake)**. A longer time means fewer slower first requests, and more hours billed. 1. Open **Services → Data**, open a table and click the **cog icon** to open **Database Settings**. 2. Under **Compute**, pick the sizes and the sleep time. Below them, the section shows what a day awake costs at the smallest and at the largest size. 3. Click **Save**. - **What it costs.** Database compute is billed for the hours the database is awake, by its size at the time; asleep, it costs nothing. **Never (always awake)** bills every hour of the day, even with no traffic, at least the smallest size's daily cost. - **Changing the size range restarts the database.** Open connections drop for a moment; Floot's database client reconnects by itself. Changing only the sleep time doesn't restart it. - **A shared database changes for every project on it.** If you duplicated a project and chose to share its database, the section lists the other projects, and a change applies to them too. - **Your assistant can do the same.** It reads and changes these settings through the file `static/__dev/database.json` (`minComputeUnits`, `maxComputeUnits`, `sleepAfterIdleSeconds`, which also takes any whole number of seconds from 60 up to a week, or `"never"`). A change there applies at once, without publishing, under the same rules as the screen. It is told to ask you before raising them, because you pay for it. ### Who can change it - Anyone who can see the project's data can see the settings. Changing them needs edit access, and the project's owner on a paid plan; on the free plan the section offers an upgrade. - **A branch's database** has fixed compute of its own, on every plan and for every kind of branch: it scales from 0.25 to 2 CU and sleeps after 1 minute without queries (5 minutes on some older databases). It doesn't take main's sizes or sleep time, changing main's settings doesn't change its branches, and the settings can't be changed on a branch. It runs the same Postgres version as main. - **Some older databases**, created before each project had its own database server, show the reason instead of the settings and can't be changed. - **A database shared with a project of another account** can be seen here but not changed. - **While the daily hosting limit has paused your published apps**, a database set to stay awake longer than 5 minutes, or never to sleep, sleeps after a minute without queries instead, and changes are refused until the pause ends. Your own setting comes back when the apps do. See [Daily hosting limit](https://floot.com/docs/platform/daily-hosting-limit). ## Connections Your backend connects straight to the database; there is no connection pooler in between. Floot's database client opens connections when a request needs them, closes them when the request ends, and retries by itself when the database was asleep or a connection dropped. Your assistant sets this up when it adds the database, and there is nothing for you to configure. Because the backend is serverless, every request that is running holds its own connections, so a burst of traffic is also a burst of connections. Keep transactions short, and don't hold one open while waiting on something slow such as an AI call or another service. ## A restricted login for your app By default your app connects as the database's owner role, which can read, write and change everything, and row-level security doesn't apply to it. **Database Settings → App login** makes the app connect as a role of its own instead, `floot_app_runtime`, while the Data tab and your assistant's SQL tools keep the owner. The app's `FLOOT_DATABASE_URL` then holds only that role's password, never the owner's. - **What the app can do** — Read, add, change and delete rows in every table, including tables created later with your assistant's SQL tools, a branch merge or an import. It can't create, change or drop tables (schema changes go through `execute_sql`), empty a table with `TRUNCATE`, or skip row-level security. - **Row-level security** — Policies apply to the app, because it doesn't own the tables. In each transaction, set who the request is for and let the policy read it: `SET LOCAL app.tenant_id = '…'`, then `USING (tenant_id = current_setting('app.tenant_id', true)::uuid)`. A table with row-level security on and no policy shows the app no rows. `FORCE ROW LEVEL SECURITY` isn't needed for this: it only matters for a table's owner. Views run as their owner unless they are created `WITH (security_invoker = true)`. - **Narrowing it further** — Take rights away with SQL as usual, for example `REVOKE UPDATE, DELETE ON consent_log FROM floot_app_runtime` for an append-only table. Floot does not give them back, except when the database is restored to a moment before this login existed. Don't make the role the owner of a table or a member of the owner role: an owner skips row-level security. - **A login for Floot Agents** — An app with Floot Agents also gets a second role, `floot_app_agent`, in `FLOOT_DATABASE_AGENT_URL`. It has the same rights to rows as `floot_app_runtime`, and it can also create tables of its own, such as the `uc_` tables of collections, and change or drop the tables it made. It can't change or drop your app's tables, and row-level security applies to it on tables it didn't create. It can create only tables, indexes and sequences, never functions, triggers or views, and its tables' defaults and checks may use only built-in functions that don't run queries, read tables or change settings (`now() + interval '7 days'`, `gen_random_uuid()` or `format()` are fine; `query_to_xml()` or `set_config()` aren't). Two event triggers, `floot_app_agent_ddl_guard` and `floot_app_agent_ddl_check`, refuse the rest, so nothing it makes can run code as you when the Data tab or your assistant writes to its tables. Floot keeps them in a schema of their own, `floot_guard`, and leaves them out of exports and duplicates. Your app can read and write the rows of the agent's tables, and the Data tab, export and merges work on them as on any other table. `FLOOT_DATABASE_AGENT_URL` is only set while the app login is on, and only for an app whose backend code uses it, so the Floot Agents code falls back to `FLOOT_DATABASE_URL` without it. **Let the in-app agent create tables**, the second switch under App login, is on by default; turned off, the agent connects as `floot_app_runtime` like the rest of the app and can't add tables or collections. To keep an agent from changing any rows, give it read-only database access in its code. - **Floot Agents apps made earlier** — Their two database pools, in `helpers/agentSql` and `helpers/agentSqlExecutor`, still read `FLOOT_DATABASE_URL`, so their collections need the owner login until you ask your assistant to change both to `process.env.FLOOT_DATABASE_AGENT_URL || process.env.FLOOT_DATABASE_URL`. `uc_` tables the owner created before that stay the owner's: the agent can read and write their rows but can't change or drop them. To hand one over, run `ALTER TABLE … OWNER TO floot_app_agent` once with `execute_sql`. - **When it takes effect** — The preview switches the next time it calls its backend. The published app switches at your next publish; until then the section says it still uses the owner. Turning the setting off works the same way. - **Changing its password** — **Change password** under the switch gives `floot_app_runtime` a new password at once, and the old one stops working; the role's grants and your revokes stay as they are. No publish is needed: the published app gets the new password in the code it already runs, so nothing you are working on goes live, and for a few seconds while it switches it can't open new database connections (the ones it has open stay). The preview takes it the next time it calls its backend. If the published app couldn't be switched, the section says so and the next publish fixes it. Don't change the password with SQL: Floot doesn't know the new one, so the app can't connect, and the next publish sets Floot's again. A branch has a password of its own, changed on the branch. It changes the password of `floot_app_agent` too, in the same way. - **Who can change it** — The project's owner (for a team project, a team admin); everyone else on the project sees which login the app uses. It is there for every Floot database on every plan, except a database made before databases had their own project: move that one with export and import into a new database first. A new branch starts with what main had when it was made, with a password of its own on the branch's database, and the owner can turn it on or off for that branch alone; merging a branch doesn't carry the setting to main. A duplicate starts on the owner login. - **Turning it off and on again** — Turning it off leaves `floot_app_runtime` in the database as it is, with its grants and its password, and the published app keeps using it until you publish. Turning it on again reuses that role and password: the grants, your own revokes and your row-level security policies stay as they were, tables created in between are covered, and Floot sets the role's login and password again and takes away `BYPASSRLS`, `CREATEDB` or `CREATEROLE` if they were given to it. Each publish with it on does the same. If the role is gone, for example after a restore to before it was made, Floot makes it again with the full grants. Code that creates tables while the app runs stops working with it on: ask your assistant to create them once with `execute_sql` instead. Floot Agents collections create their tables with the agent login above. The Google and Microsoft integrations keep their sign-ins in an `oauth_access_token` table they create on first use: if the app login was on before that, the integration fails with an error that gives the `CREATE TABLE` to run once with `execute_sql`. On a database made on Postgres 14, the app can still create tables of its own in the `public` schema. A Self-edit token connected to the project acts as you, so an app holding one can still run SQL as the owner through it. ## Freeze writes **Database Settings → Freeze writes** makes the whole database read-only until you unfreeze it. Use it when you move the database somewhere else: freeze writes, export the database, load it on your side and switch your app over. Nothing can change after the freeze, so the export holds every change. Reads and **Export** keep working, nothing is published, and no password changes. - **What it stops** — Every write, from your preview and your published app, their schedules and queued tasks, the Data tab, your assistant's SQL tools, imports and merges. A write fails with `cannot execute INSERT in a read-only transaction`, so sign-ups, orders and anything else that saves something get an error while it is on. - **When it takes effect** — At once. Transactions already running get up to 20 seconds to finish; after that their connections are closed and what they had not committed is rolled back. Other open connections are closed too, so nothing keeps writing. - **What it does not stop** — Uploaded files in Floot Storage, and code that switches its own transaction back to read-write (`SET default_transaction_read_only = off`, `BEGIN READ WRITE`). Schedules and queued tasks still run; their writes fail. Floot doesn't hold or replay incoming webhooks: an endpoint that saves something answers with an error, and the sender retries later (Stripe, for example, retries for up to 3 days, and its dashboard can resend an event), so the retries reach wherever the endpoint points by then. - **Lifting it** — **Unfreeze writes** turns writes back on at once, without a publish. Connections opened during the freeze are closed so they reconnect with writes on. - **Who can change it** — The project's owner, on the main project or on a branch for that branch's own database. Your assistant can't freeze or unfreeze it. A new branch made from a frozen database starts unfrozen. A restore brings back the freeze as it was at that moment: frozen if you restore to a time during the freeze, unfrozen if before it. ## Export and import On any plan you can download the whole database as a gzipped `pg_dump` file (`.sql.gz`): **Services → Data**, open a table, then the **cog icon → Export → Download Database** (tick **Structure only** for the schema without any rows). On a paid plan, **Import** in the same dialog loads a SQL dump and replaces the whole database. The steps, file formats and limits are in [Code, data, and exports](https://floot.com/docs/faqs/code-data-and-exports). ## Backups and restores Floot keeps a continuous recovery history of your database that covers the last 7 days. On a paid plan you can put the database back to any moment in it from **Database Settings** (the cog icon in the Data tab), and undo that restore if it wasn't what you wanted. ### Restoring the database 1. Open **Services → Data**, open a table and click the **cog icon** to open **Database Settings**. 2. Under **Backups & restore**, in **Go back to an earlier time**, pick the date and time. The page says how far back you can go. 3. Click **Restore**, type `restore`, and click **Restore** in the confirmation. Restore is on paid plans, judged on the project owner's plan, and the owner and collaborators with edit access can use it. While it runs, your app may lose its database connection for a few seconds. ### What a restore does - It puts the **whole database** back to the moment you chose: every table, structure and data. Database roles, permissions and row-level security policies go back too, so ones made after that moment are gone. - Everything written after that moment is gone, including rows your users added in between. One table, or a few rows, can't be restored separately. - Your code, your uploaded files and your stored keys are not touched. Neither are payments or emails your app already sent. - If you duplicated the project and chose to share its database, the copy uses the same database, so it goes back too. ### Undoing a restore - Right before a restore, Floot keeps a copy of the database as it was. **Database Settings** then shows **Restored to …** with two buttons. - **Undo restore** (type `undo`) puts the database back to how it was right before the restore. Anything written since the restore is lost. - **Keep this version** (type `delete`) deletes that copy. After that, the restore can't be undone. - The copy is kept for 7 days and deleted by itself after that. Until then it is billed like the rest of your database. - Only the last restore can be undone: restoring again replaces the copy from the restore before. ### When restore isn't shown - **On the free plan**, Database Settings offers an upgrade instead. A copy kept from a restore made on a paid plan can still be undone or kept after a downgrade. - **Some older databases**, created before restore was available, show **7-day backup enabled** instead. On a paid plan, contact support with the project's link and the date and time you want to go back to, including your time zone. It has to be a moment inside the last 7 days, so write in soon after you notice a problem. > **Before a risky change:** Before a large migration, a bulk delete or an import, note the time and download an export. Checkpoints roll back your code and project settings, not your data. ### What the recovery history does not include - **Uploaded files.** Files in Floot Storage are not backed up and have no version history. Keep your own copy of any file you can't afford to lose: **Services → Storage** downloads them one at a time. - **Anything older than 7 days.** For a copy to keep longer, download an export and store the file yourself. The history counts as database storage: you are billed for your current data plus the last 7 days of changes, so a database that is rewritten often is billed for more than its size — see [Hosting](https://floot.com/docs/faqs/hosting). ## Using your own database instead Floot also works with a Postgres database you host somewhere else. Ask your assistant to connect it: it hands you a secure link where you paste the connection string, so the credentials never pass through the chat. The Data tab and your assistant's SQL tools work with it the same way. Its hosting, backups and region are then your provider's, and **Import** in Database Settings works with the built-in database only. To move existing data across, export the Floot database and load the file into yours — [Self-hosting](https://floot.com/docs/projects/self-hosting) has the command. ## When hosting is taken down If your hosting balance stays unpaid and your apps are taken down, the database is disabled along with them: it can't be opened, queried or exported until the balance is paid. The data is kept, and the database comes back with the same data once the balance is positive again — see [Reliability and limits](https://floot.com/docs/platform/reliability-and-limits). --- # Backend runtime contract > What your app's backend can rely on at runtime: the database role, transactions, timeouts, size limits, the paths an endpoint answers, code that runs before your endpoints and what a publish does to running work, each marked supported, current behavior or not provided. Source: https://floot.com/docs/platform/backend-runtime This page lists what your app's backend endpoints, background tasks and scheduled jobs can rely on: how they connect to the database, what a transaction means, which timeouts exist, the size limits, and what happens to running and queued work when you publish. Anything not on this page is not part of the contract. - **Supported** — You can build on it. Floot keeps it, and a change is announced in the [changelog](https://floot.com/changelog) before it ships. - **Current behavior** — True today, but it may change without notice. Fine for performance, but your code should not depend on it to be correct. - **Not provided** — Floot does not offer it. The details say what to do instead. ## Database connection | Item | Status | Details | | --- | --- | --- | | Connection string | Supported | Your backend reads it from `FLOOT_DATABASE_URL`. It is a direct connection to Postgres with no connection pooler in between, and the preview and the published app use the same database. With the app login on, Floot Agents code reads the agent's own login from `FLOOT_DATABASE_AGENT_URL`, and falls back to `FLOOT_DATABASE_URL` when it isn't set. | | Database role | Supported | The app connects as the database's owner role (`neondb_owner` for databases Floot creates), unless you turned on the app login below. That role owns the tables your app creates, so it can read, write and change all of them. Run `select current_user` to see it. | | A separate, restricted login for the app | Supported | **Database Settings → App login** makes the app connect as `floot_app_runtime`: rows in every table, no schema changes, and row-level security applies. Floot Agents get a second login, `floot_app_agent`, that can also create tables of its own. The Data tab and your assistant's SQL tools keep the owner. See [Your database](https://floot.com/docs/platform/database#a-restricted-login-for-your-app). | | Row-level security | Supported | Policies don't apply to a table's owner, which is the role the app uses by default (whether it also has `BYPASSRLS` depends on when the database was created: `select rolbypassrls from pg_roles where rolname = current_user`). With the app login on, they apply to the app. Without it, check who may see a row in your endpoint code. `ENABLE` and `FORCE ROW LEVEL SECURITY` both work. `FORCE` makes policies apply to the table's owner too, but a role with `BYPASSRLS` skips them anyway, so on most databases it changes nothing for the owner, and the owner can't take `BYPASSRLS` away from itself: use the app login to have policies apply to the app. On a database whose owner lacks `BYPASSRLS`, `FORCE` hides rows from the Data tab and your assistant's SQL too, and export and duplicate fail with "query would be affected by row-level security policy" until you turn it off with `NO FORCE ROW LEVEL SECURITY`. | | Session state across requests | Not provided | Connections are opened when a request needs them and closed when it ends. A plain `SET`, a temporary table, a prepared statement or a session-level advisory lock doesn't carry over to the next request. | | Reconnecting | Current behavior | When the database is waking up or a connection drops, Floot's database client opens a new connection and tries again, up to 4 attempts with a 30-second connect timeout each. A query outside a transaction that failed because the connection was lost can be sent again. Statements inside a transaction are never sent again (see below). | ## Transactions | Item | Status | Details | | --- | --- | --- | | No outer transaction | Supported | Floot never wraps a request, task or scheduled job in a transaction. Your own `BEGIN` is the top-level transaction, and a statement outside one commits on its own as soon as it succeeds. | | A transaction that resolves | Supported | A transaction runs on one connection from start to finish. `await db.transaction().execute(fn)` resolves only after Postgres has answered your `COMMIT`. When your callback returns, nothing is committed yet; the promise is what counts. | | No replay | Supported | Floot doesn't run your transaction callback again or send `COMMIT` a second time. The only retry is opening the transaction's connection, before your callback has started. Floot never sends an HTTP request to your backend a second time either. | | A connection lost during `COMMIT` | Not provided | Your code gets an error and Floot can't tell you whether the commit went through. For writes that must happen exactly once, give each one a unique key, so you can check afterwards and a second attempt is refused. | | Background task retries | Supported | A task, timer or repeating task queued with `retries: n` (`queueTask`, `queueRecurringTask`; n from 0 to 3, default 0) that throws or reaches its time limit runs again up to n times, about 2, 4 and 8 seconds apart, even if it had already written to the database or called another service, so use it only for work that is safe to run twice. Without it, Floot retries by itself only a run that failed before any of its work reached the database or the network: after a database connection failure (up to 3 times) or at its time limit (once). A task runs at most 4 times in all. An `onError` task named in the same call runs after the last attempt. A run stopped outright (out of memory, a crash, or still busy at the 15-minute limit), or a start dropped after waiting an hour, is never retried, but its `onError` is still called: at least once, and rarely twice for the same run. Scheduled jobs set up in **Services → Schedules** take neither option. | ## Database timeouts Floot sets no `statement_timeout` or `lock_timeout` on your database, so a query can wait for a lock or run until the request's own time limit. To bound them, set them yourself as the first statements of the transaction: ```sql BEGIN; SET LOCAL lock_timeout = '1s'; SET LOCAL statement_timeout = '3s'; -- your queries COMMIT; ``` - This is **supported**: Postgres itself enforces both and cancels the statement on the server, and because the connection is direct, they apply to exactly that transaction and end with it. - With Kysely, run both through Kysely's `sql` tag on `trx`, as the first thing in your `db.transaction().execute(async (trx) => …)` callback. - A plain `SET` (without `LOCAL`) lasts only until the connection closes at the end of the request, so it isn't a reliable way to set a limit. - `ALTER ROLE … SET statement_timeout` would apply to everything that uses the role, including the Data tab and your assistant's SQL tools, so Floot doesn't recommend it. ## Run time, memory and size limits | Limit | Status | Value | | --- | --- | --- | | Background task or scheduled job | Supported | Up to 15 minutes. A task is stopped about 30 seconds before that, so it can hand off what's left to a new task. | | Request from a browser or another service | Supported | It must start answering within 2 minutes and never go quiet for longer than that. Otherwise the caller gets a 504 error, even though your code may keep running for up to 15 minutes. For longer work, queue a background task and answer at once. | | Memory | Supported | 1 GB by default (2 GB with server-side rendering). Ask your assistant to set anything from 512 MB to 4 GB. | | Request body | Supported | About 6 MB. For bigger uploads, send the file to storage and pass its key to your endpoint. | | Response body | Current behavior | Responses are streamed, so they can be larger than the request limit: up to 200 MB. | | Your backend's own outgoing requests | Current behavior | Floot puts no size or time limit on calls your backend makes, other than the memory and run time above. A download read as a stream (for example `for await` over `response.body`) is never held in memory whole, so you can hash it piece by piece. | | Cancelling an outgoing request | Not provided | `AbortController` / `AbortSignal` work as they do in Node.js. Floot adds no signal confirming that the other server stopped. When a request or task ends, connections still open are closed. | ## Endpoint addresses | Item | Status | Details | | --- | --- | --- | | The endpoint's path | Supported | An endpoint file answers one path: `endpoints/orders/list_GET.ts` answers GET requests to `/_api/orders/list`, with any query string. | | One trailing slash | Supported | `/_api/orders/list/` is answered by the same endpoint, with the same method, headers, body and query string. Your code sees the address without the slash. This is for services that add a slash when they forward a request, such as Shopify's App Proxy. A published app answers this way from its first publish after November 17, 2026, and the preview once its backend is next updated, which opening the project or changing an endpoint does. | | Paths under an endpoint | Not provided | An endpoint doesn't answer the paths below it: `/_api/orders/list/123` needs a file of its own (`endpoints/orders/list/123_GET.ts`), and so does each sub-path a service forwards to. Put a part that changes in the query string or the body instead. Two slashes at the end (`/_api/orders/list//`) don't reach the endpoint either. | | A path no endpoint answers | Current behavior | The caller gets a plain-text `404 Not Found` before any of your code runs, and your app's logs get a line `[floot] No endpoint matches GET /_api/…`. The line also says when the path is under an endpoint, or when the endpoint there answers another method. When a service reports a 404, ask your assistant to look for that line in the logs. | ## Code that runs before your endpoints A file named `_middleware.ts` in your project's `endpoints` folder runs before and after every endpoint in that folder and the folders below it. It is the place for a check that every endpoint there needs, such as "signed in as an admin": an endpoint added to the folder later is covered by where its file sits, without anyone remembering to add the check. Ask your assistant, for example: "make every endpoint under admin require an admin". ```ts // endpoints/admin/_middleware.ts export type Context = { user: User }; export const except = ["admin/login"]; export async function before(request: Request): Promise { const user = await getSignedInUser(request); if (!user?.isAdmin) return new Response("Not found", { status: 404 }); return { user }; } // endpoints/admin/users_GET.ts import type { Context } from "./_middleware"; export async function handle(request: Request, { user }: Context) { // runs only for an admin } ``` | Item | Status | Details | | --- | --- | --- | | Order | Supported | `endpoints/_middleware.ts` runs first, then the file of each folder on the way down, then the endpoint. `after` runs in the reverse order. | | Answering early | Supported | When `before` returns a response, that is the answer and the endpoint does not run. | | Data for the endpoint | Supported | What `before` returns reaches the endpoint as the second argument of `handle`. | | Leaving an endpoint out | Supported | `except` lists endpoints this file does not run for: a route (`admin/login`), one method of it (`admin/login_POST`) or a folder (`admin/public/*`). The files above and below it still run. | | Changing the answer | Supported | `after(request, response)` can set the response's status and headers, or return another response. | | Reading the request body | Not provided | Middleware gets the request without its body, so the endpoint can read it. Trying to read it in `before` fails with an error that says why. | | Pages and CORS preflights | Not provided | Middleware runs for endpoints only. Floot's own checks, such as the sign-in of an [internal app](https://floot.com/docs/projects/internal-publish), run before it and it cannot skip them. | | Work after the answer is sent | Not provided | `after` runs before the answer is sent. For work that should continue afterwards, queue a background task. | ## When you publish A publish replaces your app's backend in place. Floot doesn't stop, pause or wait for work that is already running, so for a while the previous release and the new one run side by side against the same database. None of this is a guarantee: the rows below describe what happens today, so your code should stay correct whatever order these things happen in. | Item | Status | Details | | --- | --- | --- | | New work after a publish | Current behavior | Once the publish completes, every new request to your endpoints, server-rendered page, scheduled job and background task starts on the new release. The backend switches shortly before the publish completes, while the previous pages are still being served, so for that moment the previous pages call the new backend. A server-rendered page cached before the publish can still be served for a short time after it, until the cache has cleared. | | Work already running | Current behavior | A request, page render, task or job that started on the previous release finishes on the previous release's code, for up to 15 minutes (the longest one run can last). Floot neither stops it nor waits for it before the new release takes over. | | Queued and delayed tasks | Current behavior | A queued task carries its name and payload, not its code. It runs the code of the release that is live when it starts, not the release that queued it: a task queued with a delay, or handed off by a task still running on the previous release, runs the new code. If the new release no longer has that task, or renamed it, the task fails when it starts, and so does every retry of it. The same goes for a scheduled job the new release removed that fires while the publish is finishing. | | Pages already open in a browser | Current behavior | A tab opened before the publish keeps the previous release's pages and sends its requests to the new backend. If it then needs a part of the app it hasn't loaded yet and that file is gone, it reloads once onto the new release. Floot doesn't check that a page and the backend it calls come from the same release. | | Which release is running | Current behavior | The published backend's code reads its own release id as `process.env.FLOOT_RELEASE_ID`, and every page and endpoint answer from the published app carries the release that produced it in the `x-floot-release` header: the same id the Publish screen shows. A page kept in the cache keeps the id of the publish it came from. On an app without server-side rendering, a publish that changed no backend code keeps the previous backend running, and one that changed no page code keeps the previous page files, so each names the last publish that changed it rather than the one that is live. With server-side rendering, both always name the live publish. An answer without the header came from code published before the header was added; the next publish that changes that part adds it. To check which publish answered your browser, see [My live site does not show my changes](https://floot.com/docs/projects/publishing#my-live-site-does-not-show-my-changes). | | A drain or fence for a publish | Not provided | There is no way to have old work finish or stop before the new release takes over, to hold new work back until it has, or to pin a task to the release that queued it. Make the overlap safe instead: change tables so both releases work with them (add a column before the code needs it, remove one only after no code uses it), keep a task's name and accept the payload the previous release sent for at least one publish, and give writes that must happen once a unique key. To fence work yourself, pass the queueing code's `process.env.FLOOT_RELEASE_ID` in the task's payload and have the task compare it with its own. | ## Not part of the contract - **A lockfile for a publish.** Each publish installs your dependencies again from the versions in `package.json`. The **release** id on the Publish screen names the publish and the source it was built from (see [Publishing](https://floot.com/docs/projects/publishing)), not the exact dependency versions it installed. - **The typecheck environment.** The compiler settings and the platform's type declarations are not published. Your assistant's `typecheck` tool returns the errors it finds, nothing more. - **A per-project hard spending cap.** The [daily hosting limit](https://floot.com/docs/platform/daily-hosting-limit) pauses published apps and stored files and is based on an estimate, so a day can end slightly above it. --- # Security and data > How Floot handles your code, your data, and your users' data — including what your own AI assistant can see. Source: https://floot.com/docs/platform/security-and-data This page covers data ownership, the security measures behind the platform, who can see what, and — because your app is built by an AI assistant you bring yourself — what leaves Floot while you build. ## Data ownership **You own 100% of your app:** - **Code** — Complete code ownership. - **Data** — All app data belongs to you. - **IP** — Full intellectual property rights. You can download a full SQL dump of your database at any time on any plan, unless your hosting is taken down for an unpaid balance: open your project on floot.com, go to the **Services** tab → **Data**, open a table, then use the **cog icon** in the table header → **Database Settings → Export → Download Database**. Code download is included on every paid plan: click the chevron beside your project's name in the top bar (**Project actions**) → **Download code as zip**. Both are browser actions. Your assistant can read any file in the project and query the database for you through the connector, but the downloadable archive is built in your browser. Follow the preview link your assistant gives you, or find the project on floot.com, then use the menus above. See [Code, data, and exports](https://floot.com/docs/faqs/code-data-and-exports), or [Self-hosting](https://floot.com/docs/projects/self-hosting) if you want to run the app yourself. ## Security measures - **Encrypted in transit** — All traffic is served over HTTPS/TLS. - **Firewall** — Every published app is protected from request floods and programs that pretend to be a browser. You can add a human check for visitors from cloud servers, rate limits and a traffic log in **Services → Firewall** (see [Firewall](https://floot.com/docs/platform/firewall)). - **Encrypted at rest** — Your database, your project source, and your files are stored on managed AWS and Neon infrastructure with provider-level disk encryption. - **Secret handling** — API keys and secrets are never typed into chat. Floot collects them through a dedicated form: your assistant hands you a one-time link, and you paste the key into a Floot page in your own browser. They are stored server-side, injected into your backend at runtime, and never returned to any client. Before a key is stored, Floot also encrypts it with a separate key held in AWS Key Management Service, on top of the provider-level disk encryption, so a copy of the database alone does not reveal it. A stored key is never displayed again, to anyone: if you lose your own copy, create a new key at the provider and replace it. To check whether a key you have is the one saved, use **Verify** on the integration: it answers match or no match and never shows the saved key (see [Changing or removing a stored key](https://floot.com/docs/integrations/overview#changing-or-removing-a-stored-key)). - **Secrets are not visible to the AI** — This is enforced by the shape of the data, not by instructions to the model: the integration list an assistant can see carries only a connection's name, type, description, and non-secret config values. The secret values are not part of that payload. - **Your app's user passwords** — The built-in email-and-password sign-in stores passwords as bcrypt hashes, never in plain text — see [Sign-in for your app's users](https://floot.com/docs/integrations/app-sign-in). - **Security headers** — Every published app is served with a Content Security Policy and a Referrer-Policy, and you can block other sites from embedding it or set your own policy — see [Security headers and embedding](https://floot.com/docs/platform/security-headers). - **Your visitors' IP address** — Every request to your app's backend, published or in the preview, carries the visitor's IP address as Floot's edge received the connection, in the `x-floot-client-ip` header. Floot replaces any value a caller sends under that name, so it is the address to use for per-IP rate limits (login, signup) and blocks. Headers such as `X-Forwarded-For` or `CF-Connecting-IP` arrive as the caller sent them and anyone can fake them. Ask your assistant to key its limits on `x-floot-client-ip`. - **Account protection** — Optional two-factor authentication with an authenticator app and single-use recovery codes, a list of the devices you are signed in on and recent security activity, and one click to sign out every other device and connected assistant — see [Your account](https://floot.com/docs/faqs/your-account). - **Internal access** — Floot staff open a private project or its data only to handle a support request from you, to address a security or technical issue, or where the law requires it. ## Who builds your app, and what it can see The model writing your code is not Floot's. It is the assistant you connected — Claude, ChatGPT, Cursor, Codex or another MCP client — running under your own agreement with that provider. Floot's connector supplies the tools; the conversation, your prompts, and everything those tools return sit in that provider's context and are governed by their terms, not by Floot's. If you are reviewing Floot for procurement, this is the material point: your builder is a third party you chose and contract with directly. What an assistant can read through the connector: your project's files, rows from your app's database (`query_database`, `execute_sql`, `pull_database_schema`), your app's backend logs (`get_logs`, for the preview and, with its `published` source, your published app), the push notifications your app sent (`get_logs` with the `push` source), and screenshots of the running preview. If your database holds real user data, that data reaches your assistant's context whenever you ask a question that requires it. What it cannot do: read your integration secrets, or buy anything itself. Plan changes and every purchase are browser pages a person clicks, deliberately never tools an agent can call. Its work leads to an extra charge only where you agreed to it on floot.com first: automatic [Action Boosts](https://floot.com/docs/integrations/build-actions#action-boost) on Power, app builds past the monthly allowance, and [branches past the included ones](https://floot.com/docs/branches/limits-and-cost). Your conversation is not stored on the project. What Floot keeps is two things: the files your assistant writes, and a running activity record of what it did — which files changed, the start of each SQL statement that changed data, which images were generated — that the project's history and the **Checkpoints** panel are built from, and that stays for as long as the project does. Separately, a raw audit row per tool call — tool name, a capped summary of the arguments, the result — is kept for about three days and then deleted. The same capped argument summary also appears in the connector's server logs, which are kept for a month, and a usage record of each call — tool name, outcome, timing, and project, without the arguments or the result — is kept as usage history. The chat around those calls never reaches Floot; it stays with your AI provider. ## Is my data used to train AI? Not the data in the apps you build. Your database, your users' accounts and content, uploaded files, and anything your app receives from connected services are never used to train AI models, by Floot or by anyone Floot passes it to. When your app sends data to an AI provider to answer one of its users, that provider works under commercial terms that prohibit training on it. Your chats with the Floot agent in the Floot editor are different: the prompts you send and the responses it returns while building may be used, anonymized, to improve Floot and to train its AI systems. Data from your apps and from Google services is left out even where it appears in those chats. This is the only data Floot uses for training; see AI Training in the [privacy policy](https://floot.com/privacy). To keep your builder chats out of Floot's training entirely, don't use the Floot agent: build with an assistant you connect over MCP, such as Claude, ChatGPT, Cursor or Codex. Those conversations stay with the assistant's provider and never reach Floot, so Floot does not use them for training; how that provider handles them is governed by your own agreement with it. ## How long Floot keeps things | What | How long | | --- | --- | | Your code, data, and the project's activity record | For as long as the project exists | | Audit rows for your assistant's tool calls | About 3 days | | Connector server logs (tool name and capped arguments) | 1 month | | Usage records of tool calls (no arguments or results) | No set expiry | | Your published app's backend logs | 90 days while the app is published; about 3 days after you unpublish it or delete the project | | Preview request captures your assistant can read (bodies and headers, with common password and token fields masked; bodies can be turned off per project) | 1 hour | | Records of background runs that were stopped outright or never started, which you and your collaborators' assistants can read | 8 days | | What your preview's backend code writes to its logs | 90 days | | CDN request logs for published apps (response size, status, cache result — no IP address) | 30 days | | Firewall records of requests to published apps flagged or blocked for sending too many (includes the IP address) | 30 days | | A traffic log you turn on in Services › Firewall on a paid plan (every request to your published app for up to 72 hours or 5 million requests, including your visitors' IP addresses) | 7 days | | File storage access logs for uploads and private file downloads (includes the IP address) | 30 days | | Floot's own platform logs | 90 days | | Database recovery history | The last 7 days | | Annotations you draw on the preview | About 1 day | | Preview links | Valid for 7 days | | Delivery status of email your app sent | 30 days after each send | | Visitor analytics page views | 12 months | | The source each publish was built from | On a paid plan, 90 days, and always the project's 20 most recent publishes; on the free plan, 30 days, and always the publish that is live | | Database exports | Downloadable for 24 hours after the export starts | | Native app build downloads | Until the next app build finishes, and at most 30 days after the build; download links last 7 days | | A project you delete (code, database, files, history) | Gone from your account at once; erased from Floot's systems about 3 days later | | Your account's security activity (sign-ins, sign-outs and changes to two-factor, agents and API keys, with the IP address, browser and approximate place) | 365 days, or until the account is deleted | | An account you delete | Signed out and closed at once; erased, with its projects, within about two weeks | | A free account that has never had a paid plan and is not used | Deleted, with its projects, after 365 days without activity, once two warning emails have gone out — see [Your account](https://floot.com/docs/faqs/your-account#can-floot-delete-an-account-i-do-not-use) | ## What Floot logs For a published app, Floot's own log lines record each request's method and path. They do not include request or response bodies, headers, cookies, or IP addresses. Whatever your app's own code writes to its logs is stored exactly as written, so keep passwords, tokens and personal data out of your log lines. While you build, the preview also captures full request and response bodies and headers, for one hour, so your assistant can debug a failing request. Cookie, authorization and `X-API-Key` headers are masked before they are stored, and so are body fields with common secret names such as `password`, `token`, `otp`, `secret` and `apiKey`. A field with any other name, like `code` or `pin`, is recorded as sent, and so is the address with its query string. Logs are read through your assistant with `get_logs`, for the preview and for the published app. ### Keep request and response bodies out of preview logs If you test your preview with real personal data, you can stop it from recording what was sent and returned. On your project's **Settings** page (click the project's name in the top-left), in the **AI instructions** card, turn on **Keep request and response bodies out of preview logs**. It is off by default, and anyone who can edit the project can change it. - Preview logs, and what your assistant reads with `get_logs`, keep each request's method, address, status, timing and headers, and your backend's log lines. The request and response bodies are replaced with a note that they were not recorded. - Backend requests are covered at once, including ones recorded in the hour before you turned it on. Requests made from the browser are covered from the next time the preview loads. - What your app's own code writes to its logs is not covered, so keep personal data out of your log lines. - Your published app is not affected: Floot never records its request or response bodies. > **Note:** With bodies left out, your assistant can't see what a failing request sent or got back, so it may need more help to find the cause. Turn the setting off again while you debug with test data. ## Where your data lives Your projects, databases, database recovery history and uploaded files are stored in the United States, on AWS and Neon in the `us-east-1` region, and your app's backend runs there too. Two things can happen elsewhere: the CDN serves cached copies of published pages and public files from locations around the world, and AI providers may process requests in other regions. If you connect a database you host yourself, its data lives wherever that provider keeps it — see [Your database](https://floot.com/docs/platform/database). The companies that process data for Floot (hosting, database, email delivery, analytics, AI providers) are listed, with what each one receives and where, on the [sub-processors page](https://floot.com/subprocessors). The [privacy policy](https://floot.com/privacy) describes them under Third-party Service Providers. If your app will be used from a company network, [Network requirements for your app](https://floot.com/docs/platform/network-requirements) lists the domains, IP addresses and ports its IT department needs to allow. ## Files your app stores Each file your app stores is either public or private. A **public** file is served from your app's CDN address to anyone who has the link. A **private** file can't be opened by its address at all: your app's backend hands out a signed link after its own permission check, valid for 5 minutes unless your app asks for longer, and 24 hours at most. Signed links expire on their own. While the [daily hosting limit](https://floot.com/docs/platform/daily-hosting-limit) has paused your apps, no new private link is signed for any of your projects, previews included: `getUrl` answers `DownloadsPaused` until the pause ends, and links handed out before it work until they expire. Uploads keep working, and you can still open and download your files in the editor. Uploads work the same way. Your app's backend issues an upload link that is good for 15 minutes and tied to one file name, type and size, up to 100 MB. On a paid plan, a bigger file, up to 5 GB, is uploaded in parts and stored as one file. Tell your assistant which files must be private when you describe a feature. Stored files are separate from the database and are not part of its backups — see [Your database](https://floot.com/docs/platform/database). ### Putting a file in private storage yourself Some files your app needs never come from its users: a price list, a data file, a report your backend reads. Open **Services → Storage → Private** in the editor and drop the file in, or use **Upload**. It is stored at the top of private storage under its own name (spaces and other special characters become `-`), and you can upload images, SVG, PDF, CSV, JSON, text files, fonts, audio and video. **Public** has the same Upload button, for files anyone with the link may open at `/_cdn/`. To read a private file, your app's backend calls `getUrl` from `@floot/storage` with the file's name and fetches the signed link itself. The link never has to reach the browser, your logs or a response. It is valid for 5 minutes unless your code asks for longer, up to 24 hours. ```ts import { getUrl } from "@floot/storage"; const link = await getUrl({ visibility: "private", filename: "report.json" }); if (!link.ok) throw new Error(link.error.message); const report = await (await fetch(link.url)).json(); ``` ### Saving a file only once When a private file must be written once and never replaced (a verified upload moved to its final name, or a claim that only one backend run may make), your app's backend calls `copy` from `@floot/storage` with `ifAbsent: true`. Floot's storage enforces the condition itself: when several runs copy to the same new file name at the same moment, at most one succeeds and the file is never overwritten. The run whose copy created the file is told `ok: true`, even when a network hiccup made Floot retry it. The others get `ok: false` with one of these codes: - `AlreadyExists`: the file was already there. Another run got there first. - `ConditionalRequestConflict`: another write to that file name happened at the same instant, and nothing was copied. Try the same copy again; it then succeeds or returns `AlreadyExists`. `ifMatch` with an etag from `getInfo` replaces a file only if it hasn't changed since, and returns `PreconditionFailed` when it has. If a copy fails with any other error, such as `StorageRuntimeError`, it may or may not have created the file. Check with `getInfo` before you decide which run goes ahead. These conditions guard only the writes that use them: a copy or upload without a condition still overwrites the file, and once the file is removed it can be created again. ### Large files On a paid plan your app can accept files up to 5 GB, such as videos, recordings or data exports. Ask your assistant for it when you describe the feature, for example: "let users upload videos up to 2 GB." The browser sends the file in 16 MB parts, a few at a time, so a part that fails is retried on its own instead of starting the whole file again, and the parts are joined into one file once all have arrived. - On the free plan a single file is limited to 100 MB, and an app that asks for a bigger upload is told to upgrade. - A large file counts toward storage like any other file, by its final size. Parts of an upload that is never finished are removed a day or two after it started and are never billed. - A project can have up to 100 unfinished uploads started in the last 12 hours. - The links the browser sends parts to stay valid for 12 hours, so a slow connection has time to finish. - Reading a large file back works like any other file. Your app's backend reads it in pieces rather than all at once, and splits long processing into background tasks, since one backend run lasts at most 15 minutes. ### When your app replaces a file Public files are cached so they load fast: by default, by the CDN for up to a day, and by visitors' browsers for up to a year. That suits files that never change. When your app saves a new version under the same name (a profile photo, a generated report, a JSON feed), people can keep seeing the old one. For files like that, ask your assistant to make them update right away, for example: "when a user changes their profile photo, show the new one right away." It sets a cache time on each upload of that file, such as five minutes, and that time is used instead of the default, by the CDN and by browsers (the CDN keeps a file for at least a second and at most a year). - It applies from the next upload of each file. A copy already cached under the old setting stays until it expires, so a browser that has the old file can keep showing it. - It needs a code change, so the live app gets it when you publish. - To show a new version to everyone at once, save it under a new file name (for example with a version number or date in it) and point the app at the new name. Adding something after a `?` in the address is not enough: the CDN ignores it and serves the same copy. Files that never change can keep the default caching. ## Vulnerable packages your dependencies pull in A security scan such as `npm audit` sometimes flags a package your app never installed itself: one of your packages depends on an old, vulnerable version of it. ExcelJS pulling in an old `uuid` is a common example. When the package you use has a fixed release, updating it is the fix. When it has none yet, you can ask your assistant to pin a safe version of the vulnerable package for that one parent, for example: "npm audit says exceljs pulls in a vulnerable uuid, pin a safe one." - The pin applies to your preview, and to your published app from its next publish. - It moves only the copy that one package depends on, and only while that package is one of your app's own dependencies. - Floot refuses a pin that would change a package it manages itself, such as React, Vite or Capacitor, whether as the package pinned or the one that pulls it in; those stay on the versions Floot ships. - A pin is an exact version or a `^`/`~` range on one, and a project can hold up to 20. > **Note:** A forced version can still break the package that depends on it, especially a new major version, so check the feature that uses it in the preview before you publish. Pins are not part of the code you download, and native app builds do not use them yet. ## Privacy and visibility ### Your projects | Setting | Who can see it | | --- | --- | | **Private** (default) | You, your collaborators, and Floot staff when a support request from you, a security or technical issue, or the law requires it | | **Anyone with a preview link** | Can view the project and use the running app, with no login — see below | | **Public** | Anyone can see its code — and other Floot users can duplicate it, as long as you and they are both on a paid plan. Its data stays private (see below) | Preview links deserve their own line, because your AI assistant hands them out routinely. Every preview URL carries a token in its query string (`?ptoken=…`). That token is a view-scoped grant for exactly one project: it can read the project and interact with the running app, and it cannot write files, publish, or touch your account. It acts with the access of the person it was made for, so it stops working if that person loses access to the project. Otherwise it expires seven days after it was issued, and a single link cannot be revoked before then. To close every preview link of a project at once, turn on **Only allow internal publish** in the **Visibility** card of your project's **Settings** page (click the project's name in the top-left): within about a minute the links, and the access they gave to the preview's backend, work only for people signed in to Floot who have access to the project, and the preview's storage files move to a private address. Endpoints that export `flootPreviewPublic` (webhooks) still answer anyone and check their caller themselves — see [Publish privately](https://floot.com/docs/projects/internal-publish). The no-login part is deliberate. These links are usually opened on a phone, inside a chat app's in-app browser, which carries no Floot cookies — a sign-in wall there would be a dead end. The trade-off is that anyone the link is forwarded to can open it until it expires, so treat a preview link the way you would treat a shared document link. Opening one while signed in as the owner still gives you your normal rights; the token never downgrades you. Someone signed in to a different Floot account with no access to the project is sent to the Floot home page instead, and gets in from a private browser window. For a private project: - Your code and prompts are not visible to other Floot users - No one else can duplicate it - Access is limited to you, your collaborators, anyone holding a live preview link, and Floot staff as described above - Only you, the owner, can delete it - An AI assistant you connect works with your Floot account's access, so it can open every project you can unless you limit it. Protect that ChatGPT or Claude account as carefully as your Floot sign-in. You can make an assistant read only, stop it from publishing, or limit it to one project, and disconnect one you no longer use, from your account page: see [Limit what an assistant can do](https://floot.com/docs/integrations/what-your-ai-can-do#limit-what-an-assistant-can-do) and [Your account](https://floot.com/docs/faqs/your-account) Working through your AI assistant on a project that someone else owns and shared with you requires a paid plan on your own account — the connector runs on your assistant's tokens, so the seat is what the plan pays for. In the floot.com editor you can open a shared project on any plan, but editing its code by hand there needs a paid plan on both your account and the owner's. Reading a public project's code is never gated; writing to a project you do not own is. > **Project visibility is not app visibility:** Making a project public exposes its source, its project prompt, the activity record of what your assistant did to it, and any messages sent to Floot's own chat in the editor. It does not expose the conversation you had with your own assistant — that stays with your AI provider, not on the project — and it does not expose the project's data: its database, stored files, logs, email and payments stay visible only to you and your collaborators. Making a project public or private also does not change who can open your published app: that is decided when you publish — publicly, or privately for people you invite (see [Publish privately](https://floot.com/docs/projects/internal-publish)) — and by any sign-in your app requires. ### Your app's user data Data your app collects — accounts, form submissions, uploads — is: - Stored in your app's own Postgres database and file storage, on managed infrastructure with provider-level disk encryption - Readable by the AI assistant you build with whenever a prompt requires it, which means it reaches that provider's context - Your responsibility to handle in line with applicable law ## Handling sensitive data If your app handles healthcare, financial, or otherwise regulated data: 1. Consult legal counsel about your compliance requirements 2. Decide whether your assistant may query that data at all — a query you ask for sends real rows to your AI provider 3. Contact Floot to discuss your specific needs before you launch --- # Network requirements for your app > The domains, IP addresses and ports to allowlist so a company network can use your published app, and which ones depend on the features your app uses. Source: https://floot.com/docs/platform/network-requirements If people will use your app from a company network, its IT department may ask which domains and ports to allow through the firewall or web filter. This page is the list for a published Floot app. Send it to them as it is. Building in Floot's editor and its preview needs a different list: see [Building your app in Floot](#building-your-app-in-floot) at the end. ## Always needed Everything uses HTTPS (or secure WebSockets) on TCP port **443**, with TLS 1.2 or newer. Plain HTTP on port 80 only redirects to HTTPS. | Host | What it is for | | --- | --- | | Your app's own address: `.floot.app` and any custom domain | The app itself: its pages, its backend (`/_api`), its scripts and styles (`/_assets`), its public files (`/_cdn`) and its visitor analytics (`/_floott`). Allow both the `floot.app` address and the custom domain: when a custom domain is set, the `floot.app` address redirects to it. | | `floot.com` | The visitor analytics script (`floot.com/t.js`) and, for an app without its own icon, the default icon. Not needed if you turn [visitor analytics](https://floot.com/docs/integrations/analytics) off. | | `floot-client-app-storage.s3.us-east-1.amazonaws.com` | File uploads, and opening private files. Public files load from your app's own address instead. | Your app's own address is served from these fixed IPv4 addresses, for a firewall that filters by IP: `3.173.23.154`, `3.173.22.154`, `3.173.21.154`. Floot does not publish an IPv6 address for apps. The other hosts on this page run on AWS, Google, Microsoft, Cloudflare or Stripe addresses that change, so allow those by name. ## Needed only for some features | Host | Needed when your app uses | | --- | --- | | `realtime.floot.com` (secure WebSocket, `wss://`) | Live updates (realtime) | | `floot.com` and `accounts.google.com` | Sign in with Google through Floot. With your own Google client, only `accounts.google.com` | | `oauth.floot.com` and `login.microsoftonline.com` | Sign in with Microsoft, and letting users connect their Google or Microsoft account | | `floot.com` and `challenges.cloudflare.com`, plus the Google, GitHub or Microsoft sign-in page a person uses | [Publish privately](https://floot.com/docs/projects/internal-publish): visitors sign in to Floot before the app opens | | Stripe's domains: see [Stripe's list](https://docs.stripe.com/ips) | Payments, subscriptions or a billing portal | | `*.awswaf.com` | The setting that asks visitors from cloud servers to prove they are human. A company web proxy that runs in the cloud can be what triggers the check | | `assets.floot.app` | Images and icons in older projects whose addresses still point there | | `fonts.googleapis.com` and `fonts.gstatic.com` | Rarely: Google Fonts are normally copied into your app when you publish. These are needed only if that copy failed, or if your app's code loads fonts some other way | | The browser's own push service (for example `fcm.googleapis.com` for Chrome, `*.notify.windows.com` for Edge) | Web push notifications | Any outside service your app's own code calls from the browser (a map, a video host, an API) needs its own entry. Ask your assistant to list the outside services your app loads in the browser. ## Mobile apps The iOS and Android apps Floot builds carry their pages inside the app and call your app's `.floot.app` address, even when the app has a custom domain. They do not load `floot.com/t.js`. Uploads, live updates, sign-in and payments use the same hosts as above. ## Email your app sends Your app's email is sent by Amazon SES from your own verified sending domain, signed with DKIM and covered by SPF (`include:amazonses.com`). A company mail filter that allowlists senders should allow your sending domain. Until you verify a domain, your app's email goes only to you, from `emailservice.floot.com` — see [Email](https://floot.com/docs/integrations/email). ## Your backend calling the company's systems This page is about people reaching your app. If your app's backend must call a system inside the company's network, its calls come from changing AWS addresses. To send them from a short fixed list of addresses the company can allow, use [Fixed outbound IP](https://floot.com/docs/platform/fixed-outbound-ip). ## Building your app in Floot The lists above are for people using your published app. If someone builds or tests the app in Floot's editor from a company network, the editor and its development preview need these hosts instead, also over HTTPS on port **443**. This is what Floot uses today: it can change, so treat it as a current list rather than a fixed contract. | Host | What it is for | | --- | --- | | `floot.com` | Floot itself: the editor, your projects and the dashboard | | `*.sandbox.floot.app`, including secure WebSockets (`wss://`) | The development preview of your app, its backend while you build, and the connection that rebuilds the preview as you edit. Each project has its own address under `sandbox.floot.app`, so allow the wildcard | | `realtime.floot.com` (secure WebSocket, `wss://`) | Live updates in the editor | | `assets.floot.app` and Amazon S3 (`*.s3.us-east-1.amazonaws.com`) | Only for an app that uses file storage: uploading files and showing stored images, video and audio in the preview | Analytics, advertising, tag manager, fingerprinting and web font hosts that floot.com loads can be blocked without breaking the editor or the preview. Creating a new Floot account with an email address also uses `challenges.cloudflare.com`; signing in to an existing account works without it. Any outside service your app itself calls (a map, an API) needs its own entry here too, as for the published app. --- # Security headers and embedding > Choose who can show your app in an iframe, set your own Content Security Policy, and change the Referrer-Policy of your published app. Source: https://floot.com/docs/platform/security-headers Every published Floot app is served with a safe set of security headers, on its `.floot.app` address and its custom domains alike. You can change three of them for your own app: who may embed it in an iframe, its Content Security Policy (CSP), and its Referrer-Policy. Your assistant sets them for you — there is nothing to configure by hand. ## What your app gets by default - **Embedding** — Any site may show your app in an iframe. That's what most apps want, and it is what you need to embed your app in Notion, Webflow or your own site. - **Content Security Policy** — A shared policy that allows what Floot apps commonly load — scripts, styles and fonts over HTTPS, images from anywhere, API calls to any HTTPS host — and blocks plugins and `` tag tricks. - **Referrer-Policy** — `strict-origin-when-cross-origin`: other sites see your domain when a visitor follows a link, never the full page address. - **Cache-Control on your endpoints** — Answers from your app's endpoints (`/_api/...`) leave with `Cache-Control: private`, so Floot's CDN never keeps one and never shows one visitor's data to another. The one exception is a GET (or HEAD) request whose endpoint sends an explicit `s-maxage`, sets no cookie, varies on nothing but `Accept-Encoding` or `Origin`, and is not from an app published internally for your team: that answer keeps its own `Cache-Control` and the CDN may keep it for that many seconds — see [Backend answers that are the same for every visitor](https://floot.com/docs/projects/seo#backend-answers-that-are-the-same-for-every-visitor). An endpoint that sends no `Cache-Control` gets plain `private`; one that sends `max-age` without qualifying for the CDN gets `private` added in front (and loses `public` and `s-maxage`), so the visitor's browser still caches it for that long. `no-store` and `no-cache` are left as they are. A caller's `If-None-Match` and `If-Modified-Since` headers reach your endpoint, so it can answer `304` when nothing changed; an app last published before late November 2026 gets this at its next publish. ## Block or limit embedding Stopping other sites from framing your app protects it from clickjacking (a page that hides your app under its own buttons to trick visitors into clicking). It is also the usual fix for a security scan that reports a missing **X-Frame-Options** header. | Setting | Who can embed your app | | --- | --- | | **Anyone** (default) | Every site | | **Only my app** | Only your app's own pages | | **Nobody** | No site, not even your own app | | **A list of sites** | Your app plus the sites you name, for example `https://partner.com` or `https://*.example.com` | "Your app" means the address the page was opened on. Your `.floot.app` address and a custom domain count as different sites, so if one should be able to embed the other, name it in the list. The same goes for the app's own iPhone and Android builds: a list can name `capacitor://localhost` (iPhone) and `https://localhost` (Android). Ask your assistant in plain words, for example "don't let other sites embed my app" or "only allow my app to be embedded on https://mycompany.com". ## Set your own Content Security Policy You can replace the shared policy's sources for any of these directives: `default-src`, `script-src`, `style-src`, `img-src`, `font-src`, `connect-src`, `media-src`, `frame-src`, `worker-src`, `manifest-src` and `form-action`. A directive you set replaces the shared one completely; the ones you leave alone keep Floot's. That works both ways: - **Tighten it:** allow scripts only from your app and Stripe, limit forms to your own pages, or only allow iframes from YouTube. - **Loosen it:** allow something the shared policy blocks, when your app needs it. A few sources are always required, because every Floot page needs them: your app's own origin (`'self'`), inline scripts and styles (`'unsafe-inline'`), and `https://floot.com` for scripts while the built-in visitor analytics is on. Floot refuses a policy without them rather than letting it break your app. > **Try a stricter policy before you enforce it:** A stricter policy can block something your app quietly relies on — an API, a payment form, file uploads, a map. Ask your assistant to try it in **report-only** mode first: the browser logs everything it *would* block in the console and blocks nothing. Use the app's main flows on the live site, have your assistant add what's genuinely needed, then switch report-only off and publish again. ## Change the Referrer-Policy Pick any standard value. `no-referrer` is a good choice for an app whose links carry private tokens (password reset or magic sign-in links), so those addresses are never sent to another site. ## When the change takes effect On your **published app**, at its next publish. The preview runs on a different domain with its own headers, so it never shows these settings — check the live site after publishing. Duplicates of your project keep the setting. ## What it does not cover - **Responses from your app's endpoints** (`/_api/...`), apart from their `Cache-Control` (above). The embedding, CSP and Referrer-Policy headers matter on pages, not on data. An endpoint that returns its own HTML page — an OAuth callback, a payment-complete page, an embeddable widget — sets its headers itself, and your assistant knows how. - **Native iOS and Android builds**, which load your app from the device. - **Nonce-based CSP**, which isn't possible because published pages are cached at the edge. --- # Firewall > How every published app is protected from floods and fake browsers, and how to add a human check for cloud visitors, rate limits on your paths, and a log of where your traffic comes from. Source: https://floot.com/docs/platform/firewall Floot's firewall decides which requests reach your published app before your app runs. Some protection is always on. In **Services → Firewall** you can add three things of your own: a human check for visitors from cloud servers, rate limits on your app's paths, and a recording of where your traffic comes from. ## What every app gets Every published app slows down a caller that floods it with requests and blocks programs that pretend to be a browser. There's nothing to set up, and requests refused this way never reach your app, so they cost you no hosting. A caller over these limits gets a `429` answer with the code `floot_rate_limited`. ## Ask visitors from cloud servers to prove they're human Headless browsers running in data centers can load every page of your app, and each load can call your backend and run up your hosting. With **Ask visitors from cloud servers to prove they're human** on, a page load from a data-center network gets a quick puzzle (a CAPTCHA) before your app runs. Visitors on home and mobile networks almost never see it, and someone who solves it isn't asked again for an hour. - **Only page loads are checked.** Calls to your app's API (`/_api/...`), webhooks and file downloads are never asked. - **Free on every plan.** Anyone who can publish the project can turn it on or off. - **When it takes effect:** on a published app, within a few minutes. Otherwise at the next publish. > **Some real visitors browse from cloud networks:** People on a VPN or a work proxy, AI assistants that open pages for someone, and uptime or test checks will get the puzzle too. If your app relies on any of them, try it and watch for complaints, or leave it off. ## Rate limits A rate limit refuses requests to a path once there are too many in a set time, from one visitor or from all visitors together: for example 5 sign-in attempts per visitor every 5 minutes, or 2,000 calls an hour to an expensive AI endpoint. Rate limits need a paid plan, and an app can have up to 5 of them. Ask your assistant in plain words, for example "limit sign-in attempts to 5 per visitor every 5 minutes" or "allow at most 60 page loads a minute per visitor under /plan/". It writes the rules into `static/__dev/firewall.json`, and **the next publish makes them live**. The **Rate limits** card in **Services → Firewall** lists the rules and says whether they are live or not published yet. - **Path** — An exact path (`/_api/auth/login`), or one ending in `*` for every path that starts with it (`/_api/ai/*`, `/*`). An endpoint's path is `/_api/` followed by its name. - **Method** — GET, POST, or both (the default). - **Limit and window** — At most this many requests per window. A window can be 1 second to 1 day. Windows start at fixed times rather than sliding, so a caller can get up to twice the limit across the end of one window and the start of the next. - **Count by** — Each visitor's IP address on its own, or all visitors together. People behind one network, like a school or an office, share one count per visitor. A request over the limit gets a `429` answer with a `retry-after` header. A call to your API gets JSON with the code `floot_rate_limited`, and a page gets a short **Too many requests** page. A visitor over a per-visitor limit is refused on that rule's paths until the window ends. One who keeps going is also refused at Floot's CDN for 15 minutes, twice as long each time it happens again (never past the end of the window). That block covers cached pages and files too. ### What rate limits count - **Only requests that reach your app's backend are counted:** calls to `/_api/...` and server-rendered pages not served from the cache. Static files, cached pages and the pages of an app without server rendering never reach it, so they are not counted. - **A limit for all visitors together is never enforced at the CDN,** only by your app's backend. - **Refused requests still use a little of your hosting compute,** because your backend answers them. A real flood is stopped earlier, by the protection every app gets. - **On the free plan, a publish leaves the rules off,** and they switch off by themselves if the project's plan is downgraded. The project's plan is the one that counts (the team's, for a team project), not the plan of the person publishing. - **A file with errors changes nothing:** the published app keeps the rules it has, and the card lists the errors. ## Record where your app's traffic comes from When traffic or hosting costs jump, turn on **Record where this app's traffic comes from** in the **Traffic log** card. It records every request to your published app for 72 hours or 5 million requests, whichever comes first, then turns itself off. The card shows: - Total requests, the share that came from bots, and the requests refused at the edge - The top IP addresses (with their network and country), networks, countries, paths and user agents From a path that gets too many requests, click **Limit this path** to ask your assistant for a rate limit on it. The summary updates every few minutes. - **Paid plans only.** Anyone who can publish the project can start it, and **Stop now** always works. - **Recording changes nothing for visitors:** the same firewall rules apply. - **Recorded requests are kept 7 days,** then deleted. They include your visitors' IP addresses (see [How long Floot keeps things](https://floot.com/docs/platform/security-and-data#how-long-floot-keeps-things)). - **It sees requests, not answers,** so it can't show status codes or how much data each visitor downloaded. Some requests have no network on record, so the networks list under-counts. ## On a branch On a branch, these settings apply to the branch's own published address only. A merge doesn't carry them: set the live app's on main. --- # Fixed outbound IP > Send your backend's calls from fixed IP addresses, for banks, payment processors and partner APIs that only accept allowlisted IPs. Source: https://floot.com/docs/platform/fixed-outbound-ip Some services only accept requests from IP addresses you registered with them in advance: banks and payment processors, government and partner APIs, vendors that restrict an API key to a list of IPs. A Floot backend is serverless, so its outbound address changes all the time. Fixed outbound IP gives your app a short, fixed list of IPv4 addresses to send those calls from. ## When you need it - A service asks for your **server IP**, a **static IP**, or an **IP allowlist** (also called a whitelist) before it will give you access - Calls from your backend are refused with an IP error such as `403 IP not allowed` or `not whitelisted`, while the same key works from somewhere else - You want to restrict one of your own API keys to known IPs, for example an IP-restricted Stripe restricted key on your own Stripe account ## Turn it on 1. **Open the setting** Open your project on floot.com, click the project's name in the top-left to open its **Settings** page. In the **Visibility** card, find **Fixed outbound IP** and click **Turn on**. On a phone, open the project menu and choose **Project Settings**: it is under **Advanced Settings**. Only the project owner can change it, and it needs a paid plan. Your assistant can't turn it on for you because it is billed, but it can send you a link that opens the setting. 2. **Give the addresses to the service** Once it is on, the setting lists the addresses with a **Copy** button. Add **all** of them to the service's allowlist. Some are held in reserve, so the list doesn't have to change as Floot grows. 3. **Ask your assistant to use it** Say which calls should go through it, and your assistant wires them up: ``` Send our calls to the bank's API through the fixed outbound IP. ``` ## How it works - **Only the calls you choose** — Your app decides, call by call, what leaves from the fixed addresses: a call made with `fixedIpFetch` from `@floot/egress`, used like `fetch`, or through its `fixedIpAgent()`, for libraries that take an HTTPS agent. The list of addresses is there too, as `FIXED_IP_ADDRESSES`. Everything else your backend does (database, AI, email, other APIs) is unchanged. - **Preview and published app** — It works the same in both, so you can test against the service before you publish. - **Encrypted end to end** — The connection between your app and the service stays encrypted the whole way. Floot passes the traffic along and can't read it. - **HTTPS only** — It carries HTTPS calls on port 443 to public IPv4 addresses, which is what API allowlists are for. Every address the service's name resolves to is checked when the call connects. It can't be used for other protocols, such as a direct database connection. - **Backend only** — The calls are made from your app's endpoints, scheduled jobs and background tasks. Requests made by a visitor's browser come from the visitor's own IP. > **The addresses are shared:** Every Floot app that turns this on sends from the same addresses. An allowlist is one layer of protection: the service still identifies your app by its own API key or credentials, so keep those secret as usual. Dedicated addresses for a single app aren't available yet. Contact us if a service requires them. ## Pricing Fixed outbound IP is available on paid plans and costs **$10 a month per project**, billed from your hosting credits at $0.33 for each day it is on. That includes **5 GB** of traffic through the fixed addresses per month; beyond that it is $0.15 per GB. It appears as its own line on your hosting usage page. Turn it off at any time and billing stops after that day. Routing only the calls that need it keeps you well inside the included traffic. ## When it pauses Calls through the fixed addresses are refused, and the feature isn't billed, while: - **The setting is off.** Services that allowlist the addresses stop working for your app until you turn it back on. - **The owner's plan is no longer a paid plan.** It resumes when the plan is renewed. - **The hosting balance is overdue.** It resumes once the balance is paid. The setting shows **Paused** with the reason in the last two cases. Changes take effect within about a minute. The rest of your app keeps running either way; only the calls routed through the fixed addresses fail. --- # Publishing your app > What a publish ships, who can publish, pages and endpoints that stay in the preview, why the live site can be behind the preview, changing the floot.app address, unpublishing, the Made with Floot badge, a loading screen while a page opens, and what to do when a publish is stuck. Source: https://floot.com/docs/projects/publishing Publishing puts your project live at its `floot.app` address and on every custom domain you connected. Nothing goes live until you publish, or ask your assistant to. ## What a publish ships A publish takes the whole project as it is at that moment, pages and backend together, and replaces the live version with it. It goes to your `floot.app` address and to every connected custom domain at once, because they all serve the same app. - **Nothing is published automatically.** Changes made by you or your assistant show in the preview only, until someone publishes. - **Your assistant can publish.** Ask it to. Publishing through the connector runs the same code as the Publish button. - **Your database is not part of a publish.** The preview and the live app use the same database, so a change to data or to tables is live as soon as it is made. See [Your database](https://floot.com/docs/platform/database). - **Scheduled jobs go live with the publish.** A job you added or changed starts running in the published app at the next publish. Scheduled jobs need a paid plan on the account that pays for the project: on Free the app still publishes, but its jobs do not run, and the Publish screen says so. After upgrading, publish again to start them. - **A failed publish changes nothing.** The live app stays on the version it had. To publish only part of your recent work, restore the checkpoint you want to ship, make the changes you want on top of it, and publish. To take the live app back to an earlier state, do the same: restore the checkpoint from before the change, then publish. A restore changes your project's code, not your data. See [Checkpoints and undoing changes](https://floot.com/docs/getting-started/editor-and-preview). ## Pages and endpoints that stay in the preview Some code is only for you while you build: an endpoint that fills the database with test data or resets it, a debug page, a playground that tries a component against your real data. Give it a name under `__dev` and it works in the preview like any other page or endpoint, but no publish ever includes it, the mobile app included. Ask your assistant for one and say it should stay out of the published app. - **A page** named `pages/__dev..tsx` opens at `/__dev/` in the preview. In the published app that address shows your app's not-found page. - **An endpoint** under `endpoints/__dev/` is called at `/_api/__dev/...` in the preview. In the published app it answers 404. - **Keep published code from importing it.** A published page, component or endpoint that imports a file of a `__dev` page or endpoint (its `.schema` file, for example) fails the publish with `Could not resolve` naming that file. Move what both need into a helper. - **It is still part of your project.** `__dev` pages and endpoints are in your checkpoints and in the code you download. Files under `static/__dev/` follow the same rule: they stay out of the published app too. - **A page or endpoint that already had such a name** stops being published at your next publish. Rename it if visitors need it. ## Who can publish Anyone who may edit a project's main can publish it: on a personal project, the owner and collaborators with **Full access**; on a team project, the team's admins and people with Full access. A branch is published by the project's owner or the branch's creator. [Protect main](https://floot.com/docs/branches/collaborators-and-protect-main#protect-main) does not change who publishes: it stops direct edits to main's code, not publishing. - **A team project can leave publishing to its admins.** In **Manage access**, a team admin sets **Publish** to **Only admins** (the default is **People with Full access**). Then only the team's admins publish main, from the Publish button or through an assistant, and everyone else sees a read-only summary on the Publish screen that says the team's admins publish it. - **With Only admins, the live app's settings are the admins' too:** main's custom domains, app store accounts and invited people. - **Unpublishing and branches are not limited by it.** Anyone with Full access can still unpublish main and publish their own branches, so a broken app never waits for an admin. - **Only a team admin changes the setting.** A project moved into a team starts at People with Full access. Personal projects have no such setting. - **A paused team publishes nothing** until its plan is in force again; unpublishing still works. ## Publish for the first time 1. **Open Publish** Open your project on floot.com and click **Publish** in the top-right. 2. **Choose the address** Type the name you want in front of `.floot.app`. It can hold lowercase letters, numbers and hyphens. A name another app is using is refused, so try another. 3. **Click Publish** Floot checks the project for errors, then builds and deploys it, usually in 1–2 minutes. Keep the tab open during the check. Once the build is running you can close it: publishing continues in the background. After that, the same screen shows your live address and when the live version was completed. To ship new changes, open **Publish** and click **Publish update**. ## What the Publish button says | Button | What it means | | --- | --- | | **Publish** | The app is not published yet, or it is live and nothing has changed since the last publish | | **Publish changes** | The app is live, and the project has changed since the version that is live. Those changes are not public yet | | **Checking** | The error check before a publish is running | | **Publishing** | The build and deploy are running | | **Published** | The publish just finished and the new version is live | | **Publish failed** | The last attempt did not finish. The live app is still on the previous version | The button only opens and closes the Publish screen. Nothing is published until you confirm there. ## My live site does not show my changes Check these in order. 1. **Was it published after the change?** If the button reads **Publish changes**, the live site is behind the preview. The Publish screen shows **Completed** with the time of the version that is live, and below it the **release** id of that publish. **Version history** on the Publish screen lists your publishes with the source digest of each (it stays there after you unpublish): download the exact source a publish was built from (with a `SOURCE-MANIFEST.sha256` you can check with `sha256sum -c`), or compare it with your current code. A comparison lists every file added, removed or modified among the project's own files (code, styles, static files, examples and tests), and shows the source digest of both sides and, for your current code, when that version was saved, so you can tell later which draft it was; settings (visibility, internal-only, secrets, domains), dependencies, scheduled jobs and files in Storage are not compared. Download and compare need a paid plan on the project owner's account, while the list, release ids and digests are there on every plan. On a paid plan Floot keeps that source for 90 days, and always for your 20 most recent publishes; on the free plan it keeps it for 30 days, and always for the publish that is live. The rule follows your plan at the time: after a downgrade the older copies are removed within the hour. A publish from before November 2, 2026, when this was added, has a record only if it is the live one and the project hasn't changed since; publish again to record one. Your AI can read the live release and its digest through the connector's publish status, and on a paid plan it can run the same comparison with `compare_published_source`: ask it "what would change if I published now?" or for the changes to one file since the live version. 2. **Did the publish finish?** **Publish failed** means the previous version is still live. See **When a publish is stuck or fails** below. 3. **Did it go live in the last few minutes?** Floot clears its cache at every publish, but clearing takes a few minutes, and until it is done some visitors can still get pages from the previous version. Wait a few minutes and load the page again. 4. **Which publish answered you?** Every page and `/_api` answer from your published app names the publish that produced it in the `x-floot-release` response header: the same id as the **release** on the Publish screen. In your browser, open the developer tools, go to the **Network** tab, reload, click the page's own request and look under its response headers, or run `curl -I https://your-app.floot.app/` (any of your domains works). A page kept in the cache keeps the id of the publish it came from, so an older id there means you got a copy from before your publish. On an app without server-side rendering, the pages and the backend each keep the id of the last publish that changed them: after a publish that changed only backend code, the pages still show the previous id, and the other way round. An answer with no `x-floot-release` header came from code published before November 14, 2026, when the header was added; the next publish that changes that part adds it. 5. **Was the tab open before the publish?** A tab keeps the version of the pages it loaded until it is reloaded, while its requests already reach the new backend. If the publish changed both a page and the endpoint it calls, that tab can misbehave until it is reloaded. Reload it. A tab that moves to a page it had not loaded yet may reload itself once to pick up the new version. 6. **Is your browser showing an old copy?** Hard-refresh the page (`Ctrl/Cmd + Shift + R`) or open it in a private window. 7. **Are you looking at an installed mobile app?** An app on a phone does not update from a publish alone. See [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot). 8. **Does only one domain look old?** All of a project's domains serve the same version. A domain that shows something else is not pointing at Floot: see [Custom domain troubleshooting](https://floot.com/docs/custom-domains/troubleshooting). If what differs is data (rows, accounts, uploaded files) and not the pages, publishing is not the cause: the preview and the live app read the same database. An image or file your app replaced that still shows its old version is being served from a cache — see [When your app replaces a file](https://floot.com/docs/platform/security-and-data#when-your-app-replaces-a-file). ## Changing the floot.app address A project has one `floot.app` address. To get a different one, release the old name and publish under the new one. 1. **Remove custom domains** Open **Publish**, click the gear next to each custom domain, and choose **Remove custom domain**. The address cannot be released while a domain is attached. 2. **Unpublish** Click the **Unpublish** icon next to your live address and confirm **Delete subdomain**. 3. **Publish under the new name** Type the new name and click **Publish**. 4. **Add your custom domains again** Run **Add Custom Domain** for each one — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). > **Before you change it:** The app is offline between the unpublish and the new publish. The old name is released at once and anyone can publish to it, and links to the old address do not forward to the new one. Mobile app builds call the `floot.app` address they were built with, so build and release the app again afterwards. Update any webhook or sign-in redirect address you registered with another service. ## Unpublishing Open **Publish**, click the **Unpublish** icon next to your live address, and confirm **Delete subdomain**. Remove any custom domain first, from the gear next to it. You can also ask your assistant to unpublish the app; that call never counts against your daily build actions. - **What stops** — Once the unpublish finishes, the live app and its backend go offline, and no new request, scheduled job or background task starts in it. Its scheduled jobs and the timers and repeating tasks it had waiting are deleted. Work that was already running is not cut off: it can go on for up to 15 minutes, and what it does in that time, such as writing to the database, still happens. The `floot.app` name is released, and someone else can publish to it. - **What stays** — The project, its preview, its database and its stored files. The database and stored files still count toward hosting while the app is unpublished. - **What resets** — The **Display Floot logo** switch goes back to on for the next publish. That an app was [private](https://floot.com/docs/projects/internal-publish) is remembered: publish it again from the **Internal publish** tab to keep it private. - **When you publish again** — The project's scheduled jobs start again; they need a paid plan on the account that pays for the project. The timers and repeating tasks the published app had waiting do not come back: your app has to set them again. Timers and repeating tasks still waiting in the preview move to the published app, as they do at every publish. ## The Made with Floot badge A published app shows a small **Made with Floot** badge in the bottom-right corner. Visitors can close it for their visit; removing it for everyone needs a paid plan on the project owner's account. While the badge is on, an app without an icon of its own uses Floot's icon as its favicon. 1. **Switch it off** Open **Publish** and turn off **Display Floot logo**. On a free plan the row reads **Hiding the logo is a paid feature**, and the switch opens the upgrade dialog instead. 2. **Publish** The switch takes effect at the next publish, so click **Publish** or **Publish update**. Later publishes, including your assistant's, keep the badge off. Your assistant can switch the badge off too: ask it to publish without the badge, and it calls `publish_app` with `include_made_with_floot` set to `false`. That also needs a paid plan: on a free plan the publish is refused. When your assistant leaves the option out, the publish keeps the saved setting, so a badge you switched off stays off. On a first publish the badge is on unless your assistant sets the option to `false` or you switch it off on the publish form. The badge comes back when the paid plan ends. Floot checks once a day and puts it back on the live app, and the switch goes back to on. After a failed payment you have 2 days to fix the card before that happens. Subscribing again does not remove it by itself: turn **Display Floot logo** off and publish once more. The switch also starts on for a first publish, and for the first publish after an unpublish. ## A loading screen while a page opens A published app downloads each page's code the first time a visitor opens that page, and most pages are fetched ahead of time. When one is not ready yet, the visitor sees a blank page for a moment: on the first visit to a link to a page other than the home page (unless pre-rendering is on), or when moving to a page that was not fetched ahead. You can show your own loading screen there instead, such as a spinner or your logo. Ask your assistant, for example: "add a page loading fallback to my published app: a small spinner in my brand color". It creates the file `components/_pageLoadingFallback.tsx`, and your app uses it from the next publish. Delete that file to go back to the blank page. - **You will not see it in the preview.** The preview loads every page at once, so it never waits for one. To look at it, ask your assistant to show the loading screen in the component's example. In the published app, it shows on a slow connection. - **It is for the moment a page's code downloads.** Data that is still loading inside a page keeps its own loading state, in that page. - **Keep it simple.** It shows before the rest of your app has started, so it cannot depend on who is signed in or on data from your app. - **In a mobile app, the splash screen covers the start.** The loading screen is not shown in its place. ## When a publish is stuck or fails | What you see | What to do | | --- | --- | | **Checking for errors** for much longer than 1–2 minutes | Reload the page and publish again. If it sticks a second time, try another browser, or ask your assistant to publish for you | | A list of files with errors | The check found problems in your code. Click **Copy AI fix prompt**, paste it to your assistant, and publish again once it has fixed them | | **Taking a little longer than usual — still running** | Nothing to do. The build is still going | | **Publish failed** with an error | Your live app is untouched. Click **Try Again** once. If it fails the same way, copy the error text to your assistant, which can act on it | | **Publish failed** with `Could not resolve` and a path under `__dev` | Published code imports a page or endpoint that is never published. Ask your assistant to move what both use into a helper — see [Pages and endpoints that stay in the preview](#pages-and-endpoints-that-stay-in-the-preview) | | **The backend is too big to deploy** | Your backend code and the packages it uses are over the 250 MB limit. Ask your assistant to find the largest packages the backend depends on and replace or remove them, then publish again | | **Payments setup is not finished** | The app uses Floot Payments and the project owner has not finished Stripe setup, so the live app could not take real payments. Click **Set up Stripe**, give Stripe what it asks for, then publish again. If the app no longer takes payments through Floot, click **Turn off payments** instead — see [Payments](https://floot.com/docs/integrations/payments) | | **Live payments need a Pro or Power plan** | The app uses Floot Payments and the project owner is on the free plan. Payments keep working in test mode in the preview; to publish, the owner upgrades to Pro or Power, then you publish again | | **Shipping is not set up for the published app yet**, or your Shippo sign-in has expired | The app uses Floot Shipping and the project owner (for a team project, a team admin) has no working Shippo connection. Click **Login Shippo**, sign in to Shippo, then publish again; if you are not the owner, ask them to. If the app no longer ships anything through Floot, click **Turn off shipping** instead — see [Shipping](https://floot.com/docs/integrations/shipping) | ## Website only, or the mobile app too On the Publish screen, **Publish mobile app** decides whether a publish also builds the iOS and Android app. - **Off:** the publish updates your website and backend. No app is built, and apps already live in the stores keep their current version. - **On:** Floot also builds the mobile app, which uses one of your monthly app builds. If none are left, web publishing still works. - When your assistant publishes, tell it whether you want the mobile app built too. See [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot) for builds and installing them, and [Publishing to app stores](https://floot.com/docs/mobile-apps/publishing-to-app-stores) for the App Store and Google Play. ## Public or private A publish from the **Web** tab is public: anyone with the link can open the app. To publish for invited people only, use the **Internal publish** tab — see [Publish privately](https://floot.com/docs/projects/internal-publish). ## After a plan ends or hosting runs out When a paid plan ends, the app stays live on its `floot.app` address, the badge comes back, its scheduled jobs are removed from the published app, the timers and repeating tasks it had waiting are deleted, and connected custom domains are removed after 3 days. When hosting credit runs out, the app itself is taken offline — see [Hosting](https://floot.com/docs/faqs/hosting). Paying again does not put things back by itself: publish the app again (which also starts its scheduled jobs again), add each custom domain again, and turn **Display Floot logo** off again. Deleted timers and repeating tasks do not come back. --- # Sharing your projects > Preview links, collaborators, development previews, private apps, handing a project to another account, and making a project public. Source: https://floot.com/docs/projects/sharing-your-projects There are six ways to share a Floot project: pass on the preview link your AI assistant gave you, add collaborators, send a development preview, publish the app privately for people you invite, send the whole project to another account, or make the project public. > **Most sharing controls live on floot.com:** Your AI assistant can hand out a preview link, but it has no tool for adding collaborators, inviting people to a private app, sending a project, or changing visibility. For those, open the project on floot.com. Private publishing is on the **Publish** screen. Collaborators are behind the **+** next to the avatars in the top-right. Sending a project or a development preview is in the **Project actions** menu, the arrow beside the project name in the top-left, next to the Floot logo. Visibility is on the project's **Settings** page, which opens when you click the project name. > **Three of these need a paid plan:** Adding collaborators, sending a development preview, and sending a project all require a paid plan, and the last two are shown only to the project owner. Sharing a preview link, publishing privately for up to 5 people, and making a project public work on any plan. ## Share the preview link your AI gave you Every preview link the Floot connector returns already carries a view-only token in its query string. This is the normal way to show work in progress to someone who does not need an account. - It opens with no login, so it works in a phone browser or an in-app webview - It is scoped to one project, and expires after 7 days - The holder can look at the project and interact with the running app, but cannot change files or touch your account - A single link cannot be revoked before it expires, so share it only with people you would show the project to. To close every preview link of the project at once, turn on [Only allow internal publish](https://floot.com/docs/projects/internal-publish) - Share it exactly as your assistant returned it — stripping the token turns the link into a sign-in prompt - Lost it, or the 7 days ran out? Ask your assistant for the preview link again and it mints a fresh one > **You are not downgraded by your own link:** Opening a tokenized preview link while signed in as the owner still gives you full edit and publish rights — the page prefers a real session when it finds one. That also means someone signed in to a different Floot account, with no access to the project, is sent to the Floot home page instead; a private browser window gets them in. ## Add collaborators Give other people access to your project while you keep ownership. Each person gets a level: **Full access** (new invites start here) edits main directly, **Branches** sees main and its data without editing it (on a personal project they can view stored files but not upload or delete any), and **Isolated** works only on isolated branches that never see your real data; see [Collaborators and protecting main](https://floot.com/docs/branches/collaborators-and-protect-main). To let someone use the app without touching the project, [publish it privately](https://floot.com/docs/projects/internal-publish) and invite them instead. This needs a paid plan, and only the project owner can add or remove people. There is no MCP tool for it — collaborators are managed on floot.com. 1. **Open Collaborators** Click the **+** next to the avatars in the top-right of the project (**Add collaborators**). Clicking one of the collaborators' avatars opens the same dialog. 2. **Enter their email** Any email address works, whether or not that person has a Floot account yet. 3. **They're in, or invited** If they already have a Floot account, access is granted right away, and Floot emails them at that address. The subject line reads " added you to on Floot", and the message has an **Open Project** button that opens the project on floot.com under their own account. If they don't, Floot emails them an invite instead. The subject line reads " invited you to on Floot", and its **Sign in to Floot** button takes them to sign-in and then to the project. Once they create an account with that same email address, they are added to the project automatically. Until then they are listed under **Invited** in the Collaborators dialog, where the X cancels the invite. ### What to know A collaborator who wants to work on the project from their own MCP client needs their own paid Floot plan — opening a shared project over MCP is refused otherwise — and their **build actions** come out of their own daily allowance, not yours. Image generation is the exception: it always spends the project owner's credits. - A collaborator with Full access can edit, publish and unpublish, change data, and manage integrations, domains and schedules. Only the owner can delete the project, manage collaborators, or send the project or a development preview. - You can remove a collaborator at any time in the same dialog, which revokes their access immediately. - An invite is tied to the exact address you typed. If they sign up with a different email, the invite does not reach them: cancel it and add their new address. Entering the same address again sends the invite email again. - Changes made by your assistants show up live for everyone who has the project open — no refresh needed. There is no edit lock, so agree on who is working on what. - A collaborator who opens the dialog sees "Only project owners can manage collaborators" — they can edit the project but not change who else has access. - Collaborators get full access to the project's data and integrations, so only invite people you trust with them. ## Send a development preview Show a client or a tester what you are building without giving them the project. Click the **Project actions** arrow beside the project name in the top-left, then **Send development preview**. This needs a paid plan and is shown only to the project owner. - Up to 20 recipients at a time, and 50 in any 24 hours - Each recipient gets their own link by email - To open it, they must enter their own email address to verify who they are - Links expire after 7 days - If an email fails to deliver, you can copy that person's link and send it yourself — they still have to verify their address ## Publish the app privately To let specific people use the published app — a team tool, a client preview, a beta — without making it public or giving them the project, publish it internally. Open **Publish**, choose the **Internal publish** tab, add people by email, and click **Publish internally**. They get an invite, sign in with a Floot account on the address you invited, and can use the app but not open the project. Free accounts can invite 5 people across all their apps, Pro 20 and Power 50; to invite more than Power includes, contact support@floot.com. See [Publish privately](https://floot.com/docs/projects/internal-publish). ## Send project to another account Copy a project to a different Floot account. This needs a paid plan and is shown only to the project owner. You can send at most 5 projects in 30 minutes and 10 a day. ### When to use it - Handing a finished project off to a client - Moving a project to a team or company account - Consolidating projects under one account ### How it works 1. **Open Send project** Click the **Project actions** arrow beside the project name in the top-left, then **Send project**. 2. **Enter the destination email** The recipient does not need a Floot account until they accept. Optionally add a message, or charge them credits for the project — the smallest charge Floot accepts is **6,000 credits**. If the project has a Floot database, choose under **Database** whether they get **Copy schema and data** or **Schema only (empty tables)**. The choice covers the project's stored files too: **Copy schema and data** copies every file in its storage, including the files your app's users uploaded, while **Schema only** copies just the images and other assets the app is built with (the ones you or your assistant added) and none of your users' uploads. A project without a Floot database sends every stored file. 3. **They accept or decline** Floot emails a link. If they accept, they receive a copy — code, database, files, and the list of integrations — but **not** your saved keys. See **Keys and secrets in the copy** below. The copy is made when they accept, from the project as it is at that moment. Anything your app records after that stays in your project only. The invitation does not expire. It stays pending until they accept or decline it, or until you cancel it from **Send project**. 4. **What can block an accept** The recipient needs a free project slot — free accounts are capped at 5 projects — and, if you set a credit charge, enough credits to cover it. If either check fails the accept is refused and the invitation stays pending, so this is worth checking before you go looking for a bug. 5. **Credits change hands** If you set a credit charge, the recipient pays it and you receive that amount minus a 5,000-credit fee — so at the 6,000-credit minimum, 1,000 credits reach you. Sending a project has no transfer fee of its own. The 5,000-credit fee applies only when you charge the recipient credits; a send without a charge costs no credits on either side. > **You keep your copy:** Sending a project copies it. Your original project stays in your account, untouched. ### What happens to the database With **Copy schema and data**, the recipient gets a new, independent database with every table and every row as they were when they accepted — including your app's user accounts and everything else your tables hold. Nothing syncs between the two afterwards. Choose **Schema only (empty tables)** if they should start without your data or your users. The copy gets its own sign-in secret, so the accounts come along but nobody is signed in to the copy. Database roles and permissions are not copied: the tables belong to the new database's own user, and any `GRANT`s are left out. A database object that depends on a role the new database does not have — for example a row-level security policy written for a custom role — is left out of the copy. The send still completes without a warning, so if your app relies on custom roles or their policies, the recipient needs to set them up again in their copy. ### Keys and secrets in the copy The keys you saved as integrations never reach the recipient. Their copy lists the same integrations as your project, and each starts like this: - **AI provider keys, external databases, and custom secrets** start empty, and the recipient enters their own under **Services → Integrations**. If their account already has a saved integration with the same name and the same key names, the copy uses theirs instead, connected from the start. - **Sign-in secret**, Floot's built-in sign-in providers, the Google and Microsoft account connections, and push notification keys are made new for the copy. Nobody signed in to your app is signed in to theirs. - **Payments** and **Shipping** are added to the copy but not connected. The recipient connects their own account. > **Keys written into the project itself do come along:** Floot empties only the keys saved as integrations. A key, password, or connection string written into the code, a file in the project's storage, or a row in the database is copied exactly as it is, and the recipient can read and use it. Before you send, move such values into an integration, or remove them and have the provider issue new ones. Which rows and files are copied depends on the **Database** choice above; the code always is. ### What does not come along The copy arrives unpublished. The `floot.app` address, custom domains, app store connections, collaborators, and the project's checkpoints and history stay with your project, so the recipient publishes and adds the domain on their side. See [what a copy gets](https://floot.com/docs/projects/duplicate-a-project) for the full list. To hand over a live address, remove the custom domain and unpublish on your side, then have them publish under the same `floot.app` name straight away and add the domain to their project. The app is offline in between, and a released name can be taken by anyone, so do both steps together. Send project is how a project moves from one account to another. If what you want is the same account under a different email address, [change the account email](https://floot.com/docs/faqs/your-account) instead. ## Make a project public Let others view your project's source code and its activity record — the running log of the work done in the project, including everything your assistant did — and use it as a starting point for their own. Making a project public is free on any plan. 1. **Open the project's Settings** Click the project name in the top-left, next to the Floot logo. It opens the project's **Settings** page. 2. **Turn on Make project public** In the **Visibility** card, turn on the **Make project public** switch, then click **Save Changes** in the bar at the bottom of the page. Nothing changes until you save. There is no list of visibility values to pick from — it is one toggle, and you can turn it back off at any time. ### What happens - Others can view your source code and that activity record, but they cannot edit your project - Other Floot users can duplicate it as a starting point — duplicating someone else's project requires a paid plan on both sides, so this only works while you are on a paid plan too - Your published app URL is unchanged — this affects the project, not the live app - You keep full ownership and can go private again whenever you want ### When to use it - Sharing a template or example with the community - Open-source work you want others to learn from - Showcasing a build in your portfolio ## Which option should I choose? | Scenario | Recommended option | | --- | --- | | Showing someone what you just built, right now | Share the preview link your AI gave you | | Working together on a project | Add collaborators | | Client needs to watch progress | Add collaborators | | Client or tester should look but not own or edit | Send a development preview | | Your team, a client, or beta testers should use the live app, and nobody else | Publish privately | | Handing a finished project to a client | Send project | | Moving a project to another account you own | Send project | | Sharing a template with the community | Make public | | Open-source or portfolio project | Make public | > **Private by default:** All projects — including free ones — are private until you change the setting. See [Security and data](https://floot.com/docs/platform/security-and-data). --- # Publish privately > Publish your app so only the people you invite can open it — for internal tools, client previews, and betas. Source: https://floot.com/docs/projects/internal-publish An internally published app is live at its usual address, but only the people you choose can open it. Everyone else is asked to sign in, and turned away if they are not on your list. ## Who can open it - **You and your collaborators** — Anyone with edit access to the project can open the app. - **Invited users** — People you add by email. They can use the app but cannot open the project. Each one signs in with a Floot account on the address you invited, creating one if they do not have it yet. It suits internal tools such as dashboards and admin panels, client previews before launch, and beta tests with a small group. Search engines are told not to index the app. > **A sign-in in front of your app, not instead of it:** The Floot sign-in decides who can reach the app at all. If your app has accounts of its own, people still sign in to the app as usual once they are through. Floot decides who gets in, but does not record what people do once they are inside. To see how your testers used the app, look at what it saves in its own database (the **Data** tab under **Services**), or ask your assistant to record the actions you care about, such as each item a tester saves and when. ## Internal publish or your own sign-in? Both keep people out, but in different places. Internal publish puts the lock in Floot itself, in front of your whole app: someone you have not invited is turned away before they reach any of your pages, files or endpoints, so a mistake in your app's code cannot let them in. A sign-in your app has of its own is part of the app: everyone reaches it, and the app decides page by page who sees what. ![Two diagrams. Internal publish: everyone meets the Floot sign-in in Floot's wall around the app, and every page sits behind it. Your own sign-in: everyone enters the app, goes straight to Home and Pricing, or through the app's login to Dashboard and Account.](https://floot.com/_cdn/blog-images/2b661d78ddeb6541bdd31dca192aaa34a5a4a870/w1360.webp) *Internal publish locks the whole app in front of it. An app's own sign-in leaves some pages open and locks the rest.* ### When to publish internally - **Tools for your team:** an admin panel, a dashboard over your business data, a CRM or an operations tool. - **Client previews:** show a client the work before it goes live. - **Beta tests:** let a few people try a new app, or a new version of one, before anyone else sees it. - **Tools just for you:** a personal tracker or assistant nobody else should open. There is nothing to build: no sign-up page, no passwords, no reset emails. The app still knows who each person is (see [Knowing who is signed in](https://floot.com/docs/projects/internal-publish#knowing-who-is-signed-in)). ### When to give the app its own sign-in - **Apps for the public:** anyone can sign up, without an invite and without a Floot account. - **Pages that should stay open:** a landing page, pricing or a blog that people and search engines can find, with the private parts behind a login. - **More people than the invite limit:** internal publish allows 5 invited people with Free, 20 with Pro and 50 with Power, across all your apps. - **Paid products:** subscriptions, plans and roles tied to your app's own user accounts. - **Your own sign-in screen:** your brand, and the sign-in options you choose, such as email or Google. See [Sign-in for your app's users](https://floot.com/docs/integrations/app-sign-in). | | Internal publish | Your own sign-in | | --- | --- | --- | | Who can get in | Only people you invite | Anyone you let sign up | | What they need | A Floot account on the invited address | Nothing from Floot | | What is locked | The whole app | The pages you choose | | What you build | Nothing | Sign-up, sign-in and password reset, built by your assistant | | How many people | Free 5, Pro 20, Power 50 | No limit | The two also work together. Publish a public app internally while it is still in beta: testers sign in to Floot to reach it, then to the app's own accounts as usual, so you can try its plans and roles with real people. When you launch, publish it from the **Web** tab and the app's own sign-in takes over. ## Publish internally 1. **Open the Internal publish tab** Open your project on floot.com, click **Publish**, and choose the **Internal publish** tab next to **Web**. 2. **Add the people you want** Under **Invited users**, add their email addresses. You can include a personal note and choose whether to email them now. Floot writes the rest of the invite: a link to the app and how to sign in with the invited address. ![The Internal publish settings with one invited user, and the Send private preview invite dialog with a box for email addresses](https://floot.com/_cdn/blog-images/2e09774204c3b6c4a86fdfdd789474aab08f1559/w1600.webp) *Invited users are listed on the Publish screen. The email icon opens the invite dialog, where you can add more people and send them the link.* 3. **Click Publish internally** If the app is public right now, Floot asks you to confirm before making it private. Switching a live app between public and private takes it offline for a few minutes while Floot moves it, so pick a quiet time. Anyone still waiting for an invite gets it when the publish finishes. Going private is a publish like any other, so it also puts your latest changes live. To check the result, open the app's address in a private browser window: it should now ask for a sign-in. Later changes reach your testers the same way. They see what you last published, not your preview, so publish internally again whenever you want them to try a fix. > **Your assistant keeps it private:** Your assistant can publish updates to a private app, and it stays private. Only you can switch an app between public and private, on the Publish screen. ## Private mobile apps Internal publish covers the iOS and Android app too. On the **Internal publish** tab, turn on **Publish mobile app** before you click **Publish internally**, and Floot builds the app along with the private website. Only the same people can use it. - **It opens on a Sign in with Floot screen.** On iPhone it uses Safari's sign-in: anyone already signed in to Floot in Safari taps **Continue** and is in. On Android it uses the phone's browser the same way. - **People stay signed in.** They sign in again only after 30 days without opening the app, and at the latest 90 days after they first signed in. - **Removing someone signs them out of the app too**, within about an hour. So does **Sign out others** under **Sessions** on their Floot account page, used from a browser. - **Share it through TestFlight and Google Play internal testing.** A public App Store or Google Play listing does not fit an app only invited people can use. ![Publishing your private preview: the private website going private, and the iOS build for the Apple App Store building](https://floot.com/_cdn/blog-images/c29f86e619a3a0e6e30ef3574ebeb0ef04c9935e/w1600.webp) *One publish updates the private website and starts the iPhone build. The website finishes first; the build then takes a few minutes, plus Apple's processing before it shows in TestFlight.* Private mobile builds count toward your monthly app builds like any other build, and need the same store connections — see [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot). Only a publish with **Publish mobile app** on makes a build: | What you want | Publish mobile app | Uses an app build | | --- | --- | --- | | Let invited people use the website | Off | No | | Put a fix live on the private website | Off | No | | Give testers a new iPhone or Android build | On | Yes | | Keep testing the build testers already have | No publish needed | No | > **iPhone testers need two invites:** Your invite on the Publish screen lets someone sign in to the app. To install it, they also need a TestFlight invite, which you send in App Store Connect under **TestFlight**: Floot adds only the Apple ID you connected. People on your App Store Connect team can go in an internal group. Anyone else, such as friends or beta users, goes in an external group, and Apple has to approve the build for external testing before they can install it. ## Keep it private for good ![The Visibility card of the project's Settings page with Make project public and Only allow internal publish, which is off with a Turn on button](https://floot.com/_cdn/blog-images/94a499da819a8b7eceaa6fbe98c932e7a82a3533/w1488.webp) *Only allow internal publish, in the Visibility card of the project's Settings page.* To make sure the app is never published publicly by mistake, click the project name in the top-left to open the project's **Settings** page, and in the **Visibility** card click **Turn on** next to **Only allow internal publish**. You confirm by typing a short phrase, and the same goes for turning it off. The Web tab on the Publish screen is then unavailable, every publish (yours or your assistant's) stays private, and the project's preview links open only for people signed in to Floot who have access to the project. Turning it on closes everything a preview link opened before: links already shared stop working within about a minute, and so does the access they gave to the preview's backend; the preview's backend then answers only those signed-in people (the one exception is an endpoint that exports `flootPreviewPublic`, for webhooks, which must check its caller itself); and the preview's storage files move to a private address. That is what lets an app use the Floot sign-in as its only login. Only the project owner can turn it on or off, and an app that is live in public has to be published internally first. The setting covers main and all its branches, including ones made later, and you change it from main: a branch's Settings page shows main's setting but cannot change it, and there is no lock for a single branch. Copies of the project keep the setting. ## Custom domains An internal app answers on its `floot.app` address and on every custom domain you connected. Someone who opens one of them comes back to that same address after signing in. If you set a [primary domain](https://floot.com/docs/projects/seo#primary-domain-and-redirects), every address sends people there first, so they sign in and stay on the primary domain. Invite emails link to the primary domain, or to the `floot.app` address when none is set. If people who opened your custom domain still land on the `floot.app` address after signing in, publish the app internally again: an app gets this at its next internal publish. ## Signing out Someone who opens an internal app stays signed in to it in that browser, for up to 7 days before Floot checks their sign-in again. On a computer other people use, end it one of these ways: - **A sign-out button in the app.** Ask your assistant to "add a sign-out button that uses the Floot sign-out link", then publish internally again. The button signs that browser out of the app right away and opens a Floot page with **Log out of Floot**. Click that too: while the browser is still signed in to Floot, the app opens again without asking. - **Log out of Floot.** On floot.com, open the account menu and choose **Log out**. Apps opened from that browser stop working within about an hour, in every tab. - **From another device.** If you left a browser signed in somewhere else, open your Floot account page and click **Sign out others** under **Sessions**. The apps open in those other browsers stop working within about an hour. ## Knowing who is signed in Everyone who opens an internal app has signed in to Floot, so the app can tell who each person is without a login of its own. No sign-up page, no passwords, no user table to keep in step with your invite list. Ask your assistant to use the signed-in Floot user, for example: - **Each person's own records:** "show each person only the requests they submitted" - **A record of who did what:** "record who approved each expense, and when" - **Roles:** "only Maria and Sam can open the admin page" - **A personal touch:** "greet people by their email and remember their settings" The app learns two things about the person: a permanent ID for their Floot account and their email address. Your assistant stores records under the ID, which never changes, rather than the email, which a person can change on their Floot account. Floot tells the app who the person is on its server, where nobody using the app can change it, so the app does not have to take their word for it. > **Who gets in, and what they can do:** Who can open the app is still decided on the Publish screen. What each person can do inside it, such as which pages they see or what they can change, is up to the app: ask your assistant to set up the roles you need. ### Keeping your app's people list up to date If your app keeps its own list of people, such as a staff directory or a list of who can approve what, it can ask Floot which of them still have access. Ask your assistant for something like "add a button that archives people who no longer have access to the app". Someone you remove on the Publish screen shows as having no access right away, and someone you add back shows as having it again. The app only gets a yes or no for people it already knows, because they opened it before. Floot never gives it a list of everyone who has access, and never anyone's email address. This works for apps published internally, and in the preview. ### In the preview The preview knows who is signed in too, so you can try all of this before you publish. When you work on the project on floot.com, the app sees you. A preview link acts as the person it was made for, so a link you made and forward to someone acts as you. Someone who opens a link you shared by email is seen only when they are signed in to Floot with the address you sent it to; otherwise the app sees no one. With **Only allow internal publish** turned on, preview links stop working: only people signed in to Floot who have access to the project get in, and each is seen as themselves. ### When there is no signed-in person Only a person opening the app has a Floot sign-in. These have none: - An app published publicly - Endpoints made reachable without the Floot sign-in, such as webhooks (see below) - Scheduled jobs and background tasks - Calls from another of your apps through [connected apps](https://floot.com/docs/projects/connected-apps) The parts of your app that need a signed-in person refuse to answer there instead of opening up to everyone. So if you later publish the app publicly, those parts stop working rather than showing one person's data to anybody with the link. That also means something that works in the preview can stop working once the app is public: that is expected, and the fix is to publish it internally or to give the app a login of its own. ## Webhooks and other services Services that call your app from their own servers, such as a Telegram bot's webhook, a calendar feed or a script with an API key, cannot sign in to Floot. Ask your assistant to make those endpoints reachable without the Floot sign-in. It marks each one in its code, and each one must check who is calling, for example with the webhook's secret or an API key. Everything else stays private. For the same reason, other services cannot open your app's stored files by their usual address. To send a file to one, such as an image for a Telegram message or an AI model, your assistant gives it a temporary signed link instead. ## Limits - Free accounts can invite 5 people in total, across all their apps, Pro 20 and Power 50. Someone already invited to another of your apps does not count twice, and collaborators never count. - To invite more people, contact support@floot.com. If you are already over the limit, everyone keeps access; only new invites are refused. - Removing someone cuts off their access to the app's backend and data within about an hour. ## Test new features while the public app stays up Internal publish makes the whole app private, so everyone using the public version loses access. To try new features with a few people while your public app keeps running, [duplicate the project](https://floot.com/docs/projects/duplicate-a-project), publish the copy internally and invite your testers to it. Duplicating needs a paid plan. - **Give the copy its own database.** Choose **Duplicate schema only** for empty tables or **Duplicate with full data** for a copy of your data. The default, **Share database**, points the copy at your real data, so a tester's test order would land in your live app. - **Check what the copy still shares.** Connected integrations, such as API keys and payment or email services, are shared with the original and live straight away, and the copy's scheduled jobs start running when you publish it. Switch off anything that would send real emails, take payments or change outside data. - **Invite your testers again.** Invited users and collaborators are not copied. The copy also starts without an app store connection, so testing it as a separate iPhone app means connecting the store and giving it its own app ID. ![The Duplicate button under Copy, and the Duplicate Project dialog with Duplicate schema only selected](https://floot.com/_cdn/blog-images/577e8f14d6b5dc0ac4575e31e928dfd405e4304b/w1600.webp) *Duplicate the project and pick Duplicate schema only, so testers never touch your live data.* ## Making it public again Open **Publish**. A private app opens on the **Internal publish** tab, whose button keeps it private, so switch to the **Web** tab and click **Publish update**, or click **Make it public** on the **Internal publish** tab. Floot asks you to confirm, then republishes the app with your latest changes for anyone with the link. Switching between public and private, in either direction, leaves the site unreachable for a short while. Custom domains work the same on a private app as on a public one. Private publishing covers the published app. The preview link your assistant hands you works the way it always does — see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects). --- # Duplicate a project > Copy a project, choose between sharing and copying its database, see what a copy gets, and rehearse safely on an isolated branch. Source: https://floot.com/docs/projects/duplicate-a-project Duplicating makes a second project from an existing one: a place to experiment, or a starting point for a similar app. The choice that matters most is what the copy does with the database. ## Duplicate a project 1. **Open Duplicate** Open the project on floot.com, click the **Project actions** arrow beside the project name in the top-left, and choose **Duplicate project**. Duplicating needs a paid plan, and is refused while a hosting balance is unpaid. 2. **Name the copy** Give it a name that tells the two apart, such as "Shop (copy)". 3. **Choose a database option** If the project has a Floot database, **Database Options** offers three choices, described below. **Share database** is selected by default. 4. **Click Duplicate Project** The copy opens as a new, private project in your account. ## Share or copy the database | Option | What the copy gets | Use it for | | --- | --- | --- | | **Share database** | The same live database as the original. Both projects read and write the same rows, and a table changed in one is changed for both | Two apps that are meant to work on the same data. Never for testing | | **Duplicate schema only** | A new database of its own, with the same tables and no rows | A clean start with the same structure | | **Duplicate with full data** | A new database of its own, holding a copy of the data as it is now. Nothing syncs afterwards, so the two drift apart | An experiment you may throw away | > **Share database is the default:** If you click through without choosing, the copy works on your real data: a test order, a deleted row or a changed column in the copy is the same change in the original. Pick one of the two **Duplicate** options whenever the copy is for testing. The choice is offered only for your own project. If you duplicate someone else's public project, you get its code, a new, empty database with the same tables, and only the images and other assets the app is built with: none of the files its users uploaded. ## What the copy gets - **Copied** — The code (pages, components, backend and static files), its packages, your system prompt and design prompt, the project icon, the files in the project's storage, and the scheduled jobs. A project with **Only allow internal publish** turned on keeps that setting. - **Shared with the original** — Your connected integrations. The copy is connected to the same API keys and outside services as the original, and they are live from the first moment. With **Share database**, the database too. - **Made fresh for the copy** — The secret that signs your app's sign-in sessions, Floot's built-in sign-in providers, the Google and Microsoft account connections, and push notification keys. People signed in to the original are not signed in to the copy. Floot Payments and Shipping are set up new and not connected: connect them again in the copy. - **Not carried over** — The `floot.app` address and custom domains (the copy starts unpublished), app store connections and the mobile app ID (the copy gets its own), collaborators, invited users, checkpoints and history, connections to your other apps, email domains, the site description, the splash screen, and the **Enable Pre-rendering** switch. When you duplicate someone else's project, integrations are copied as empty slots: you set up your own keys. If your account already has a saved integration with the same name and the same key names, the copy uses yours. A key written into the code is copied as it is. A database of the copy's own does not get custom database roles or their permissions (`GRANT`s). A row-level security policy written for a custom role is left out, while row-level security stays on for the table, so set the role and the policy up again in the copy. ## Duplicate a branch A branch can become a project of its own without being merged into main: open the branch, click the **Project actions** arrow and choose **Duplicate as new project**. The new project gets what the branch has: its code and packages, the files it sees (those it still reads from main included), and a database of its own, with the branch's tables and no rows (**Duplicate schema only**) or a copy of its data (**Duplicate with full data**). A branch's database is never shared: it goes when the branch does. Its sign-in secret and other Floot credentials are made fresh, and its API keys keep the branch's values, an isolated branch's test values included, in keys of the copy's own. Main and the branch do not change. A code-only branch has no database or backend and can't be duplicated; duplicate its main project instead. Send project and the template link stay on main. ## Schedules in a copy - **Scheduled jobs are copied, but they wait.** They do not run in the copy until you publish it. - **Once the copy is published, its jobs run on the same timetable as the original's.** With shared integrations or a shared database, both apps then do the work: two reminder emails, two syncs. Switch off or delete the jobs you do not want in the copy before you publish it. - **Recurring background tasks your app created while running** come along only with **Duplicate with full data**, and start when the copy is first published. One-off delayed tasks are never copied. ## Rehearsing without real users, mail or keys A duplicate is not a safe place to rehearse, even with **Duplicate schema only**. On the same account it keeps this project's API keys, linked to the same values; its stored files and scheduled-job settings are copied; and once it has an email domain, it sends real email. For a rehearsal, use an [isolated branch](#isolated-branches). ## Isolated branches An isolated branch is a copy of the project for work that must not reach real users, mail or data: an agent's run, a contractor's starting point, a risky change. It has the code and the tables, with no rows, no real keys and no way to send real email. Make one in the editor with **New branch** › **Branch type** › **Isolated**, or over MCP with `fork_project` and `isolated` set. What it starts with, what is locked and what isolation does not cover: [Isolated branches](https://floot.com/docs/branches/isolated-branches). ## Cost There is no charge for making a copy. A copy with its own database is a second database, and each project's database, storage and published app count toward hosting as usual. Delete a copy you no longer need. --- # Connected apps > Let one of your Floot apps use another's features and data — no API keys, no glue code. Source: https://floot.com/docs/projects/connected-apps Connected apps let one of your Floot apps use another's features and data directly. There are no API keys to manage and no code to write: you ask your assistant, approve the connection, and the apps work together. ## What to build with it - **An admin app that runs your public site:** add products, update orders and manage customers from a private back office. - **Several sites for one business:** separate sites for each brand or service, all sharing the same bookings, leads and calendar. - **One dashboard for everything:** a dashboard or AI assistant that pulls live numbers from every app you run. ## Connect two apps 1. **Ask your assistant** Open the app that needs the data and say what you want, for example "show orders from my shop app" or "let this admin app add products to my shop". Your assistant works out which features of the other app it needs. 2. **Approve the connection** Floot shows you the two apps and exactly which features will be shared. Nothing connects until you click **Connect**. 3. **Publish both apps** Publish the app being used first, then the app that uses it. An app only shares what it had at its last publish, so publish it again whenever your assistant adds a new feature to it. Your connections are listed under **Services → Apps**, in **Apps this app uses** and **Apps that use this app**. ## Who can connect - **Only your own apps.** Both apps must be on your account, and you (or a collaborator who can edit both) approve every connection. - **Only what you choose.** An app shares only the features you approved, never its whole database. - **Your preview uses the live app.** While you build, the preview of the connected app talks to the published version of the other app. - **Sign-in is not shared.** Each app keeps its own user accounts, and signing in to one does not sign you in to the other. > **Private apps:** A [privately published](https://floot.com/docs/projects/internal-publish) app can be used by a public one. Floot warns you before you connect them: whatever the public app shows from the private one can be seen by anyone using the public app. ## Disconnecting Under **Services → Apps**, click **Disconnect** (on the app that uses the other) or **Remove access** (on the app being used). It takes effect right away. Deleting a project disconnects it from every app. ## Removing a single feature You can stop sharing one feature without disconnecting the apps. Under **Services → Apps**, click the connection to see its features, then click **Remove** next to the one you no longer want. The other features keep working. A connection always keeps at least one feature: to remove the last one, disconnect the apps instead. If the other app stops sharing a feature, for example because your assistant removed or renamed it, the connection marks it **No longer exported**. Click **Remove them** to remove all of those at once. Floot never removes them for you, because a feature can go missing for a while in the middle of a change. To add a feature back, ask your assistant to connect it again and approve it, the same way you approved the connection. ## On branches - **Calls reach the other app's published version.** That holds for a branch's preview too. A connection to a branch that was never published answers "not published". - **A branch can connect to another app, or to another project's branch.** To work against a branch of the other app, connect to that branch, not to its main project. - **A merge never connects main to a test copy.** When a branch is connected to another app's branch, merging it into main does not give main that connection. - **An ordinary branch copies main's connections.** An isolated branch copies none and asks for its own, approved by someone who can change both apps. Isolated collaborators can't connect apps. - **Check which branch a connection uses.** **Services → Apps** shows each connected app's name, address and features, not its project id. Compare the address with the other branch's published address. A branch's id is in its editor address bar, after `/project/`. See [Isolated branches](https://floot.com/docs/branches/isolated-branches#connecting-to-other-apps). ## Limits - **25 seconds per call.** If the other app has not answered by then, the call fails as timed out. The work may still have run on the other app, so check what changed before trying again. Longer work belongs in a background job on the other app. - **5 MB of data per call.** That covers what one app sends with a call; keep answers under that size too. To pass a file, send a link to it instead of its contents. - **50 features per connection.** One connection shares at most 50 of the other app's features. Remove ones you no longer use to make room. ## Cost Connecting apps is free on every plan. When one app uses another, the work runs on the other app and counts toward its hosting, like any other request it handles. --- # How to add a custom domain > Point your own domain at your Floot app, step by step, including the DNS gotchas. Source: https://floot.com/docs/custom-domains/how-to-add-custom-domain Connect a domain like `yourapp.com` to your Floot app so it is served from your own address instead of its `*.floot.app` subdomain. > **Your assistant cannot do this one for you:** Adding a custom domain is a handoff. Ask your assistant to add one and it opens a request and hands you a link, but it cannot finish the job — the DNS approval has to happen in your browser, signed in to your DNS provider. Opening the link brings you to the wizard described below. Only one request can be pending per project, and it expires after an hour, so ask again for a fresh one if you leave it too long. The steps below all happen in the Floot web app. Open your project on floot.com and start from the **Publish** button in the top-right. > **Before you start:** Your app must already be published to its free `*.floot.app` subdomain — a custom domain attaches to the live deployment, and on a project that has never been published Floot asks you to publish first. The project owner must also be on a paid plan: the check is against the **owner's** account, not yours, so a paid collaborator cannot add a domain to a free owner's project. 1. **Open Add Custom Domain** 1. Click the **Publish** button in the top-right of the project view 2. Click **Add Custom Domain** 2. **Choose where the domain comes from** The first screen offers two cards — there is no domain field until you pick one. - **I already have a domain** — points a domain you own at Floot. Choose it, type the domain (for example, `yourapp.com`), then click **Continue**. - **Buy a domain** — buys one through IONOS, the registrar, without leaving Floot. On a paid plan that has not used it yet, this card reads **Get a free domain**: a paid plan includes one free domain, claimable once per account. Floot connects a purchased domain for you. 3. **Approve the DNS records** Floot opens an automatic setup window that connects to your DNS provider. It is run by Floot's DNS partner, Entri, so the window is branded differently from the rest of Floot — that is expected. Sign in to your provider there and approve the records; Floot writes them for you. **What you will see while it runs:** - "Connecting to your DNS provider…" while the window is opening - "DNS records configured successfully. Verifying…" once the records are in - A **Start Setup** button if you closed the setup window before finishing — click it to reopen - A **Try again** button if the automatic setup failed > **Adding the records yourself:** If you would rather not sign in to your DNS provider through the setup window, or automatic setup fails, click **Add the DNS records myself instead**. The wizard shows the records to add at your DNS provider — it opens this table on its own when automatic setup fails. Add them, then click **I've added them — check again**; Floot also keeps checking on its own. 4. **Wait for verification** There is no **Continue** button on this step, and that is deliberate — Floot verifies the records on its own and moves you on when they check out, usually within a few minutes. The wizard keeps checking for 10 minutes. If the domain is not verified by then, it says **Still waiting for verification**: that is normal when DNS changes are slow to spread, and nothing is lost. Keep the records in place and click **Check again** a few minutes later, or close the wizard and add the same domain again later; it connects straight away once it is verified. If your AI assistant started the request, closing the wizard cancels that request. If the verification record is in the wrong place or has the wrong value, the wizard says so and shows what to change. See [Custom domain troubleshooting](https://floot.com/docs/custom-domains/troubleshooting). 5. **Point the domain to Floot, if the wizard asks** Once the certificate is ready, the domain is connected. If it does not send visitors to your app yet, the wizard stays on a **Point yourapp.com to Floot** step. It lists each address (the root domain and `www`) with where it points now, shows the `A` records to add at your DNS provider, and checks again every few seconds. If it tells you to delete other `A` records on the same names, delete them: they send some visitors somewhere else. **I'll finish this later** closes the wizard. The domain stays connected, and you can find the records again from the gear next to the domain on the **Publish** screen. 6. **Your domain is live** - Your app is served from your custom domain - If you connected an apex domain, both `yourapp.com` and `www.yourapp.com` work — Floot adds the pair for you - Any other subdomain (for example `app.yourapp.com`) is connected on its own. Add the apex separately if you want it as well - HTTPS is set up automatically. Floot issues and renews the certificate for every connected domain, so you do not need a paid SSL certificate from your registrar > **DNS propagation takes time:** It can take up to 24 hours for your domain to resolve everywhere, though it is usually much faster. That is normal and depends on your DNS provider. If it takes longer, contact support. > **Keep the DNS records:** The domain keeps working only while its records stay at your DNS provider: the `A` records send visitors to your app, and the `CNAME` record renews the HTTPS certificate. To see them again, with whether each one is still in place, open **Publish** and click the gear next to the domain. ## If verification does not finish - **A certificate error.** `CAA` records on the domain can stop Amazon, which issues Floot's certificates, from issuing one, and the wizard names this case explicitly. Delete all `CAA` records on the root domain, or keep them and add both `0 issue "amazon.com"` and `0 issuewild "amazon.com"`. Wait a few minutes, then run **Add Custom Domain** again from the start — see [CAA records](https://floot.com/docs/custom-domains/troubleshooting#caa-records). - **"Blocked by another domain on this project."** An older domain already on this project is missing its verification record, so the shared certificate cannot be reissued. Add the record the wizard shows to that older domain's DNS, set it to **DNS only** if you use Cloudflare, then try again. - **Cloudflare in front of the records.** Turn the proxy **off** (grey cloud, not orange) for Floot's records. - **A domain already in use.** Floot refuses a domain that is already connected to another project, and refuses a small set of restricted names. - **The domain is suspended or expired at its registrar.** The wizard says so when the registry reports it, and no DNS change will help. IONOS, which provides the free domain, suspends a new domain if its contact email is not verified within 15 days of purchase: find IONOS's verification email, click its link, then check again. For an expired domain, renew it with the registrar. > **Custom domains need a paid plan — and stop working without one:** The free `*.floot.app` subdomain works on any plan; connecting your own domain requires a paid plan on the **project owner's** account. If that subscription is cancelled, goes unpaid, or lapses, a daily job removes the project's connected custom domains once it has been in that state for more than 3 days — every domain connected to the project, not just ones bought through Floot. The app stays live on its `*.floot.app` subdomain, and re-connecting means running this wizard again: subscribing again does not put the domains back by itself. See [what happens when a plan lapses](https://floot.com/docs/custom-domains/troubleshooting). ## If a connected domain stops working Open **Publish**, click the gear next to the domain, and look at **DNS records**. Each record the domain needs is marked **Found** or **Missing**. Add what is missing at your DNS provider; you do not need to remove the domain from Floot and add it again. [Custom domain troubleshooting](https://floot.com/docs/custom-domains/troubleshooting) goes through the cases one by one. ## Several domains on one app Every domain is added through this wizard, one at a time, and all of a project's domains serve the same app. To send every domain to one main address, set a primary domain under [Search engines and SEO settings](https://floot.com/docs/projects/seo). ### Every subdomain at once (wildcard) For an app that gives each of its own customers a subdomain (`acme.example.com`, `globex.example.com` …), add the domain once as a wildcard: type `*.example.com` in the wizard. It asks for one `A` record named `*` (all three addresses it shows) plus the usual verification record, and from then on every subdomain of `example.com` reaches the app without adding it here. The wildcard covers one level: `acme.example.com`, not `a.acme.example.com`, and not `example.com` itself (add that separately if you want it). A subdomain that has its own record at your DNS provider, or that you add here on its own, keeps going where that points. Wildcards are a Power plan feature, on the project owner's plan. If the owner moves to a lower plan, the wildcard is disconnected once the change takes effect: the plan screen lists it before you confirm, and the owner gets an email when it happens. Domains and subdomains added on their own keep working. The app reads which subdomain a visitor used from the request's address (`new URL(request.url).hostname` in an endpoint), and shows that customer's content. Leave the primary domain unset: a primary domain sends page visits from every other hostname to itself, wildcard subdomains included. ### How many domains a project can have Up to 100 hostnames per project, the `floot.app` address included. A domain added with its `www` counterpart takes two, a subdomain or a wildcard takes one, so in practice about 49 domains with their `www`, or many more customers than that through a wildcard. The same limit applies on every plan. If you reach it, the wizard says so; remove a domain you no longer use, or, on the Power plan, switch to a wildcard. --- # Custom domain troubleshooting > Fix a custom domain by symptom: verification that never finishes, records at the wrong DNS provider, CAA records, a root domain that does not load, and what happens to domains when a plan lapses. Source: https://floot.com/docs/custom-domains/troubleshooting Almost every custom domain problem is fixed at your DNS provider, not in Floot. Start with the DNS records view, then find what you are seeing in the table below. ## Start here: the DNS records view For a domain that is already connected, open **Publish** and click the gear next to the domain. Under **DNS records** Floot lists the records the domain needs and looks each one up for you. - **Sends visitors to your app** — `A` records, with the values listed there. - **Keeps HTTPS working** — One `CNAME` record. The HTTPS certificate renews through it, so it has to stay after setup. Each record is marked **Found**, **Missing** or **Couldn't check**. Add or correct whatever is missing at your DNS provider, then click **Check again**. The root domain and `www` are listed as two domains, each with its own gear, so look at both. > **Fix the records; do not remove the domain and add it again:** Removing a domain from Floot does not repair a DNS record, and adding it back sends you through verification again. Unless the domain is no longer listed on the Publish screen, the fix is at your DNS provider. ## By symptom | What you see | Most likely cause | What to do | | --- | --- | --- | | The wizard stays on verifying, or says **Still waiting for verification** after 10 minutes | The verification `CNAME` is missing, in the wrong place, or has the wrong value, or a new record is still spreading | Read the message the wizard shows — see **Verification does not finish** | | "We can't find the verification record yet", but you added it | It was added at a DNS provider your domain does not use | See **Records added at the wrong DNS provider** | | "Certificate validation failed" and "Your domain's CAA records do not allow Amazon to issue it" | `CAA` records on the domain block the certificate | See **CAA records** | | "Blocked by another domain on this project" | An older domain on the project lost its verification record | Add the record the wizard shows to that older domain's DNS, then try again | | `www` loads, the root domain does not (or the other way round) | The `A` records for that name are missing or point somewhere else | See **The root domain does not load, but www does** | | The domain shows your registrar's default page or an old site | Its `A` records still point to the registrar or a previous host | Add Floot's `A` records and delete the other `A` records on the same names | | The domain worked and then stopped | A record was removed at the DNS provider, or the domain was removed from the project | See **It worked, and then it stopped** | | The wizard says the domain is suspended by its registrar, or has expired | A hold or an expiry at the registrar. No DNS change will help | Lift the hold or renew with the registrar, then check again — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain) | | **Your domain changed at its registry recently** in the DNS records view, and some visitors see an old site or an error | The domain moved to new nameservers, and some networks still ask the old DNS provider | See **Some visitors still reach the old DNS provider** | | It works for you but not for everyone yet | New DNS records are still spreading | It can take up to 24 hours for a domain to resolve everywhere | ## Verification does not finish Floot proves you control the domain by finding one `CNAME` record. While it waits, the wizard looks the record up itself and tells you which of these is the case. - **The verification record is in the wrong place** — The record exists, but under the wrong name. The usual cause is typing the full name into a host field that adds your domain by itself, which leaves it at something like `_abc.yourapp.com.yourapp.com`. Change the record's host (name) to exactly what the wizard shows and keep its value. - **The verification record has the wrong value** — The name is right, but it points somewhere else. Copy the value with the wizard's copy button and paste it over the old one. If your provider adds your domain to the end of the value, end the value with a dot. - **We can't find the verification record yet** — There is no `CNAME` at that name. Add it with the host and value shown. A record you just added can take a few minutes to appear. If your provider already shows it, see the next section. - **Verification record found** — Nothing left to do. Floot is waiting for the certificate, which usually takes a few minutes. - **Still waiting for verification** — The wizard checked for 10 minutes and the domain is not verified yet. That is normal when DNS changes are slow to spread, and nothing is lost. Keep the records in place and click **Check again** in a few minutes, or close the wizard and add the same domain again later: it connects straight away once it is verified. - **Connecting a subdomain?** For `app.yourapp.com`, the verification `CNAME` belongs to the root domain: its name ends in `yourapp.com`, not in `app.yourapp.com`. Only the `A` records go on the subdomain. - **On Cloudflare?** Set Floot's records to **DNS only** (grey cloud). With the proxy on, verification cannot see them. ## Records added at the wrong DNS provider A domain reads its DNS records from one place: the provider its nameservers point to. That is not always where you bought the domain. If the domain was bought at one company and its nameservers were later pointed to another, such as Cloudflare or a previous website host, records you add at the first company are never seen. The sign is a record that shows in your provider's dashboard while Floot keeps reporting it **Missing**. 1. **Find the nameservers** Your registrar's page for the domain lists them. From a terminal you can also run: ```bash dig NS yourapp.com +short ``` 2. **Add the records where the nameservers point** Sign in to the company the nameservers belong to and add Floot's records there. This is the simple fix. The other way is to point the nameservers back to your registrar and add the records there. That moves all of the domain's DNS, email records included, so copy the existing records over first. 3. **Check again** In the wizard, click **I've added them — check again**. For a connected domain, use **Check again** in the DNS records view. ## CAA records A `CAA` record tells certificate authorities which of them may issue a certificate for your domain. Floot's certificates are issued by Amazon and cover both your root domain and `*.yourdomain`. If the root domain has `CAA` records that leave Amazon out, the certificate fails and the wizard says "Your domain's CAA records do not allow Amazon to issue it". 1. At your DNS provider, either delete all `CAA` records on the root domain, or keep them and add both `0 issue "amazon.com"` and `0 issuewild "amazon.com"`. An `issuewild` record for another provider blocks the wildcard unless Amazon's is there too. 2. Wait a few minutes, then run **Add Custom Domain** again from the start. A certificate that failed is not tried again by itself; a new run requests a new one. ## Some visitors still reach the old DNS provider When the domain's registration changed in the last 48 hours, the DNS records view shows **Your domain changed at its registry recently**, with the date of the change and the nameservers the domain uses now. If you moved the domain to new nameservers then, some networks keep asking your old DNS provider until those hours have passed. Visitors on those networks, often on mobile data, may see your old site or an error even though every record in the view is **Found**. - **To fix it now,** add the same records at your old DNS provider, or delete the domain there. - **Removing the domain from Floot and adding it again does not help.** Every record is already in place. - **Did not move nameservers?** The registration also changes for other updates, such as a lock or a contact change; the notice then does not apply. ## The root domain does not load, but www does The root domain (`yourapp.com`) and `www.yourapp.com` each need their own `A` records. When one works and the other does not, the other's records are missing or still point somewhere else. 1. Open **Publish**, click the gear next to the address that does not load, and look at **Sends visitors to your app**. 2. At your DNS provider, add the three `A` records under that name. The root domain's name is usually written `@`; some providers want the field left empty. 3. Delete any other `A` records on the same name, such as the registrar's default page. Left in place, they send some visitors there. 4. Click **Check again**. Once both load, you can make one of them redirect to the other with the **Primary Domain** setting — see [Search engines and SEO settings](https://floot.com/docs/projects/seo). ## It worked, and then it stopped - **A record was removed.** This often happens when DNS is tidied up or moved to another provider. Open the DNS records view, see what is **Missing**, and put it back. The `CNAME` is the one people delete after setup, and without it HTTPS stops when the certificate comes up for renewal. - **The domain registration expired.** Renew it with your registrar. - **The domain is no longer listed on the Publish screen.** It was removed from the project. See the next section. ## When a plan lapses Custom domains need a paid plan on the project owner's account. If that plan is cancelled, goes unpaid or lapses, Floot emails a warning, and once the plan has been in that state for more than 3 days it removes every custom domain connected to the owner's projects. The app stays live on its `floot.app` address. - **Visitors to the domain no longer reach your app.** Your DNS still points at Floot, but the domain is no longer connected to a project. - **The domain itself is untouched.** It stays registered to you at your registrar, and your DNS records stay where they are. - **Paying again does not reconnect it.** Open **Publish**, click **Add Custom Domain**, and add each domain again. If you had a primary domain, set it again too. - **If hosting credit ran out and the app was taken offline,** its custom domains were removed with it. Bring the balance back, publish the app, then add the domains — see [Hosting](https://floot.com/docs/faqs/hosting). --- # Search engines and SEO settings > The SEO tab: site name and description, robots.txt and the sitemap, pre-rendering and page caching, per-page meta tags, the page language, link previews and share images, Markdown versions of pages for AI agents, noindex, the primary domain and redirects, and verification and analytics tags in every page's head. Source: https://floot.com/docs/projects/seo Your project's search-engine settings are under **Services → SEO**: the name and description search engines show, `robots.txt` and the sitemap, pre-rendering, and the primary domain. Everything else, such as a title for each page, is something you ask your assistant for. ## Site name and description **Site Name** is shown in search results and browser tabs, and **Site Description** in search results. Site Name is your project's name, so changing it here renames the project. Click **Save**, then publish again: both are written into the page when you publish. ## robots.txt and sitemap.xml Under **Discoverability**, `robots.txt` controls which pages Google and AI tools may read, and `sitemap.xml` helps Google find all your pages. Click **Add** next to either one to hand the request to your assistant, which writes the file. The row then reads **Added**. Both are part of your project, so publish for them to go live. - A sitemap written as a file is fixed. When you add pages, ask your assistant to update it. - For pages that come from your database, such as products or posts, your assistant can build the sitemap from the data instead. That kind of sitemap is served only while **Enable Pre-rendering** is on, and the SEO tab tells you when that is what is missing. - A published app always serves `robots.txt` as a file, never from backend code. ## Pre-rendering **Enable Pre-rendering** makes Floot render your pages on the server, so a crawler receives each page's full HTML: its own title, description and content. Publish again after switching it on or off. With it off, your home page is rendered once when you publish, and every other address returns the same starting HTML, carrying the site name, description and [link preview](#link-previews). The rest is filled in by JavaScript in the visitor's browser. Crawlers that run JavaScript still see your pages; link previews and tools that do not see only the starting HTML. - Turn it on for pages you want found or shared: landing pages, a blog, a product catalog. - An app that lives behind a sign-in does not need it. - With it on, pages are rendered by your app's backend, which counts toward hosting like its other work. - With it on, an address that matches none of your pages answers with a 404 (Not Found) status while still showing your app's not-found screen, so search engines do not index addresses such as `/null`. An app gets this at its next publish. - A [duplicate](https://floot.com/docs/projects/duplicate-a-project) of the project starts with it off. ### Pages that change only when you publish Landing pages, blog posts and docs whose content lives in your code can be kept on Floot's CDN until your next publish, so visitors get them without your backend rendering them again. Ask your assistant, for example: "cache my blog pages until the next publish". Publishing replaces them, and browsers check for a new version on every visit, so nobody keeps an old page after you publish. - A page that shows data from your database stays as it was until your next publish, unless your app refreshes it when that data changes (see the next section). Data from another service that your app is not told about cannot be refreshed this way, so keep those pages on a short cache time. - A page that depends on who is visiting (it reads their cookies or request headers) is never cached this way. - A page that sets a cookie when it is served, such as a referral link that remembers who sent the visitor, is never cached at all, so every visit runs your backend. Keep cookies off pages you want cached. - A page that gains nothing from server HTML, such as one behind a sign-in, can skip the server render: it is sent with its data and drawn in the browser. Crawlers then see only the site name and description for it. ### Refreshing a cached page when your data changes A page built from your database, such as a blog post or a product, can also be kept on the CDN until your next publish, as long as your app says which pages to drop when it saves a change. Ask your assistant, for example: "cache my blog posts until the next publish, and refresh a post's page when I edit it". The code that saves a post then calls `revalidate()` from `@floot/cache` with the pages that show it, and the next visitor gets the new version, usually within a minute: ```ts import { revalidate } from "@floot/cache"; await revalidate(["/blog/" + post.slug, "/blog"]); ``` - Each page refreshed costs $0.01, billed as hosting usage. - Up to 20 pages per call, each named exactly: there are no wildcards. Each version of a page with a query string, such as `/blog?page=2`, is cached separately and has to be listed on its own. - When one app refreshes many pages in a short time (more than 30 at once, then more than about 2 a minute), Floot refreshes all of that app's cached pages once instead, within about a minute. That is charged as one page. - An account can refresh up to 30 pages a day on the free plan and 500 on a paid plan, across all its apps; a whole-app refresh counts as one. Past that, pages keep their cached copy until your next publish. The count resets at 00:00 UTC. - A refresh never makes the save fail. If it is refused, for example past the daily limit, the save still goes through, the page keeps its cached copy and a warning appears in the app's logs. - It only does something on a published app with pre-rendering on. The preview never caches pages, so it always shows your latest data. - It needs a code change, so the live app gets it when you publish. ### Backend answers that are the same for every visitor Pages are not the only thing the CDN can keep. When your pages load data that is the same for everyone, such as a public list of events or a product's details, the endpoint that sends it can be kept on Floot's CDN too. Visitors and crawlers then get it without your backend running or your database waking up. Ask your assistant, for example: "cache my public event endpoints at the CDN for five minutes". - Only answers that do not depend on who is asking are cached: never anything that reads the visitor's sign-in or cookies. Your assistant splits public data from personal data where a page needs both. An endpoint that does not ask to be cached never is. - Each address, query string included, is cached separately. A change to the data shows once the cached copy expires, after the time your assistant chose, or straight away when you publish. - A visit served from the CDN never reaches your backend, so your app's logs show only the visits it did not have. - It works on the published app once the endpoint that asks for it is published. The preview never caches, and an app published internally, for your team only, is never cached. ## A title and description for each page Ask your assistant, for example: "give every page its own title and meta description". These tags live in your app's code, page by page. For them to reach crawlers that do not run JavaScript on pages other than the home page, turn on pre-rendering. For the picture a shared link shows, see [Link previews](#link-previews). - Your assistant writes them as plain ``, `<meta>` and `<link>` tags in the page itself, and the published page carries each one once, in its `<head>`. A project that already uses the `react-helmet` library keeps writing them inside `<Helmet>`; nothing is changed for it. - Each page sets its own title and description. A title or description in a layout or a shared component is reported to your assistant as a mistake, so that one page never shows another's. ### The language of your pages Ask your assistant, for example: "set my site's language to French". At your next publish every page of the app is served as `<html lang="fr">`. Screen readers use it to pick the voice, browsers to decide how to break words, and search engines to know who the page is for. Set it whenever your app is in a language other than English. - Any standard language tag works, with a region or script if you want one: `fr`, `pt-BR`, `es-419`, `zh-Hant`. - One language for the whole app, unless the language is in the address, as in `/fr/pricing`: then ask your assistant to set each page's language from its address. A page that sets its own language in its code keeps it. - Published pages carry `translate="no"`, so browsers do not offer to translate them. There is no setting for it. - The preview does not show it: publish to see it. To remove it, ask your assistant and publish again. - There is no switch for it in the SEO tab. An AI tool connected to your project over MCP sets it with `update_project_metadata`, as `htmlLang` (see [What your AI can do](https://floot.com/docs/integrations/what-your-ai-can-do)). ## Link previews When a link to your published app is shared in Slack, iMessage, X, WhatsApp, LinkedIn or Discord, those apps read tags in the page's HTML to show a preview. Floot writes them for you. - **Every public app** shows its **Site Name**, its **Site Description** and its project icon (set on the project's **Settings** page), on every page, on its `floot.app` address and on its custom domains. The icon is used when it is a PNG, JPEG, GIF or WebP file; with an SVG or ICO icon the preview has no image, because most of these apps cannot show one. - The tags are written when you publish, so publish again after changing the name, description or icon. - If your app writes its own `og:` or `twitter:` tags anywhere, Floot adds none of these and your own tags are used. With pre-rendering off, tags set in your app's code are added in the visitor's browser, which link apps don't run, so they see them at most on the home page (rendered when you publish) and see no preview on other pages. Turn on [pre-rendering](#pre-rendering), or ask your assistant to remove those tags so Floot's preview is used. - An app [published privately](https://floot.com/docs/projects/internal-publish) gets no preview: a shared link sends the reader to sign in. ### A share image for each page A page can draw its own share image from its own data: a product with its photo, name and price, a post with its title and author, a profile with its name and picture. Ask your assistant, for example: "give each product page a share image with its photo, name and price". It adds a card file next to the page (`pages/<page>.ogImage.tsx`) that draws the 1200 × 630 image, and the published page points its preview at it. - It needs **Enable Pre-rendering** on (see [Pre-rendering](#pre-rendering)) and a **public** publish. Without either, the card file is ignored and the page keeps the app's own preview. - Only pages with a card get one; every other page keeps the app's name, description and icon. Add cards to the pages people share: the home page, products, posts, profiles. - When a card has nothing to draw, for example for a product that does not exist, that page keeps the app's own preview. - The first time a link app asks for a page's image, your app's backend draws it, which counts toward hosting like a page render. After that it is served from the cache (below). ### Seeing a share image before you publish Open the page in the preview and choose **Link preview** in the device picker. It is listed only while the open page has a card. It shows the image drawn from the data the page has loaded, how the link looks in Slack, iMessage and X, the tags the published page gets, and whether the card draws. Pick a device to go back to your app. For a page that shows a record, open a real one (an actual product, not the list) so the card has data to draw. ### What a share image can show - **Text** is drawn in the Inter font. Chinese, Japanese, Korean, Thai, Arabic, Hebrew and other scripts, symbols such as → ✓ ★, and emoji are drawn with fonts Floot provides. A character that no font has (rare scripts, private-use characters) means no image for that page. - **Your own font:** up to 4 font files (TTF, OTF, WOFF or WOFF2), 2 MB each, from your project's storage or an `https` address. Use one file per weight: a variable font is drawn at its default weight only. - **Images:** up to 6 different images per card, each at most 2 MB and 4096 × 4096 pixels, from your project's storage or an `https` address. - The card is drawn on its own, not as part of your page: your app's stylesheets and components do not apply to it, and it can only show data the page loads on the server. ### When a share image updates - A share image is cached on Floot's CDN like its page: until your next publish for a page that does not load data, and for a page that does, for as long as that page's data is cached (a day if your app sets no time). - When what the card draws changes (its text, an image's address, its fonts), the page points at a new image. A picture replaced under the same address keeps showing the old one until the cached image runs out: upload it as a new file, or publish again. - Slack, X, LinkedIn and the other apps keep their own copy of a link's preview, so a link that was already shared may keep the old picture for a while. Floot cannot clear their copy. ## Markdown versions for AI agents AI agents that read your site, such as assistants answering a question about it, do better with plain Markdown than with your pages' HTML. Your published app can offer a Markdown version of each page. Ask your assistant, for example: "write a Markdown version of each page for AI agents". A page's Markdown version is a file in your project's `static/` folder, named after the page's address: `static/index.md` for the home page, `static/pricing.md` for `/pricing`, `static/blog/hello.md` for `/blog/hello`. The published app serves it at the page's address with `.md` added (`/pricing.md`, `/blog/hello.md`, and `/index.md` for the home page), from Floot's CDN, and a publish replaces it. - With [pre-rendering](#pre-rendering) on, each page that has a Markdown version also tells agents where to find it (a `Link` header), and an agent that asks for Markdown at the page's own address (`Accept: text/markdown`) gets it there. Browsers never ask for Markdown, so visitors always get the page. These are what agent-readiness checkers look for. An app gets them at its next publish. - With pre-rendering off, the `.md` addresses work, but pages do not point to them and the page's own address always answers with the page. - For pages built from your database, such as one page per blog post or product, pre-rendering on: your assistant does not write a file for each one. It adds code to the page that writes the Markdown from the data the page loads, so a new post has its Markdown as soon as it has its page. That Markdown is cached like its page, except that a page cached until the next publish has its Markdown refreshed every 5 minutes, because `revalidate()` refreshes only the page. ### Projects created before November 8, 2026 Markdown files in `static/` are published only when the project's `serveMarkdownFiles` setting is on. Projects created since November 8, 2026 have it on. Older projects have it off: their `.md` files are left out when you publish. There is no switch for it on floot.com, so ask your assistant, for example "turn on serveMarkdownFiles for this project", then publish. Markdown that a page writes from its data, as above, works whatever the setting says. > **With the setting on, every Markdown file in static/ is public:** Anyone can open every `.md` file under `static/`, except those under `static/__dev/`, which are never published. Assistants have sometimes kept notes, plans and handoffs elsewhere in `static/`: before turning the setting on, ask yours to move them into `static/__dev/`. Turning the setting off takes the files down at your next publish. ## Keeping pages out of search - **One page:** ask your assistant for a `noindex` meta tag on that page, and turn on pre-rendering so crawlers see the tag in the page's HTML. - **The whole site:** ask for a `robots.txt` that disallows everything. - **An app only certain people should open:** [publish it privately](https://floot.com/docs/projects/internal-publish). Search engines are told not to index a private app, and nobody reaches it without a sign-in. The response headers you can set for an app are listed in [Security headers](https://floot.com/docs/platform/security-headers). ## Primary domain and redirects When your app answers on more than one address, such as its `floot.app` address, `yourapp.com` and `www.yourapp.com`, search engines can treat them as copies of each other. Under **Primary Domain**, pick the one that should count. Every other address, the `floot.app` one included, then redirects to it with a permanent (301) redirect that keeps the path and the query string. - The list holds your connected custom domains, so the app has to be published with at least one [custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). - It applies to the live app without a publish. Allow a few minutes. - Choose **None** to stop redirecting. Removing the primary domain from the project also clears the setting. - On an app [published privately](https://floot.com/docs/projects/internal-publish#custom-domains), it is also the address people sign in on and stay on. For redirects of single addresses, such as an old page to its new one, ask your assistant to add them in your app (pre-rendering must be on). One exception: addresses ending in `.php`, `.asp`, `.aspx`, `.jsp`, `.cgi` or `.cfm`, left over from a site built elsewhere, never reach your app. Floot sends them to your home page with a permanent redirect. A page can also send visitors on to another site, such as a checkout page your payment provider created for them. That address must come from your app's server, never from the link the visitor followed, or anyone could use your domain to send people to a site of their choosing. - A redirect to a page of your app carries the query string along, so `/old?page=2` lands on `/new?page=2`. When a link carries a code or token meant for one page only, ask your assistant to drop the query on that redirect, so the code does not follow the visitor to the next page. A redirect to another site never carries it. - A page can also set a cookie as it answers, for example a referral link `/r/<code>` that remembers who sent the visitor and then redirects to your home page. Page scripts cannot read such a cookie unless you ask for that, it lasts at most 400 days, and it is sent back only to the domain that set it (not to its `www.` version or your `floot.app` address). A page that sets one is never cached (see [Pages that change only when you publish](#pages-that-change-only-when-you-publish)). - Redirects and cookies like these happen only when your app's server answers the address: a visitor opening the link, typing it or reloading the page. They do not happen in the preview, in your mobile app, or when a visitor follows a link inside your app. ## Verification, analytics and other head tags Some tags have to be in the HTML of every page before any JavaScript runs: a site-verification tag from Google Search Console, Bing, Meta or Pinterest, consent defaults that must load before Google Tag Manager, an analytics or ad snippet, a theme script that keeps a dark-mode page from flashing white, `preconnect` links. Paste the code to your assistant and ask it to add it to every page's head, for example "add my Google Search Console verification tag". Your assistant writes it into `static/__dev/head.html` in your project, and at your next publish those tags go into the `<head>` of every page, with or without pre-rendering: ```html <meta name="google-site-verification" content="YOUR_TOKEN"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('consent', 'default', { ad_storage: 'denied', analytics_storage: 'denied' }); </script> <script async src="https://www.googletagmanager.com/gtm.js?id=GTM-XXXX"></script> ``` - Only head tags: `<meta>`, `<link>`, `<script>`, `<style>`, `<noscript>` and comments. - Not the tags Floot already writes from your settings: the title and description (the site name and description above), the character set and viewport, icon and manifest links (set the app icon instead), and a Content-Security-Policy (see [Security headers](https://floot.com/docs/platform/security-headers)). - Scripts run in order, before your app starts. Use plain `<script>` tags, not `type="module"`. - The file can be up to 32,000 characters and is sent with every page, so load a large script from its address (`<script src>`) rather than pasting its code in. - If the file has a mistake, such as a tag that is never closed or a `<div>`, your assistant is told what to fix, and the whole file is left out of your app until it is fixed. Publishing still works. - In the preview the tags are added after your app has loaded, so a script that must run first runs late there. Check it on the published app. - Everything in the file can be read in every page's HTML. Never put a secret key in it. - Ask your assistant to remove a tag, or the whole file, and it is gone from your app at the next publish. A tag for a single page, such as that page's own title or a `noindex` (above), belongs in the page instead. If a script is blocked after you add it, see [Security headers](https://floot.com/docs/platform/security-headers). ## Showcase backlink Once the app is published, **Submit to Showcase** opens a form for Floot's showcase page, which links back to your app. It asks for a screenshot and a LinkedIn or X profile, and a submission is reviewed before it appears. ## Getting indexed Floot does not submit your site to search engines. Add the site in Google Search Console (verify it with a [verification tag](#verification-analytics-and-other-head-tags)), submit your sitemap's address there, and give it time: a new site is not indexed in a day. Connect a custom domain and set it as the primary domain first, so one address is indexed and not several. --- # Self-hosting > Export your code and database and run your Floot app on your own infrastructure. Source: https://floot.com/docs/projects/self-hosting You own your Floot app's code and data. If you want to host it yourself, you can export the code and the database and deploy them wherever you like. > **Code download is checked against your own plan:** Choosing **Download code as zip** or **Sync to a folder…** on a free account opens the upgrade dialog instead. The check is against the account you are signed in as, not the project owner's — so on a project someone shared with you, you need a paid plan of your own even when the owner has one. > **Exporting happens in your browser:** The zip is built in the browser, so there is no export tool over MCP — you cannot ask your AI assistant to produce it. Open the project on floot.com, click the **Project actions** arrow beside the project name in the top-left, and choose **Download code as zip**. From an MCP client the closest equivalents are `read_files` for source and `pull_database_schema` / `query_database` for the database. ## When to self-host - You need to meet specific compliance or data residency requirements - You want full control over your infrastructure - You are migrating away from Floot - You need to run the app in an air-gapped environment ## What you can export | Asset | How to export | | --- | --- | | **Code** | **Project actions** arrow beside the project name → **Download code as zip** (paid plan required) | | **Database** | **Services** tab → Data → Floot database → cog icon → **Export → Download Database** (a gzipped `pg_dump`, `.sql.gz`; any plan and any size, not while the hosting balance is unpaid). Tick **Structure only** for the tables, indexes and functions without the rows | | **Uploaded files** | Not in the code zip, and there is no bulk download. **Services → Storage** lists them: click a file to preview it, or **Download** to save it, one file at a time, whatever its type and whether it is public or private. To move many files, have your assistant copy them to your new storage while the app is still on Floot | The zip is your project as it stands now, the same code the preview runs. It is not a copy of what was last published, and it holds no checkpoints or history. > **Planning to leave?:** Download your database while your hosting balance is still positive. Once the balance runs out, the database can't be exported until it is paid, even before your apps are taken down. That is the whole export. The zip is standard React and TypeScript that builds with Vite and runs on Node. It is your source, not a complete copy of the running app, so plan for four things that stay with Floot: - **Your API keys.** `env.json` lists the variables your app expects but leaves each secret as `... fill this up ...` — you supply the values. - **Images and files in Floot's storage.** Anything from `generate_image` or `upload_asset` lives in the project's hosted storage and is served from the app's own domain, so the exported code still points at URLs you no longer host. Re-upload those files to your own storage and update the paths. - **The built-in Floot services.** Code that imports from `@floot/…` (sign-in, storage, AI, email and the others in the table below) uses services that Floot runs. Swap each one for a provider of your own before you export; your AI assistant can do it while the project is still on Floot. - **Example documents.** The `.example.tsx` and `.__example.tsx` files (and their stylesheets) that sit beside components and pages are development-only and are skipped by the zip. Nothing that ships depends on them. ## How to self-host 1. **Export your code** Open your project on floot.com, click the **Project actions** arrow beside the project name in the top-left, and choose **Download code as zip**. The zip is built in your browser and then downloads, so give it a moment on a large project. 2. **Export your database** Open the **Services** tab, click **Data**, select **Floot database** and open a table, then click the **cog icon** in the table header and choose **Export → Download Database**. The export runs in the background (a large database can take a while, and you can close the dialog meanwhile); when it is ready, **Download** gives you a gzipped `pg_dump` file (`.sql.gz`), available for 24 hours. 3. **Set up your own database** Restore the file into a PostgreSQL database you control (`gunzip -c database-dump.sql.gz | psql <connection string>`), then note its connection string. The dump carries no owners or grants, so it loads under whatever user you connect as. Managed options like Supabase, Neon, AWS RDS, or Railway all work. 4. **Configure environment variables** The exported code includes an `env.json` file. For security it is not pre-populated — you supply the values. **JWT secrets** — generate one with: ```bash node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" ``` **Database connection** — fill in your own PostgreSQL connection string. Floot does not give out the one for its managed database, so a self-hosted app needs a database of its own. **External services** — paste in the API keys for any third-party services your app uses. 5. **Build and run** The export is a Node.js application: ```bash npm install -g pnpm pnpm install pnpm vite build pnpm tsx server.ts ``` The server listens on port 3333: it answers your endpoints under `/_api/` and sends the built pages for everything else. The zip has no lockfile, so `pnpm install` picks package versions from `package.json` when you run it. Adjust freely to fit your own framework or deployment target. ## Floot-managed services These services run on Floot's side, so they are not part of the export. Each has a standard replacement, listed below. Swap them **before** you export: ask your AI assistant to replace the `@floot/*` imports while the project is still on Floot, where it can test the change, then export. An `@floot/*` import left in the code will not resolve, so the exported project will not build until it is replaced. | Service | What to do instead | | --- | --- | | **Floot OAuth** | Configure your own auth provider | | **Floot Storage** | Migrate to an object storage provider like Cloudflare R2, S3, or Cloudinary | | **Floot AI** | Use your own API key with the AI provider of your choice | | **Floot Realtime** | Use a pub/sub service (Pusher, Ably, Redis pub/sub) or drop the feature | | **Floot Email** | Point the app at your own provider — Resend, SendGrid, Postmark, SES | | **Scheduled & background jobs** | Run them with your platform's scheduler (cron, EventBridge, a queue worker) | | **Floot Push** | Generate your own VAPID keypair and send notifications with a web-push library — Floot mints the keypair for you and it does not travel with the export | | **Floot runCode** | Run the code in your own sandbox or worker process | | **Floot Payments** | Use Stripe directly with your own keys and webhooks | | **Floot Shipping** | Call Shippo directly with your own API key | | **Connected apps** | Have one app call the other over HTTPS, with your own API key between them | | **Signed-in Floot user (private apps)** | Give the app a login of its own | | **Fixed outbound IP** | Use your host's own static outbound IP | | **Google and Microsoft integrations** | Register your own OAuth app with each provider and manage the tokens yourself | | **Microsoft login** | Configure your own Entra ID app registration | | **Pre-rendering (server-side rendering)** | The exported server sends the same `index.html` for every page and renders in the browser, even if **Enable Pre-rendering** was on in Floot. Build your own server rendering if you need it | ## Moving a live app If people are using the app while you move it, do the move in this order so nothing is written to the old database after you copy it. 1. Get the exported code building and running on your own host first, against a test database. 2. Stop new writes: remove any custom domain from the Floot project, then [unpublish](https://floot.com/docs/projects/publishing) the app. The project, its database and its stored files stay intact. To keep the app open for reading until you switch over, use [Freeze writes](https://floot.com/docs/platform/database#freeze-writes) in Database Settings instead: every write fails until you unfreeze, and uploaded files are not frozen. 3. Export the database and restore it on your side. The export is one `pg_dump`, so it is a single consistent snapshot of the data. 4. Point your domain's DNS at the new host. Two things your users will notice. Because you generate a new JWT secret, everyone signs in again. And anyone who connected a Google or Microsoft account through Floot's built-in integration connects it again through the OAuth app you registered. ## Things to consider - **API keys** — You will need to set up your own keys for every third-party service. - **Updates** — Self-hosted apps do not receive updates from Floot. Maintaining the code is on you. - **Support** — Floot support covers the Floot platform, not self-hosted deployments. --- # Creating mobile apps from your website > Turn a Floot web app into real iOS and Android apps — installable on a phone, and submittable to the App Store and Google Play. Source: https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot Floot converts your project into native iOS and Android apps — the same app you built, wrapped so it can be installed from a device, submitted to the App Store, or published on Google Play. > **Your first app build happens in a browser:** Open your project on floot.com, click **Publish**, switch on **Publish mobile app** and publish. The project link your assistant hands you opens the project view at `/mcp-preview/<id>`, and the **Publish** button there is the same screen. Your assistant can start an app build itself only once an Apple or Google Play account is connected to the project. Until then, asking it for a mobile build gets you a card that sends you to floot.com to connect one. The APK and the project zip are downloaded on floot.com either way. Once the app has been built, your assistant can edit the native iOS and Android config files for you. Ask it for the `ios-info-plist` or `android-manifest` guide. > **Every plan includes app builds:** Native app builds are metered per month: **2** on Free, **12** on Pro, unlimited on **Power** (legacy credit plans of 100k and above are unlimited too). See [pricing](https://floot.com/pricing). A build that fails does not count, and neither does one that every connected store turned away. Connecting Google Play needs a paid plan; Apple works on every plan. On Pro and Team, builds past the allowance are $3 each from your hosting credit, once you agree to it. If you run out, publishing still succeeds — the web app ships as normal and only the app build is skipped, and the publish tells you so. When the count starts over is under [What counts toward your monthly app builds](https://floot.com/docs/mobile-apps/native-features#what-counts-toward-your-monthly-app-builds). ## How it works 1. **Build your app as usual** Everything you build for the web comes along. Floot adds the native permissions your app needs on its own: camera and photo access when your app has a file upload or uses the camera, location and microphone when your code uses them, and notifications when you use Floot's push. The default permission wording is generic and Apple rejects it, so before you submit, ask your assistant to write wording that says why your app needs each one — see [Native app features](https://floot.com/docs/mobile-apps/native-features). 2. **Publish with the mobile app switched on** Open your project on floot.com and click **Publish**. Switch on **Publish mobile app**, then publish: **Continue** the first time, when you also pick your subdomain, or **Publish update** once the app is live. An app build normally rides along with a publish, which also puts your latest changes on the web. To build only the app and leave the website alone, make a [test build](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot#test-builds) instead. The switch shows how many app builds you have left this month. ![The Publish screen with Publish mobile app off, then on, showing the Version field and the Apple App Store and Google Play options](https://floot.com/_cdn/blog-images/dc10c00c82002cad99d73e57a75044fef8fff99e/w1600.webp) *Switching on Publish mobile app shows the version and the app stores. Switching it on does not start a build; clicking the publish button does.* The publish screen shows the website and each app build as they run. You can close the tab: publishing carries on in the background. ![Building your publish: the website publishing and the iOS build for the Apple App Store in progress](https://floot.com/_cdn/blog-images/a6e005ce8a0c69b1046429a0d6280714b6fc2933/w1600.webp) *The website usually takes a minute or two. The app builds take longer.* The build takes several minutes and appears under **Last build** when it finishes. On Free and Pro, every app build is opt-in: a publish with the switch off updates only the website, so switch it on each time you want a new app. On Power, once an app store is connected, the switch stays the way you last left it, so every publish rebuilds the app until you turn it off. 3. **Install or submit** Every build gives you a project zip, and an Android APK that installs straight from a download link or QR code (with Google Play in the build, the APK is made only if you turn on **Android test build**, see [Getting your Android app](https://floot.com/docs/mobile-apps/installing-android-app#getting-your-android-app)). Connect your Apple or Google Play account under **App stores**, and Floot uploads each build to TestFlight or Play internal testing for you — see [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). You only need the developer accounts. You can also use the project zip to build in Xcode and Android Studio on your own machine instead. ![Last build on the Publish screen: the Android APK with Download, Get link and QR code, the project zip, and Open App Store Connect](https://floot.com/_cdn/blog-images/942a97c3186301dbe2306a726151ecaae809a63b/w1600.webp) *Under Last build: the Android APK, the project zip, and a link to App Store Connect when Apple is connected.* ## Before you spend a build Builds are counted each month, so get the app right before you build it. Most of it you can check without a build. 1. **Check it on an iPhone screen** In your project's preview, open the device menu at the top and choose **iPhone**. The app runs inside an iPhone-sized screen, and you can tap through it. Adjust spacing, colors, buttons and navigation there until it looks right. None of this uses a build. ![The project preview set to iPhone, showing the app in an iPhone-sized frame with a bottom navigation bar](https://floot.com/_cdn/blog-images/16edf681314c52d21bb77ba0347ed2257e3870ff/w1600.webp) *Choose iPhone in the preview's device menu.* 2. **Set the icon, splash screen and status bar first** These go into the build, so set them before your first one. Ask your assistant, for example: "Create a 1024 × 1024 app icon in my app's colors, show it to me, and set it as the app icon once I approve it. Don't publish." The same works for a splash screen (a 2732 × 2732 image with the logo in the middle and plenty of space around it, since phones crop the edges) and for a status bar color that matches the top of your app. The iPhone and Pixel previews show the status bar the way the build will, so you can check it before you build. On Android 12 and later, the phone first shows its own launch screen: your app icon on a plain color, before your splash screen. That color is white unless your icon fills its square edge to edge in one color. To match your splash, ask your assistant, for example: "Set the Android launch screen background to #020914." It takes effect at the next Android build, and your icon and splash image stay as they are. 3. **Add the native features you want** Ask for everything you want in the first build, such as location, the camera, sharing or reminders, and test what you can in the browser. See [One request for the website and the app](https://floot.com/docs/mobile-apps/native-features#one-request-for-the-website-and-the-app). 4. **Publish the website without a build while you work** With **Publish mobile app** off, a publish updates only the website and uses no build. Keep it off until you are ready for the phone. ![The live Publish screen with Publish mobile app switched off and a Publish update button](https://floot.com/_cdn/blog-images/00a84d7226cc274a22934a4d44eb752719a18d8a/w1600.webp) *With the switch off, Publish update changes only the website.* The store listing (screenshots, description, keywords and price) is edited in App Store Connect or Play Console and needs no build. ## Updating an app people already installed An installed app does not update by itself when you publish. What a publish reaches depends on what you changed: | What you changed | How it reaches phones | | --- | --- | | Your backend: endpoints and data | As soon as you publish. The installed app calls your published backend, so no new app build is needed. | | Pages, screens, styles and text | Only through a new app build. They are packaged inside each build. | | The native side: plugins, permissions and their wording, the app icon, the version | Only through a new app build. | To make a new build, publish with **Publish mobile app** on. A publish with the switch off updates only the website. Then the build has to get to people: testers receive it through TestFlight or Play internal testing, people who installed from a store get it after you submit it for review and release it in App Store Connect or Play Console, and people who installed the APK install the new APK over the old one (if Android refuses, see [Installing your Android app](https://floot.com/docs/mobile-apps/installing-android-app#troubleshooting)). An app already live in a store keeps its current version until you release the new build. Older builds stay on phones for a while, so keep your backend working for the screens that shipped in them. ## Test builds A test build lets you try your app on a real phone before your changes go live. It builds only the iOS and Android apps. Your website is not published or changed, and you can make one before the app has ever been published, with no subdomain. You start test builds on floot.com: your AI assistant always publishes the live app. - **It runs on your preview.** The app talks to your project's preview server and preview data, not the published app, so it has your latest changes even if you have not published them. - **It works for 4 hours.** The clock starts when you click publish. After that the app shows a message asking you to build again. - **It goes everywhere a normal build goes.** You always get the Android APK and the project zip, and connected stores get it on TestFlight and Play internal testing. - **It counts as an app build.** It uses one of your monthly app builds, like a live build. 1. **Switch on the mobile app** Open your project on floot.com, click **Publish**, and switch on **Publish mobile app**. 2. **Choose Test** Click **Advanced** next to the switch, choose **Test mode**, and confirm. The choice applies to this one build only. The next publish goes back to **Live mode** by itself. ![Live mode and Test mode under Advanced on the Publish screen](https://floot.com/_cdn/blog-images/88d3973f543f56d2152fe330f2942b00bde64ccc/w1600.webp) *Live mode builds against your published app. Test mode uses the preview and stops working after 4 hours.* 3. **Build** Click the publish button. The build appears under **Last build** like any other, marked as a test build. > **Never submit a test build for review:** A test build stops working 4 hours after you make it, so a store reviewer would find a broken app. Your testers also receive it like any other build, so tell them it is temporary. When you are ready to release, publish again with **Live** selected and submit that build. > **Start test builds from the Publish screen:** Your assistant cannot start a test build. When it publishes with a mobile build, the build is always live. ## Private apps To give the app only to people you invite, such as your team or a client, publish it from the **Internal publish** tab with **Publish mobile app** on. The app asks people to sign in with Floot and opens only for the people on your list. See [Private mobile apps](https://floot.com/docs/projects/internal-publish#private-mobile-apps). ## Platform guides - [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores): Connect your Apple or Google Play account once, and every app build goes to the store's testing track for you. - [Native app features](https://floot.com/docs/mobile-apps/native-features): Push, permissions, the share sheet, background work, the status bar, iPhone-only or iPad-only builds, and Android TV — what to ask your assistant for. - [Native plugins and native settings](https://floot.com/docs/mobile-apps/native-plugins): Which Capacitor plugins work, what a plugin of your own needs, and the native config files your project carries. - [Connecting Apple and Google: troubleshooting](https://floot.com/docs/mobile-apps/store-connection-troubleshooting): What each message in the connect flow means, and how to get past it. - [Installing your iOS app](https://floot.com/docs/mobile-apps/installing-ios-app): Connect your Apple developer account and Floot builds and submits to TestFlight for you — or download the project and build it in Xcode yourself. - [Installing your Android app](https://floot.com/docs/mobile-apps/installing-android-app): Install the APK from a link or QR code, or build a signed release for Google Play. - [Add to the home screen or desktop](https://floot.com/docs/mobile-apps/add-project-to-home-screen): No app store needed — put your published project on a phone's home screen, or install it on a Windows or Mac computer. > **The developer accounts are yours:** Floot builds and submits to TestFlight and Google Play, but the accounts it submits through are yours: you need your own Apple Developer and Google Play accounts, and store review and any publishing support come from Apple and Google. --- # Publish to TestFlight and Google Play > Connect your Apple or Google Play account once, and Floot uploads every app build to the store's testing track. Source: https://floot.com/docs/mobile-apps/publishing-to-app-stores Connect a store account to your project and Floot handles the store side of every app build: it signs the build, uploads it, and puts it in front of your testers — TestFlight on iOS, internal testing on Google Play. You need no Mac, no Xcode, and no Android Studio, only the developer accounts. | Store | What you need | Where builds go | | --- | --- | --- | | **Apple App Store** | An Apple Developer Program membership ($99 a year, paid to Apple). Works on every Floot plan. | TestFlight, in an internal testing group called Floot Internal | | **Google Play** | A Google Play developer account ($25 once, paid to Google) and a paid Floot plan. | Play Console internal testing | Start on the Publish screen: open your project on floot.com, click **Publish**, switch on **Publish mobile app**, and pick a store under **Connect App Stores** — or under **App stores** once the app is live. ## Connect Apple 1. **Sign in with your Apple ID** Enter your Apple ID and password, then the 6-digit code Apple sends to your trusted devices. Floot does not store your password. ![Connect your Apple account: Apple ID and password fields with a Sign in button](https://floot.com/_cdn/blog-images/eb4b0a2aeac53ca0c2baeb9c403e78cda9b9b3c0/w1600.webp) 2. **Let Floot check the account** Floot checks that the account is in the Apple Developer Program and has the access it needs to create apps and upload builds. If something is missing, it says what. If your Apple ID belongs to more than one App Store Connect team, Floot asks you to **Choose a team**. Pick the team you publish with. You have to be its Account Holder or an Admin; a team marked **Needs Admin** cannot be picked. What each message at this step means is in [Connecting Apple and Google: troubleshooting](https://floot.com/docs/mobile-apps/store-connection-troubleshooting). 3. **Name your app** On the first publish, choose the App Store name testers and shoppers will see. It has to be unique across the App Store, and Floot checks that it is free. If your Apple account has never published an app, Apple also needs a company name — the seller name shown on the App Store, which cannot be changed later. Choose the name with care. It is also the name under the app's icon until you give the app a home-screen name of its own, which you can do later (see [the mobile app ID and the app name](https://floot.com/docs/mobile-apps/publishing-to-app-stores#the-mobile-app-id-and-the-app-name)). The name on the store listing can still be changed in App Store Connect. ![Your App Name: the App Store name field with a Validate button](https://floot.com/_cdn/blog-images/23548d5fe94975b321dc9903b0cfd1aebd0814b6/w1600.webp) *Type the name and click Validate to check it is free on the App Store.* Floot looks in App Store Connect for an app with the project's [mobile app ID](https://floot.com/docs/mobile-apps/publishing-to-app-stores#the-mobile-app-id-and-the-app-name) as its bundle ID, and creates one only if there is none. If your team already has an app with the name you typed but under a different bundle ID, Floot does not tell you to try another name. It explains the mismatch on this step and shows that app's bundle ID next to the project's mobile app ID: - **That app has no build yet:** in App Store Connect, open its **App Information**, set **Bundle ID** to the project's mobile app ID, save, and click **Validate** again. - **That app already has builds:** Apple no longer lets its bundle ID change. To publish to it, set the project's mobile app ID to the bundle ID Floot shows (it is also the Android package name). Otherwise, choose another name. 4. **Confirm** Floot creates the app in App Store Connect, checks the bundle ID and signing, and connects the account to the project. Connecting does not start a build: the next publish with **Publish mobile app** on does. ![Your App Store app is ready. Confirm to connect this account.](https://floot.com/_cdn/blog-images/621ad1808f34bc63ff3552e7b731c344cc267df1/w1600.webp) After that, each publish builds the iOS app in about 4 minutes. Apple takes another 5 to 30 minutes to process the build before it appears in TestFlight, and emails your testers an invite. The build shows up in the TestFlight app by itself, with no redemption code. Floot adds the Apple ID you connected as the tester, so open TestFlight signed in with that Apple ID. To let other people test, add them in App Store Connect under **TestFlight**. ### Install it on your iPhone with TestFlight 1. **Open App Store Connect** When the build finishes, click **Open App Store Connect** on the Publish screen and open your app's **TestFlight** tab. Wait for Apple to finish processing the build. To add testers, add them to an internal group there; each one gets an email invite. ![App Store Connect TestFlight tab with an internal testing group and one tester who installed build 1.0.0](https://floot.com/_cdn/blog-images/adabd9f17e4686b69192d8a4e108c97d154874c3/w1600.webp) *Testers in an internal group, with the build each one installed.* 2. **Install from TestFlight** On the iPhone, install Apple's **TestFlight** app from the App Store. Open the invite email and tap **View in TestFlight**, signed in with the Apple ID that was invited, then tap **Install**. Later builds appear in TestFlight as updates; there is no need to delete the app first. ![The TestFlight invite email with View in TestFlight, and the app's TestFlight page with an Install button](https://floot.com/_cdn/blog-images/dc69d120e83f3dbc9a55c72a8b151c8cbaf48134/w1600.webp) *The invite email, then the app's page in TestFlight.* 3. **Check the native features** Try what the browser could not show: permission prompts and their wording, notifications, the native share sheet, the camera and photo picker, and links that open the app. Note the version and build number in TestFlight so you know which build you are testing. TestFlight builds expire after 90 days. When testing goes well, submit the same build for review (see [Submitting for review](https://floot.com/docs/mobile-apps/publishing-to-app-stores#submitting-for-review)). ## Connect Google Play 1. **Say whether you have uploaded a build to Google Play before** Choose **No, not yet** for a new app, or for one you created in Play Console but never uploaded a build to (Floot creates its upload key). Choose **Yes, I've uploaded a build** if a build is already on Play: you will need its original upload key. 2. **Pick the Google account that owns your Play Console** Sign in with Google. Every project of your Floot account, or of your team, connects with the Google account its first connection used; another Google account is refused. To publish to a different Google Play developer account, add that Google account there as an **Admin** (**Users and permissions** in its Play Console), then connect with that developer account's app link. 3. **For a new app, create it in Play Console** Click **Create app** in Play Console and paste the package name Floot shows you — paste it rather than typing it, since it has to match exactly. 4. **Connect Floot to the app** Open the app in Play Console, copy the URL from your browser's address bar, paste it into Floot, and click **Connect**. Floot then creates a Google Cloud project named **floot-play-…** under the Google account you signed in with, holding a publishing account (**floot-play-publisher@floot-play-….iam.gserviceaccount.com**), and adds that account as a user of your Play Console developer account so it can upload builds. Its permissions cover releases, testing tracks, store listings, app content and replies to reviews for every app in the developer account, not only this one, with no financial data and no expiry; you can see and change them under **Users and permissions** in Play Console. 5. **For an existing app, upload your signing key** Google only accepts updates signed with the key you used before, so upload that keystore (`.jks`, `.keystore`, or `.p12`) with its password. If it holds several keys, pick the one your app is signed with. That key was made on the computer the app was first uploaded from. Neither Google nor Floot has a copy. If you cannot find it, see [the wrong upload key](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-expects-your-existing-upload-key) for how to reset it with Google. After that, each publish builds the Android app in about 2 minutes and puts it on Play Console internal testing. ### One connection and one upload key per Google account Floot keeps one Google Play connection for your Floot account or team, with the Google account its first connection used, and that connection holds one upload key. Every project you connect points to that connection and signs its builds with that same key. Connecting a second project, or signing in with Google again, reuses both: the key stays the same. - **Uploading a keystore replaces the key for the whole connection.** It is the key every project on that Google account signs with from then on, so Play refuses the next build of an app that was first uploaded with the old key. - **Removing the Google Play account in Floot deletes its upload key.** Floot keeps no copy. If you connect the same Google account again afterwards, Floot creates a new key, and Google Play refuses updates to any app already uploaded with the old one until you [reset the upload key with Google](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-expects-your-existing-upload-key). Removing it is not a way to fix a connection: sign in with Google again instead. Floot does not let you remove an account here while a project that has had a build through it still uses it; to disconnect one, contact support. ## The mobile app ID and the app name The mobile app ID is your iOS bundle ID and your Android package name. It is the **Mobile App ID** field in the **Mobile app** card of the project's **Settings** page, which opens when you click the project's name at the top left on floot.com. Unless you change it, it is `app.floot.u` followed by your project's ID without its dashes. - **Bringing an app that is already in a store?** Set its existing ID here before you connect the store. Floot finds your app in App Store Connect and Play Console by this ID; there is no step for picking an app from a list. - **Otherwise, leave it alone.** A nicer-looking ID is not a reason to change it, and Floot accepts only an ID of at least two parts separated by dots, such as `com.example.app`, each starting with a letter and using only letters and numbers (no hyphens or underscores). - **Changing it later starts a new app.** Once builds have been uploaded under one ID, a different ID is a different app to Apple and Google. The app people already installed keeps the old ID, so new builds do not update it. This cannot be undone. - **Changing it disconnects both stores.** Connect Apple and Google Play again afterwards. Native push is set up again on the next publish that includes a connected store, and only builds made after that carry push. The name under the app's icon is, unless you choose one, the App Store name you entered when you connected Apple (up to 30 characters), or your project's name if Apple is not connected. To give it a shorter name, ask the AI you build with to set the app's home-screen name (for example "set the home-screen name to Halfway"), then publish the mobile app again. It works after the first publish and while the app is in TestFlight, on iPhone and Android, and keeps the app's ID and store listings as they are. About 12 characters fit under the icon. People see the new name once they install the new build. The name on a store listing is separate and is changed in App Store Connect or Play Console. ## Every publish after that - Connected stores get a build whenever you publish with **Publish mobile app** on. Switch a store off under **App stores** to skip it for one build. - Set the version in the **Version** row before a release (`1.0.0` until you change it). The build number is automatic, and Floot keeps it above anything already in the store. - Every build still comes with the project zip. The Android APK is left out by default when Google Play is in the build: turn on **Android test build** next to the stores to get it too. With Google Play connected, **Last build** also offers the signed Google Play bundle (.aab), for the rare case where Play Console needs a build uploaded by hand. - With a store connected, your assistant can build the app itself when it publishes — just ask for an iOS or Android build. - A [test build](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot#test-builds) goes to the same testing tracks but stops working after 4 hours. Never submit one for review. - Floot builds every iOS app with Xcode 27.1 and the iOS 27.1 SDK, so there is nothing to set up. An app already in TestFlight or the App Store keeps the SDK it was built with until you publish the mobile app again. ## Submitting for review Floot stops at testing. When a build is ready, submit it for review yourself: screenshots, a description, and review notes in App Store Connect, or a store listing and a release in Play Console. Review and approval are between you and Apple or Google, and an app already live in a store keeps its current version until you submit an update. Floot does not make store screenshots, and there is no `.ipa` file to download: the iOS build goes straight to App Store Connect. Take your screenshots from the app running on a device. Apple's export-compliance question is answered for you on every build. > **Before you submit to Apple:** Apple rejects generic permission wording. Ask your assistant to write purpose strings that say why your app needs the camera, photos, location, or microphone — see [Native app features](https://floot.com/docs/mobile-apps/native-features). ## Google Play's Data safety form Google asks every app for a Data safety form, and you fill it in for your own app: what it collects depends on what you built. [Security and data](https://floot.com/docs/platform/security-and-data) describes what Floot stores on your app's behalf. If your app has user accounts, Google also expects a way for people to ask for their account and its data to be deleted, so ask your assistant to build one. ### What the Floot app shell adds Your Android app is your web app inside a native shell. The shell adds no crash reporting, no analytics, no performance monitoring and no ads, so it does not collect crash logs, diagnostics or the advertising ID, and it reads no device identifier of its own. What it adds: | Your app uses | What the build adds | Collects on its own | | --- | --- | --- | | Any Android build | Capacitor (the native shell), its App and Browser plugins, and the status bar plugin if your app sets the status bar | Nothing | | Push notifications | Firebase Cloud Messaging | A Firebase installation ID and a push token for the device, the app version and the Firebase SDK version, so Google can deliver notifications to it | | Receiving shares from other apps | The send-intent and Filesystem plugins | Nothing: the shared item goes to your app's own code | | Plugins your app adds itself (camera, location, in-app purchases, ...) | That plugin | Whatever that plugin's documentation says it collects | With push notifications, declare **Device or other IDs**, collected for **App functionality**. Google's [Firebase data disclosure page](https://firebase.google.com/docs/android/play-data-disclosure) lists what Cloud Messaging collects. Everything else on the form comes from your app's own features: the accounts, messages, photos, locations or purchases it stores and what it sends to other services. Floot's visitor analytics (the project's Analytics tab) are for the website only: app builds leave the analytics script out. Builds made before that still download the script, but it sends no events from inside the app. Apple's App Privacy questions for your iOS app get the same answers, except that iOS push may go through Apple's own push service instead of Firebase; either way it uses a push token for the device. ## Apple's App Privacy answers Apple asks the same kind of question in App Store Connect, under **App Privacy**, and you answer it for your own app. To see what a build actually contains, download the **iOS privacy report** from **Last build** on the publish screen. It needs your Apple account connected, because only then does Floot compile the iOS app: it appears a few minutes after that build finishes, and a build made without Apple connected, or with the App Store switched off for that build, has none. It is read from the compiled app on Floot's Mac builder, and lists every privacy manifest (`PrivacyInfo.xcprivacy`) in the app, its frameworks and its extensions, what each one declares (tracking, collected data types, required-reason APIs), the native SDKs with their versions, and the permission texts. Download it when you submit: it is kept with the build's other files, for 30 days or until your next app build. The report covers the native side only. It cannot say what your app's own screens and server do with people's data, which is most of what Apple asks about. Apple's own messages about an upload (for example a missing required-reason declaration, `ITMS-91053`) are emailed to the Apple account that owns the app; Floot does not receive them. ## If connecting or uploading fails The messages the connect flow and the store upload show, and what to do about each, are in [Connecting Apple and Google: troubleshooting](https://floot.com/docs/mobile-apps/store-connection-troubleshooting). --- # Connecting Apple and Google: troubleshooting > What each message means when connecting your Apple or Google Play account or uploading a build, and how to get past it. Source: https://floot.com/docs/mobile-apps/store-connection-troubleshooting Connecting a store and uploading a build involve Apple's and Google's own checks, and each one can stop you with a message. Find yours below. The walkthrough itself is in [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). | What you see | What to do | | --- | --- | | Apple: the 6-digit code is rejected, or no code arrives | Sign in again and enter the newest code, or click **Send the code another way**. See [Apple verification code](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#apple-verification-code). | | Apple: **Choose a team**, or **Ask for the Admin role** | Publish with a team where you are the Account Holder or an Admin. See [Choose a team](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#choose-a-team-and-ask-for-the-admin-role). | | Apple: **Enable App Store Connect API access** | The team's Account Holder opens App Store Connect → **Users and Access** → **Integrations**, clicks **Request Access** under App Store Connect API and agrees to the terms. Then click **Check again** in Floot. | | Apple: **Waiting for Apple to grant API access** | Access was already requested for the team and Apple has not granted it yet, so there is nothing more to request. Click **Check again** once App Store Connect → **Users and Access** → **Integrations** shows the App Store Connect API as available. If you requested access on another of your teams, choose that team instead. | | Apple: **Sign the Apple Developer agreement** | The Account Holder accepts the updated Program License Agreement at [developer.apple.com/account](https://developer.apple.com/account) (**Open Apple Developer** on the publish error), then any agreement waiting in App Store Connect under **Business → Agreements**. Then publish again. Nothing needs to be reconnected. | | Apple: the account needs to be an Apple Developer Program account | Enroll at [developer.apple.com](https://developer.apple.com) ($99 a year, paid to Apple), then connect again. | | Apple: your sign-in has expired | Click **Login Apple**, sign in, and publish again. Apple sign-ins expire from time to time; your app and your builds are not affected. | | Apple no longer accepts the App Store Connect API key | In App Store Connect, open **Users and Access → Integrations → App Store Connect API** and look at the key. If it was revoked, click **Create new key** in Floot to sign in and issue a new one. If it is still active, check that API access is on for the team and that your developer membership has not lapsed. | | Apple: the team has reached its key limit | Revoke a key you no longer use, then try again: under **Keys** in the Apple Developer portal for a push key, or under **Users and Access → Integrations** in App Store Connect for an API key. | | Apple: **The app … is no longer in the App Store Connect account …: it was likely transferred to another Apple Developer team, or removed** | The app was moved to another Apple team with **Transfer App**, and none of the Apple accounts connected to the project's owner has it. See [You moved the app to another Apple team](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#you-moved-the-app-to-another-apple-team). | | The build finished but is not in TestFlight | See [TestFlight does not show the build](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#testflight-does-not-show-the-build). | | Google: **You need to select all permissions** | Google's sign-in screen lets you skip checkboxes. Click **Try again** and tick every one, or **Select all**, before you continue. | | Google: the account you signed in with isn't an admin of this Google Play developer account | See [Google refused to add Floot](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-refused-to-add-floot). | | Google: **One more step: accept Google Cloud's terms**, or **One more step: accept the Google Play Developer API terms** | Google will not let Floot set up Google Play until the account you signed in with accepts those terms. This can happen whether or not your app uses push. Click the button Floot shows to open the terms, check that the account at the top right is the one Floot names, accept the terms (skip any free trial or billing offer), then click **I've accepted, connect again**. Google shows its sign-in screen again; that is expected. | | Google: **Create your app in Play Console** | Floot found no app with your package name. Create it in Play Console, pasting the package name Floot shows, then click **Check again**. | | Google Play expects your existing upload key | See [the wrong upload key](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-expects-your-existing-upload-key). | | Google: **You must let us know whether your app uses any Foreground Service permissions**, or another declaration Play asks for | See [Google Play wants a declaration before it takes the build](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-wants-a-declaration-before-it-takes-the-build). | | Play Console: **This App Bundle contains native code, and you've not uploaded debug symbols** | Expected, and safe to ignore: it does not hold up a release. See [Play Console says you've not uploaded debug symbols](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#play-console-says-youve-not-uploaded-debug-symbols). | | Play Console: **Your app uses deprecated APIs or parameters for edge-to-edge**, or **Edge-to-edge may not display for all users** | A recommendation, not a release blocker. See [Play Console warns about edge-to-edge APIs](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#play-console-warns-about-edge-to-edge-apis). | | Play Console: **Improve your app's memory and performance with R8 optimization** | A recommendation, not a blocker. See [Play Console recommends R8 optimization](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#play-console-recommends-r8-optimization). | | Google: accept the Google Cloud terms, set up a Firebase project, **Login Google**, or your organization does not allow service account keys | See [Push setup stops and asks for something](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#push-setup-stops-and-asks-for-something). | | Google Play is locked on the Publish screen | Connecting Google Play needs a paid Floot plan. Apple works on every plan. | | Apple: **Your App Store Connect app … uses the bundle ID …, not this project's …**, or **The app name you entered is already being used for another app in your account** | Your team already has an app with that name, under a different bundle ID than the project's mobile app ID, so Floot did not find it and Apple will not give a second app the same name. If that app has no build yet, open its **App Information** in App Store Connect, set **Bundle ID** to the project's mobile app ID, save, and validate the name again. Once a build has been uploaded, Apple no longer lets that app's bundle ID change: to publish to it, set the project's mobile app ID to that app's bundle ID, which Floot shows, or choose another name. See [Name your app](https://floot.com/docs/mobile-apps/publishing-to-app-stores#connect-apple). | ## Apple verification code After your Apple ID and password, Apple sends a 6-digit code to your trusted devices: a prompt on an iPhone, iPad or Mac signed in to that Apple ID. If the Apple ID has no trusted device, Apple texts the code to your trusted phone number instead. Floot does not store your password, and there is nothing to reset on Floot's side when a code fails. - **The code is rejected.** Start the sign-in again and enter the code from the newest prompt, not one from an earlier attempt. - **No prompt appears.** Check that the device is signed in to the same Apple ID. You can also ask a trusted iPhone or Mac for a code in its Apple Account settings, under **Get Verification Code**. - **Get the code another way.** On the code step, click **Send the code another way** and choose **Send to my Apple devices**, a text message, or a call to a trusted phone number. Which ones are offered depends on what the Apple ID has set up. - **Too many verification codes.** After too many requests for one Apple ID, Apple refuses to send more for a while, and codes requested outside Floot count too. Floot passes on what Apple says: wait a moment and try again, or, when Apple has stopped sending codes for the Apple ID, wait a few hours. ## Choose a team, and Ask for the Admin role Floot creates your app and uploads builds through App Store Connect, and Apple allows that only for a team's Account Holder or an Admin. - **Choose a team** appears when your Apple ID is on several App Store Connect teams. Each team shows your role on it. Pick the one you publish with. A team marked **Needs Admin** cannot be picked. - **Ask for the Admin role** means your Apple ID and password were right, but the Apple ID is not an Admin on the team. Ask the team's Account Holder to give it the Admin role in App Store Connect → **Users and Access**, then connect again. ## TestFlight does not show the build 1. **Give Apple time.** The build takes about 4 minutes, then Apple processes it for another 5 to 30 minutes. The iOS row on the Publish screen reads **Apple is processing the build** until then. 2. **Open TestFlight with the Apple ID you connected.** Floot adds that Apple ID as the tester, in a group called Floot Internal. No redemption code is needed. Other people see the build only after you add them as testers in App Store Connect. 3. **Check that the build included Apple.** A publish with **Publish mobile app** off, or with the Apple store switched off under **App stores**, uploads nothing to TestFlight. 4. **Check the version.** Apple does not offer testers a build whose version is lower than the highest one already in TestFlight. Raise **Version** on the Publish screen and publish again. 5. **Look in App Store Connect.** If Apple rejected the build while processing it, the reason is under **TestFlight** there. If the publish fails with a message that the build completed and the issue is on Apple's side, Apple's upload service did not answer in time. Publish again later; the project itself is fine. ## Google refused to add Floot When you click **Connect**, Google adds Floot's publishing account to your app on your behalf. Google refuses if the Google account you signed in with cannot manage users on that Play developer account. The usual cause is the sign-in popup picking your browser's default Google account, not the one that owns the Play Console. - Try again and choose the Google account that owns your Play Console, or one that has the **Admin** permission under **Users and permissions** there. It does not have to be the account you log in to Floot with. If your Floot account or team already uses another Google account for Google Play, Floot accepts only that one: give it the **Admin** permission there instead. - If that is the account you used, check that the Play Console link you pasted comes from the right developer account. The link has to be your app's own page, copied from the browser's address bar. ## Google Play expects your existing upload key Google accepts an update only when it is signed with the upload key the app was first uploaded with. This message means the app was uploaded to Google Play before, with a key Floot does not have. That key was made on the computer the app was first uploaded from. Floot did not create it, and neither Google nor Floot can give it to you. 1. **If you have the keystore** Click **Reconnect Google Play**, choose **Yes, I've uploaded a build**, and upload the keystore file (`.jks`, `.keystore` or `.p12`) with its password. Then publish again. 2. **If you cannot find it** 1. Generate a new upload key on your computer. 2. Send its PEM public certificate through Play Console's **Request upload key reset** form. 3. Wait for Google's approval. After Google approves, it can take up to 48 hours before the new key works. 4. Click **Reconnect Google Play**, choose **Yes, I've uploaded a build**, and upload the new key file. ## Google Play wants a declaration before it takes the build Some Android permissions make Google ask for a policy declaration in Play Console first. The common one is the foreground service form, which a plugin such as a step counter or a keep-awake service brings in. Until it is filled in, Google refuses the upload with a message such as **You must let us know whether your app uses any Foreground Service permissions**, and the Android · Google Play row shows that message. Play Console only shows the form once it has seen a bundle that needs it, and Google refused Floot's upload, so you upload that bundle yourself once. 1. **Download the signed bundle** On the Publish screen, find **Last build** and click **Play bundle (.aab)**. It is the same release, signed with your app's upload key, that Floot tried to upload. The row shows only to people who can connect app stores on the project, and only for a finished build made with Google Play connected. The bundle is kept until your next app build, and for 30 days at most, so download it before you publish the app again. 2. **Upload it in Play Console** In [Play Console](https://play.google.com/console), open your app, go to **Test and release → Testing → Internal testing**, create a new release, and upload the `.aab` file. 3. **Complete the declaration** Play Console now asks for the declaration, either on the release or under **App content**. Fill it in for your app: what the permission is used for is yours to describe. Then finish the release. 4. **Publish again** Publish with **Publish mobile app** on. With the declaration done, Google accepts Floot's uploads again, and Floot keeps the build number above the one you uploaded. ## Play Console says you've not uploaded debug symbols When you create a release, Play Console can show the warning **This App Bundle contains native code, and you've not uploaded debug symbols**. It is expected on a Floot build and you can ignore it: it is a recommendation, and Google reviews and releases the build as usual. - **There is no symbol file to upload.** The native code in the bundle is not your app's code. It is a few small libraries that Google's Android libraries and some plugins bring with them, already compiled and published without debug symbols. Floot's build has nothing to extract them from, so no symbol file exists for any build, and building again does not make one. - **What you miss without it.** A crash that happens inside one of those libraries shows memory addresses in Play Console, not function names. Crashes in the app's Java and Kotlin code are readable: the file Play needs for those is inside the bundle already. - **What to do.** Nothing. Continue with the release. The warning shows again on each new build. ## Play Console warns about edge-to-edge APIs Play Console can list **Your app uses deprecated APIs or parameters for edge-to-edge** (it names calls such as `setStatusBarColor` or `setNavigationBarColor`) or **Edge-to-edge may not display for all users** on a release. They are recommendations: Google reviews and releases the build as usual. - **Your app already handles edge-to-edge.** Floot's Android build keeps the app clear of the status bar and the navigation bar on Android 15 and later, or lays it out under them when you asked for edge-to-edge. Nothing in your app is hidden behind the bars because of this warning. - **Where the flagged calls come from.** Libraries inside the build, not your app's code: Google's Material components (classes named `com.google.android.material…`, such as a bottom sheet) and plugins that bring them, for example the camera plugin (classes named `ioncameralib…` or `capacitorjs.plugins.camera…`). On Android 15 and later those calls do nothing, and the libraries' authors keep them for older Android versions. Floot already leaves out the status bar plugin's Android code when your app does not use it. - **What to do.** Nothing. The warning shows again on each new build while the app uses those libraries, and building again does not remove it. If something really does sit under a bar on a phone, tell your assistant what you see and where. ## Play Console recommends R8 optimization Play Console can show **Improve your app's memory and performance with R8 optimization**, listing up to three items. None of them holds up a release, and none is a setting you can change: Floot's build handles them. - **Optimization isn't enabled.** Floot's builds for Google Play shrink, obfuscate and optimize the app's code with R8. The card clears once Google has analysed a bundle built that way, so publish with Google Play again to send one. If R8 ever cannot build a project's native plugins, Floot builds that bundle with less optimization instead of failing the publish. - **Optimized resource shrinking isn't enabled.** Floot leaves this off on purpose. It would save little, since the app's pages, scripts and images are not Android resources and are never shrunk, and plugins find icons and sounds by names it cannot see, so it could remove one the app needs. - **Upgrade your Android Gradle plugin to version 9.0 or higher.** The Android Gradle plugin comes with Capacitor, the framework Floot builds the app with. Floot moves to version 9 with Capacitor's next major version, once it and its plugins are released. ## Push setup stops and asks for something When your project uses push, Floot sets up Firebase under the Google account you connected, in a Google Cloud project of its own for that app: its name is **floot-** followed by 12 letters and digits. It does this once, either right after you connect Google Play (when the project already uses push) or during the first publish that includes Google Play. Setup that starts when you connect runs in the background and shows nothing; if Google needs something from you, the next publish with Google Play stops and asks for it. The push project is a different one from the **floot-play-…** project the Google Play connection uses, so a setting an admin changed for Google Play does not carry over to push. Google can ask for one of these things first. - **Your Google sign-in is missing the push permission, or has expired** — Click **Login Google**, sign in again with every permission ticked, then publish again. - **Accept the Google Cloud terms** — Open [console.cloud.google.com](https://console.cloud.google.com) signed in with the Google account you connected, accept the terms of use, then click **Check again** in Floot. - **Firebase terms not accepted** — Open [console.firebase.google.com](https://console.firebase.google.com) signed in with the same Google account. Click **Get started by setting up a Firebase project**, type any name, and keep clicking **Continue** until the project is created. Then click **Check again** in Floot. This is a one-time step for your Google account, and you can delete that project afterwards. - **Your Google organization does not allow service account keys** — Android push needs a service account key, and some Google Workspace organizations block them (newer ones do by default). Publishing to Google Play needs no key, so only push stops. Floot's message names the policy (**Disable service account key creation**, `iam.disableServiceAccountKeyCreation` or `iam.managed.disableServiceAccountKeyCreation`) and the push project, links to that project's organization policies, and lists the steps: an admin of the organization opens the policy for that project, chooses to override the parent's policy, turns enforcement off, and then you click **Check again** on the message in Floot, which sets up Android push without building or publishing anything. Once it is set up, **Notifications** in Services shows Android as set up, with its Firebase project. The exception has to be on the project the message names; one on the **floot-play-…** project does not help. Until then you can publish to the App Store alone, or remove push from the project. ## You moved the app to another Apple team App Store Connect's **Transfer App** moves an app to another Apple Developer team. The project still publishes with the Apple account it used before, which no longer has the app, so on the next build Floot looks for the app on the other Apple accounts the project's owner has connected. It never registers the bundle ID again or creates a second App Store app. - **The new team's account is connected.** Floot switches the project to that account, as if you had chosen it under Publish → iOS, and the build goes on. The build's progress says so: **This app now belongs to the Apple account …, so Floot switched the project to it from …**. This works for an account you connected but never chose, too, as long as its Apple sign-in still works. - **No connected account has the app.** The build stops with **The app … is no longer in the App Store Connect account …**. Connect the Apple account of the team that has the app now (Publish → iOS → Apple account), then publish again. If the message names accounts that need signing in again, sign in to those first: Floot could not look for the app there. If you chose an account yourself and the app is on another connected one, the message names that one: choose it and build again. - **The app was removed, not transferred.** Change the project's mobile app ID. Apple never gives a removed app's bundle ID to a new app. Some of the iOS setup belongs to the Apple team rather than the app: the App Group, the App IDs of extensions such as widgets, the push notification key, team IDs written into the project's `apple-app-site-association` file and entitlements, and the Mac app's App ID. To see where each one stands, open Publish → iOS, click **⋯** on the connected Apple App Store card, and choose **Check for an app transfer**. It shows to people who can connect app stores on the project. - **Before a transfer**, the check lists what will need changing after it. It changes nothing. - **After a transfer**, with the new team's Apple account chosen, click **Fix what Floot can**: Floot sets up the App Group, the extensions' App IDs and the push key on the new team, then checks again. Rows marked **Change yourself** are team IDs in the project's own files: the row shows the value to use (click it to copy). The Mac app's entry updates at the next Mac build. - **If the chosen account does not have the app yet**, nothing is changed. The check names your other connected Apple accounts that have it; if none does and a transfer is under way, wait until Apple finishes it, then connect the new team's account. - **From your assistant:** ask it to check the project for an Apple app transfer. It can run the check, but not the fix. ## Where a build's status shows - **While it runs:** the Publish screen has one row per target: Web, iOS · Apple App Store, Android · Google Play, or Mobile · Android test build when no store is connected. Each row shows the step it is on. You can close the tab; the build keeps going. - **Afterwards:** under **App stores**, each connected store shows its latest build: **TestFlight build** or **Internal testing build** with its number, or **Last build failed — publish again**. The **Last build** card holds the Android APK (if the build made one) and the project zip (plus the signed Google Play bundle when Google Play is connected), or says that the native build failed. - **From your assistant:** ask it for the publish status. It reports the app build along with the website. - **On the store's side:** once a build is uploaded, App Store Connect (under **TestFlight**) and Play Console (under **Internal testing**) are where it lives. Floot does not move a build to production: you submit it for review there. > **What only Apple or Google can settle:** Identity checks on your developer account, app review, and changes to your store listing happen with Apple and Google. Floot cannot speed them up or see why they are waiting. --- # Native app features > Push, permissions, the share sheet, background work, the status bar, iPhone-only or iPad-only builds, and Android TV — what to ask your assistant for. Source: https://floot.com/docs/mobile-apps/native-features Your iOS and Android apps are your web app in a native shell. A few things only make sense in the native app, and there is no settings screen for them: you ask your assistant, and they ship with your next app build. ## Push notifications Floot's built-in push reaches phones as well as browsers. Native push is set up for you when you publish with a store connected: the Apple account for iOS, and Google Play for Android, which needs a paid plan. A build made without the matching store ships without native push. Browser push does not work inside the native app, so the native app needs its own. 1. **Ask your assistant for push notifications** It adds Floot's built-in push to your project, with the code that asks people for permission and the code that sends. 2. **Connect the store for each platform** Your Apple account for iOS, Google Play for Android — see [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). 3. **Publish with the mobile app on and that store included** Switch on **Publish mobile app** and leave the store switched on under **App stores**. Floot sets up push for that store during this publish. On iOS it creates a key named **Floot Push** in your Apple developer account. On Android it sets up Firebase under the Google account you connected, unless that already happened when you connected Google Play. You need no push certificate and no Mac. 4. **Install that build** Push is in the builds made from this publish on. A build from before it has to be replaced on the phone. - **What it costs.** $0.40 per 1,000 notifications, counted as hosting usage, once for each device you send to. Silent background pushes cost the same. - **Keep the Floot Push key.** Floot uses the one key for every app on that Apple account, so do not revoke it in the Apple Developer portal. - **Handing out the APK yourself?** Android push still needs Google Play connected and included for one build. After that, later builds keep push even when you switch Play off for a build. - **Google may ask for something once.** The first publish with push can stop and ask you to sign in to Google again or to accept Google Cloud's or Firebase's terms. The steps are in [Connecting Apple and Google: troubleshooting](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#push-setup-stops-and-asks-for-something). - **Changing the mobile app ID resets native push.** Connect the stores again and publish with them included, and push is set up again for the new ID. ## Unread badges and sender photos Two things make your app's notifications work like a messaging app's. Ask your assistant for them, for example "show the number of unread messages on the app icon, and keep it the same on all of a user's devices" or "show the sender's photo on message notifications, on iOS too". - **An unread count on the app icon.** A notification can carry the user's total number of unread items. When they read them on one device, your app tells their other devices, which update the badge without showing a notification. On iOS the number changes silently, whether the app is open or not. Android shows a dot instead of a number (or a number, on phones whose home screen supports one), and clears the dot and the app's notifications once nothing is unread; a count that goes down but not to zero leaves them as they are. On the web the badge shows on an installed web app, and it can only change along with a quiet notice your app writes, because browsers do not allow a push that shows nothing. - **The sender's photo.** A notification about a message from a person can show their photo as a round avatar, with their name on top, instead of as a picture attached to it. On the web the photo becomes the notification's icon. On Android the avatar is in builds made since mid-October 2026; older builds show the photo as a large picture. - **On iOS the avatar is something you ask for.** It needs Apple's Communication Notifications capability: your assistant adds it to the app's [entitlements file](https://floot.com/docs/mobile-apps/native-plugins#the-native-config-files-in-your-project), Floot switches the capability on for your App ID at the next publish, and builds from then on show the avatar. Without it, iOS shows the photo as a small picture on the notification. ## Your own notification sound A notification can play a sound of your app's own instead of the phone's default. No push can carry its audio, so the sound file is built into the app and the push only names it. Ask your assistant, for example "play this chime on new-order notifications", and attach the sound file to your message (in Floot's chat, a `.wav`, `.mp3` or `.ogg`). It stores the file in your project's private storage under `native-sounds/`, names it in the code that sends, and you publish a new app build. Builds made before that play the default sound. | | iOS | Android | | --- | --- | --- | | File types | `.caf`, `.aiff` or `.wav` (Linear PCM, IMA4, µ-law or a-law) | `.ogg`, `.mp3` or 16-bit PCM `.wav` | | Length | Under 30 seconds | No limit | - **One file for both.** A 16-bit PCM `.wav` plays on iOS and Android. You can also give one name a file per format, such as `chime.caf` and `chime.ogg`, and each platform takes the one it plays. - **The build checks every file.** A file the phone could not play fails the app build with a message that names the file and says why. Your web app still publishes. - **A sound the app doesn't have yet plays the default.** If the latest build doesn't include the sound a push names, the push still goes out with the default sound, and its result carries a `warning`. - **On Android it plays while the app is in the background.** With the app open, Android shows no notification, as before. Each person can also pick another sound for your app's notifications in the system's notification settings. - **Limits:** up to 32 sounds, 5 MB a file. A name is lowercase letters, digits and `_`, starting with a letter. - **Not on the web.** Browsers play their own sound, and Windows desktop apps play the default. ## Permissions Floot adds the permissions your app needs on its own: camera and photo access when your app has a file upload or uses the camera (on iOS a file upload offers "Take Photo"), location and microphone when your code uses them, and notifications when you use Floot's push. On Android, using the camera also adds the microphone permission, for video. An app with none of these declares none of them. The default iOS wording is generic, and Apple rejects apps for it — ask your assistant to write purpose strings that say why your app needs each one, such as "Scan receipts to add them to your expenses." ## One request for the website and the app Describe a feature once and say it should work on the website and in the installed app. Your assistant adds the web version and the native plugin and permission for the app, and you test the web half in the preview before you build. For example: | Feature | On the website | In the installed app | | --- | --- | --- | | Use my current location | The browser asks for location | iOS or Android asks for location | | Add a photo | A file picker, which offers the camera on phones | Take a photo, or pick one with the system photo picker | | Share | The browser's share menu, or Copy link | The phone's native share sheet | | Remind me | Download a calendar event | A notification scheduled on the phone, with no server | - **Say when to ask for permission.** For example: "Only ask for location when the user taps the button, never when the app opens." People are more likely to allow it, and a refused permission should leave the rest of the app working. - **Write the permission wording in the same request.** For example: "On iOS, ask for location only while the app is in use, with the message 'We use your location to find gift shops near you.'" The wording goes into the next build, and Apple rejects generic wording. - **Selling inside the app.** If the website takes payments through Stripe, decide what the app shows before you submit to Apple. Apple has rules on buying digital goods inside iOS apps, and the usual options are to hide the purchase buttons in the app or to add in-app purchases with a plugin. See [Can my app sell subscriptions or in-app purchases?](https://floot.com/docs/faqs/apis-scraping-and-mobile#can-my-app-sell-subscriptions-or-in-app-purchases). ![An iPhone asking to allow the app to use its location, with the app's own wording](https://floot.com/_cdn/blog-images/2b5fc16932e812c4f416875ce62d9e3c36b3ed27/w1600.webp) *In the installed app, the permission prompt shows the wording from your request.* ## Things to ask for - **Share to your app** — Let people share photos, videos, audio, PDFs, text, or links from other apps into yours, from the iOS and Android share sheets. Your assistant also writes the code that receives what was shared. - **Work in the background** — Run a short piece of your app's code while it is not on screen — when your backend sends a silent push, on iOS and Android, or when iOS gives the app background time. Each wake gets about 25 seconds. The phone decides how often background time comes, and on Android a wake only runs while the app is still alive in the background: once the user swipes it away, wakes are missed. - **Status bar style** — By default the app sits between solid strips under the status bar and above the home indicator. Ask for a different strip color, light or dark status-bar icons, or edge-to-edge — content running under the bars, with the padding your assistant adds to keep controls clear of them. Each can be set differently for iOS and Android, and the app can change the strip color and icons while it runs, for example when someone switches to a dark theme. Like every native setting, it reaches phones with your next app build. Before that, the iPhone, Pixel and iPad previews show it the way each platform's build will: the strip in your color, or the app under the status bar with the space a real phone keeps clear around the notch and the home indicator. A color the app changes while it runs shows only on a phone. - **iPhone-only or iPad-only** — iOS builds support iPhone and iPad by default. Ask for iPhone-only if the iPad layout is not ready: the app still installs on an iPad, but runs there as an iPhone app. Ask for iPad-only if the app is made for tablets: the App Store does not offer it on iPhone, and App Store Connect stops asking for iPhone screenshots. Either takes effect with your next app build. This is one-way: once a version that supports a device has been released on the App Store, Apple will not accept an update that drops it, so your assistant asks whether the app is already live before it changes this. Adding a device back later is allowed. - **Android TV and Google TV** — Ask your assistant to make your Android app a TV app as well. The same app then shows up on the home screen of Android TV and Google TV devices, with a banner made from your app icon, from your next Android build. For Google Play, ask for a banner with your app's name on it: Google's TV review wants the name there. A TV has no touch screen, so also ask your assistant to make every screen work with a TV remote's arrow keys and Back button, with large text and a clear highlight on the selected item. Play only offers the app on TVs once you add Android TV as a form factor in Play Console's Advanced settings, under Form factors. Google then asks for TV screenshots and a TV store banner, and reviews the TV version separately. Floot does not do that step for you. - **Images, sound and video inside the app** — Your app's screens are packaged inside the app, but files in your project's storage (images, audio, video) load from your published app, so they need a connection. To have chosen files work offline and show without a download, ask your assistant to bundle them into the app. They are built into your next iOS and Android app build, and your app keeps using the same links to them. Up to 100 files, each up to 100 MB and 150 MB together. The website keeps loading them from storage as before. If you replace a bundled file later, the app shows the new one only after the next app build. Files your app's users upload are not covered. - **Links that open your app** — Links on your own domain that open the app instead of the browser: Universal Links on iOS, App Links on Android. Your assistant adds the native settings for both. It takes a new app build. The order that avoids an extra build is under [Links that open your app](https://floot.com/docs/mobile-apps/native-features#links-that-open-your-app). - **A native plugin** — Anything the phone can do that a web page cannot, such as in-app purchases, health data, or Bluetooth, comes from a Capacitor plugin. See [Native plugins and native settings](https://floot.com/docs/mobile-apps/native-plugins) for which ones work. ## Links that open your app A link such as `https://yourapp.floot.app/shared/abc123` can open straight inside the installed app, and still open the website on a phone without it. On iOS these are Universal Links. They need your published domain, a file on that domain, and a setting in the app, so set them up in this order and they ride along with your next build: 1. **Publish the website and connect Apple** The links use your published address, so publish the website first (with **Publish mobile app** off, this uses no build), then [connect your Apple account](https://floot.com/docs/mobile-apps/publishing-to-app-stores#connect-apple). Have your Apple Team ID ready: it is under **Membership details** in your Apple Developer account. The bundle ID is your [mobile app ID](https://floot.com/docs/mobile-apps/publishing-to-app-stores#the-mobile-app-id-and-the-app-name). 2. **Ask your assistant to set them up** Say which links should open the app, for example "Make links under /shared/ open the matching wishlist inside the iPhone app, and the website when the app is not installed. My Team ID is ABCDE12345. Don't publish yet." It adds the Associated Domains entitlement for your domain (see the `ios-entitlements` guide; Floot turns the capability on for your App ID at the next publish), a `static/.well-known/apple-app-site-association` file, and the code that opens the right screen when a link arrives. 3. **Publish the website and check the file** Publish again with **Publish mobile app** off. Then ask your assistant to check that `https://<your domain>/.well-known/apple-app-site-association` answers with your Team ID and bundle ID. Floot serves it as JSON with no redirect, which is what Apple asks for. 4. **Build and test** Publish with **Publish mobile app** on, install the build, and tap a link in Messages or Notes. Typing the address into Safari opens the website, not the app; that is how iOS treats typed links. Android App Links work the same way, with an `assetlinks.json` file on your domain. Ask your assistant for both platforms in the same request. ## Handled for you - Apple's privacy manifest entries for the native plugins your app uses. - The Android status bar and keyboard insets, so nothing hides behind the system bars. - AirPlay and cable connections to a TV or display show a mirror of the iPhone screen. - After your first app build, your project gains `static/__dev/native/ios-info.plist` and `static/__dev/native/android-manifest.xml`. Your assistant can edit them for anything else the stores ask for — ask it to read the `ios-info-plist` or `android-manifest` guide first. What each file is for is in [Native plugins and native settings](https://floot.com/docs/mobile-apps/native-plugins#the-native-config-files-in-your-project). ## What counts toward your monthly app builds | Plan | App builds each month | | --- | --- | | Free | 2 | | Pro | 12, then $3 per extra build | | Team | 20 per builder seat, shared, then $3 per extra build | | Power | Unlimited | On Pro and Team, a build past the allowance is an extra build: $3 for a mobile build and $3 for a desktop build, charged to your hosting credit, one charge per build however many platforms it makes. A build that fails is free. The first time you run out, Floot asks before charging anything; after you agree, extra builds are charged without asking, and the publish screen still shows the price. You can turn it back off on [Plan & usage](https://floot.com/dashboard/plan-usage). On a team, only an admin can agree. Floot refuses an extra build that would leave your hosting balance too low to keep your apps running for a few days: top up or turn on auto-reload. On a paid plan the count starts over with each month of your plan, counted from the day it began. On Free it starts over on the first of each month (UTC). Unused builds do not carry over. The **Publish mobile app** switch shows how many you have left. Once they are used up, it shows the count and the date they come back, with **See which builds**. To see which builds used them, open [Plan & usage](https://floot.com/dashboard/plan-usage) and click **App builds this month** on the **Current plan** tab. It lists every build in this month's window with its project, date and platforms, and marks one that is still building or that was an extra build, with its price. It shows your own account's builds across all your projects. A project you collaborate on uses its owner's allowance, so its builds count for the owner, not you. - A build counts once it finishes, and while it is still running. - A [desktop build](https://floot.com/docs/mobile-apps/desktop-apps) counts as one app build, whether it makes the Windows app, the Mac app or both. - A build that fails does not count, and neither does one that every connected store turned away. - A build that a newer one replaced while it was running still counts. - A test build counts the same as a live build. - At most 2 app builds run at the same time. > **React Native and Expo do not apply:** Floot builds your web app into the native apps, so React Native and Expo packages cannot be installed. Your assistant uses the web or native-plugin equivalent instead — see [Native plugins and native settings](https://floot.com/docs/mobile-apps/native-plugins). --- # Native plugins and native settings > Which Capacitor plugins work in a Floot app, what a plugin of your own needs, the native config files your project carries, and what the build does not support. Source: https://floot.com/docs/mobile-apps/native-plugins Floot builds your iOS and Android apps with Capacitor 8. Anything the phone can do that a web page cannot comes from a Capacitor plugin, and the native settings live in a few files in your project that the assistant you build with edits for you. ## Which plugins work Capacitor plugins published on the public npm registry work, both the official `@capacitor/…` ones and community ones. Plugins built for Capacitor 8 are the ones to pick. Ask your assistant for the feature. It adds the plugin as a dependency of your project and writes the code that calls it. - **The plugin has to be used in your code.** A build leaves out any dependency that no file in your project imports, so a plugin that is installed but never imported is not in the app. - **It takes a new app build.** A plugin is native code, so it reaches phones only in a build made after it was added. - **It does nothing in the preview.** The preview and your website run in a browser, where there is no native side to call. Your assistant guards plugin calls so they run only in the native app. Use a [test build](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot#test-builds) to try a plugin on a real phone. - **Permissions come with it.** A plugin's own Android permissions and services are merged into the app. On iOS, ask your assistant to add the purpose string for anything the plugin makes iOS ask permission for. Every build includes Capacitor 8.5.3 (core and the iOS and Android runtimes) and `@capacitor/app` and `@capacitor/browser` at version 8.0.0. `@capacitor/status-bar` 8.0.0 is in every iOS build, and in the Android build only when your code uses it. Floot adds the push plugin itself when your project uses its built-in push. ## A plugin of your own A Floot project holds web code only: it cannot contain Swift, Kotlin or Java files. To ship native code of your own, package it as a Capacitor plugin, publish it to the public npm registry, and have your assistant add it like any other plugin. It needs: - **A public npm package.** Private registries, git URLs, tarballs and local paths are not installed. - **An import in your project.** As with every plugin, it is left out of the build unless your code imports it. - **A Package.swift on iOS.** The iOS project is built with Swift Package Manager, so the plugin needs a `Package.swift` whose package and library product are named after its npm name the way Capacitor names it (`@acme/capacitor-thing` → `AcmeCapacitorThing`). It has to depend on `capacitor-swift-pm` 8.x. A podspec is not used. The app's deployment target is iOS 15.5, so `platforms: [.iOS(.v15)]` works. A plugin that uses a newer framework has to link it weakly and check availability in code. - **Android 8.0 on Android.** The app's minimum is Android 8.0 (API 26). Permissions, services and other entries the plugin declares in its own manifest are merged into the app, a foreground service included. - **No install script.** Packages' install scripts do not run during the build, apart from a few Floot allows, so a plugin cannot download its native files when it is installed. Ship them inside the package. - **An exact version while you iterate.** A build prefers package versions that have been on npm for at least 36 hours, so a version range, or the latest version, can resolve to an older release. Pin the exact version you just published to get it. ## The native config files in your project The files under `static/__dev/native/` hold the native settings. They are part of your project, your assistant edits them, and changes ship with the next app build. They never appear on your website. | File | What it is | When it exists | | --- | --- | --- | | `ios-info.plist` | The iOS app's Info.plist: permission wording, and any other key Apple asks for. | After your first iOS build | | `android-manifest.xml` | The Android app's manifest: extra permissions, App Links, and other entries Google Play asks for. | After your first Android build | | `ios-entitlements.plist` | The iOS app's entitlements, for capabilities such as HealthKit, Sign in with Apple, Associated Domains or NFC. | Only when your app needs one; your assistant creates it | | `ios-localizations/<language>.lproj/InfoPlist.strings` | The iOS permission prompts (and the name under the icon) in another language, one file per language, such as `da.lproj/InfoPlist.strings`. Apple asks for these when your app is in several languages. Each language you add is also listed as one of the app's languages on the App Store. | Only when your app is in several languages; your assistant creates them | Ask your assistant to read the `ios-info-plist`, `android-manifest` or `ios-entitlements` guide before it edits one. A few things in these files stay Floot's: - The version and build number are written on every build. Set the version in the **Version** row on the Publish screen. - The app name, the bundle ID and the app's URL scheme are not edited here. See [the mobile app ID and the app name](https://floot.com/docs/mobile-apps/publishing-to-app-stores#the-mobile-app-id-and-the-app-name). - Permissions your app's features need are put back on every build, so deleting the line does not stick. On Android, ask your assistant to keep the line and mark it `tools:node="remove"` instead: that keeps the permission out of the app, also when a plugin declares it. - The push entitlement and the share target's app group are added by Floot. They do not go in the entitlements file. - A file that is no longer valid XML fails the build, and so does a translation file Floot cannot read: the error names the file and the line. Everything else in the `ios/` and `android/` folders is generated fresh on every build. A change made in Xcode or Android Studio to a downloaded project is not kept, and `capacitor.config.json` cannot be edited. ## iOS capabilities An entitlement only works if the matching capability is switched on for your app in your Apple developer account. Floot switches these on for you at the next publish: push notifications, HealthKit, HomeKit, Associated Domains, Sign in with Apple, NFC tag reading, Access Wi-Fi Information, Hotspot, Multipath, Personal VPN, SiriKit, Wallet, ClassKit, Wireless Accessory Configuration, Game Center and Communication Notifications. Communication Notifications, which shows a message sender's photo as the notification's avatar (see [Unread badges and sender photos](https://floot.com/docs/mobile-apps/native-features#unread-badges-and-sender-photos)), is switched on only for an app whose entitlements file asks for it. Any other capability you switch on yourself in the Apple Developer portal before you publish. That includes iCloud, Apple Pay and Data Protection, and the capabilities Apple has to approve first, such as FinanceKit and CarPlay, which only your team's Account Holder can request. If one is missing, the publish stops before the build and names the entitlement. ## What the build does not support - **React Native and Expo packages.** The app is your web app in a native shell, so they cannot be installed. - **Native source files in the project.** No Swift, Kotlin or Java outside a plugin, and no extra Xcode targets. - **App extensions and widgets of your own.** The share sheet and notification extensions are the ones Floot adds itself, plus a Safari extension written as web files (see below). - **Your own Android image resources.** A project cannot add files to the Android `res` folders, so the notification icon is the app icon. - **Drawing over other apps or over live TV.** An app cannot float a window on top of other apps, and on a TV it cannot draw over live TV or an HDMI input. Your app shows only while it is open. - **Secrets for the build.** There is nowhere to give the build a token of your own, which is why packages from a private registry cannot be installed. - **An outside build service.** Builds run on Floot's own machines. A service such as Ionic Appflow cannot take the build's place, though you can download the project zip and build it yourself — see [Installing your iOS app](https://floot.com/docs/mobile-apps/installing-ios-app) and [Installing your Android app](https://floot.com/docs/mobile-apps/installing-android-app). ## Safari extension Your iOS app can carry a Safari Web Extension. Ask your assistant for one: it writes the extension as web files in `static/__dev/native/safari-extension/`, starting with `manifest.json`, and every iOS build from then on includes it. Delete the folder to remove it. - **Web files only.** A manifest (version 2 or 3), a background script, content scripts, a popup and any other text files. No Swift and no Xcode. - **Icons come from your app icon.** Floot makes `icons/icon-48.png`, `icon-96.png`, `icon-128.png`, `icon-256.png` and `icon-512.png`; the manifest points at those paths, and the folder holds no images. - **Mistakes stop the publish.** If `manifest.json` is not valid JSON, uses another manifest version, or names a file that is not there, the publish fails and names the file. - **No data shared with the app.** A native message from the extension only gets its own message back. - **iPhone and iPad Safari only.** It is not in the preview, the website, Safari on Mac or Android. Publish with the mobile app switched on, install the TestFlight build, then turn the extension on in Settings > Apps > Safari > Extensions. ## Background work A native app is a web page in a shell, and phones stop a page that is not on screen. What you can do depends on how long the work runs: - **A short task now and then** — Ask your assistant for background work: your app's own code runs for about 25 seconds when your backend sends a silent push, or when iOS gives the app background time. See [Native app features](https://floot.com/docs/mobile-apps/native-features#things-to-ask-for) for the limits. - **Location while the app is in the background** — Use the `@capacitor-community/background-geolocation` plugin. The Android build switches on the setting that plugin needs by itself. - **Work that must keep running on Android** — Step counting, sensors, or a tablet that has to stay ready for orders need an Android foreground service, which comes from a plugin: a community one such as `@capawesome-team/capacitor-android-foreground-service`, or a plugin of your own. Android shows a permanent notification while it runs, and Google Play asks you to declare the foreground service in Play Console (see [Google Play wants a declaration before it takes the build](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-wants-a-declaration-before-it-takes-the-build)). - **Work with no need for the phone** — If both the input and the result live on your server, run it there instead: a scheduled job or a background task has none of a phone's limits. See [Scheduled jobs and background tasks](https://floot.com/docs/integrations/jobs). > **The phone has the last word:** iOS runs nothing for an app the user force-quit, in Low Power Mode, or with Background App Refresh off. Android can stop an app in the background at any time unless a foreground service keeps it alive. No plugin changes that. ## Incoming calls (iOS) Your iOS app can ring like WhatsApp: the iPhone's own call screen, also when the app is closed or the phone is locked. Ask your assistant for incoming calls. Your backend rings the person's iPhones, they answer or decline on the call screen, and answering opens your app. - **Floot rings, your app talks.** Floot provides the ringing and the call screen. The call's audio or video comes from your app's own calling service (WebRTC or a calling provider), which your assistant connects when the call is answered. - **iOS push must be set up in Publish** with your Apple account connected. The next iOS build adds everything else, and stops with a message if push is not set up that way. - **iPhone only.** Android phones and the website get a normal notification with a sound instead. - **Test it on a real iPhone** with the TestFlight build: the preview cannot ring. Do Not Disturb and Focus can silence a call. - **China.** Apple does not allow apps with this kind of call screen on the App Store in mainland China, so leave China out of the app's availability. --- # Desktop apps for Windows and Mac > Build a Windows installer and a Mac app from your project with each publish: signing, updates, push notifications and what to know. Source: https://floot.com/docs/mobile-apps/desktop-apps Floot can build your published project into a desktop app: a Windows installer (.exe) and a Mac app (.dmg). It opens in its own window, with its own icon in the Start menu, taskbar or Dock, and uses the same backend, sign-in and database as your website. ## Build it 1. **Open the Publish screen** Open your project on floot.com and click **Publish**. 2. **Switch on Publish desktop app** Choose **Windows**, **Mac** or both with **Include in this build**. The switch stays as you leave it, so every publish of the project builds the desktop app again until you turn it off. A publish by your assistant follows the same switch: only you change it, here. 3. **Publish** The website goes live as usual, and the desktop app builds beside it, in about 15 minutes. You can leave the page. The installers appear under **Downloads** on the desktop card when the build finishes, each with a link to copy. > **One app build per desktop build:** A desktop build uses one app build from your plan, the same allowance as your mobile builds, whether it makes the Windows app, the Mac app or both. On Pro and Team a build past the allowance is $3 from your hosting credit, charged only if it finishes. A build that fails does not count. If you are out of app builds, or a desktop build of the project is still running, the website still publishes and Floot tells you the desktop app was not built. See [What counts toward your monthly app builds](https://floot.com/docs/mobile-apps/native-features#what-counts-toward-your-monthly-app-builds). Installed copies pick up every publish of your website by themselves (below), so you only need a new desktop build when the app's name or icon changes. Turn the switch off in between to save app builds. ## Signing ### Windows On a paid plan, Floot signs the Windows app as **Floot, Inc.** On the Free plan it is not signed, and Windows SmartScreen warns people before they install it (they can still choose **More info** → **Run anyway**). To show your own company as the publisher, sign with your own Microsoft Artifact Signing account, on any plan: on the Windows card, choose **Use your own certificate** and sign in with Microsoft. You need an Artifact Signing account in your Azure subscription with a completed identity validation and an active Public Trust certificate profile. Once you choose your own certificate, Floot never signs that app with its own instead: if your account refuses, the Windows app is not built, and Floot says why. ### Mac The Mac app is signed with your own Apple Developer account, the one your iOS app uses, and Apple notarizes each build, so macOS opens it like any other app. On the Mac card, choose **Connect Apple account**, then **Set up Mac signing**. Floot creates a Developer ID certificate in your Apple account and keeps it for the next builds; it lasts five years. Apple lets only the team's Account Holder create one: anyone else uploads a .p12 file the Account Holder exported. > **Set up Mac signing before you share the Mac app:** Without it the Mac app is not signed: macOS does not open it the way it opens other apps, and installed copies do not update themselves. ## Updates - Your app's screens are built into the desktop app, so it opens quickly, and without a connection too. Each publish of your website reaches installed copies by itself: they switch to it the next time a page loads or the app starts, or once the window has been in the background for 30 minutes. Your assistant can show an **Update ready** prompt instead. - A new desktop build installs itself on people's computers: on Windows when the app is quit, and on a Mac (signed builds only) as soon as it has downloaded, for the next time the app opens. - Desktop builds take your mobile app's version (the **Version** row on the Publish screen) with their own build number, such as 1.2.3 (7). Installed copies only ever update to a higher version. ## What the desktop app does - **Push notifications** from Floot's built-in push reach the desktop app with no change to your app, as Windows or Mac notifications, also while the app is closed. On a Mac they need Mac signing and your Apple account's push key, the one your iOS app uses. Buttons and a reply box on a notification work too. - **Closing the window keeps the app running**, like Slack: on a Mac always (click the Dock icon to bring it back), on Windows when you turn on **Keep running in the tray** on the Windows card. **Quit** quits. - **Links open the app**: with **Open links in the desktop app** on (the default), links to your app open the installed app, on a Mac straight from Safari and Mail, from other browsers after one click on an offer your published pages show. - **Internal apps**: people sign in with Floot in their browser the first time, and stay signed in in the app. - **Ask your assistant** for more: a title bar your app draws itself, an **Update ready** prompt, a keyboard shortcut that brings the app forward from anywhere, Open at Login, a few quick actions in the Dock or tray menu, a taskbar flash or Dock bounce for a new message, or a **Download the desktop app** button on your website. ## Sharing the app Copy a link from **Downloads** on the desktop card; it stops working once a newer build replaces that file. For a link that always gives the newest installer, use `https://<your app's address>/_cdn/floot-desktop/download-windows.exe` or `https://<your app's address>/_cdn/floot-desktop/download-mac.dmg`. An internal app's installers download only for people signed in to it. The Windows installer installs for the person running it, without administrator rights. The app uses Microsoft Edge WebView2, which Windows 10 and 11 already have; the installer downloads it where it is missing. ## What to know - Windows: one 64-bit (x64) installer. Mac: one app for Apple silicon and Intel, on macOS 12 or later. - No Linux app, and no Microsoft Store or Mac App Store version: people download the installer from you. - **Sign in with Google** may be refused inside the desktop app: Google does not allow its sign-in in an app's embedded browser window. Keep another way to sign in, such as email. - The app opens without a connection, but anything that talks to your backend still needs one. - The desktop app runs on the computer's own browser engine: Microsoft Edge WebView2 on Windows, Safari's WebKit on a Mac. Check your app in Safari as well as Chrome. --- # Add your app to a home screen or desktop > Install a Floot app on an iPhone or Android home screen, or on a Windows or Mac computer, straight from the browser — no app store, no installer, no download. Source: https://floot.com/docs/mobile-apps/add-project-to-home-screen Once your project is published, you or your users can add it straight to a phone or tablet home screen, or install it on a computer. No app store download required. A **web app manifest** makes that shortcut look and feel like an app — it launches in its own window, with no browser toolbar in sight. It is optional, and the steps below work either way. How to add one is at the end of this page. ![A Floot project shortcut sitting on an iPhone home screen](https://floot.com/_cdn/static/63413225-794c-4088-aca7-5eda2161913b-docs-iphone-app-home-screen.png) ## iPhone and iPad On iOS the shortcut is created from the browser's share menu. Safari is the most reliable path and the one shown below, but Chrome and Edge for iOS also offer **Add to Home Screen** in their share menus, and the result is the same — every browser on iOS renders through WebKit. 1. **Tap the Share button in Safari** Open your published project URL in Safari, then tap the share icon — the square with an upward arrow — at the bottom of the screen. ![Tapping the share button in Safari](https://floot.com/_cdn/static/ff9276e7-a969-4984-8264-28aabdc59377-docs-ios-safari-share-button.png) *Tap the share button.* 2. **Choose "Add to Home Screen"** In the share sheet, scroll down and tap **Add to Home Screen**. If it is not there, scroll to the bottom and tap **Edit Actions** to enable it. ![The "Add to Home Screen" option in the iOS share sheet](https://floot.com/_cdn/static/c0adec5f-e2eb-4f76-bea4-10f513b1df93-docs-ios-add-to-home-screen.png) *Tap "Add to Home Screen."* 3. **Name the shortcut and confirm** Give it a name — or keep the default — then tap **Add** in the top-right corner. ![Editing the shortcut name before adding it](https://floot.com/_cdn/static/40fe2370-e022-49ca-97fb-d1f52b41e900-docs-ios-edit-name-and-add.png) *Edit the name and tap "Add."* Your project now sits on the home screen alongside regular apps. You can rearrange it or drop it into folders, though it will not show up in the App Library. > **With a web app manifest:** The shortcut launches in its own standalone window — no browser toolbar or address bar — instead of opening as a Safari tab. ## Android Android is more flexible: several browsers support home screen shortcuts. Here are Chrome and Firefox. ### Google Chrome 1. **Open the browser menu** Navigate to your published project URL in Chrome, then tap the three-dot icon in the top-right corner. ![Tapping the menu icon in Chrome for Android](https://floot.com/_cdn/static/83ff2b83-4a14-4fdd-9ea9-a758fda0a348-docs-android-chrome-menu.png) *Tap the menu icon.* 2. **Choose "Add to Home Screen"** ![Selecting "Add to Home Screen" in the Chrome menu](https://floot.com/_cdn/static/b3d86614-88c4-4b1a-887d-ac31c210b5ab-docs-android-chrome-add-to-home.png) *Select "Add to Home Screen."* 3. **Name the shortcut and tap "Add"** ![Editing the shortcut name in Chrome](https://floot.com/_cdn/static/f012f019-ddfb-434f-a9ea-cdfbe3ac8b6f-docs-android-chrome-edit-name.png) *Edit the name and tap "Add."* 4. **Place it on your home screen** Your launcher shows a confirmation. Either drag the icon where you want it, or tap **Add to Home Screen** to place it automatically. ![Confirming placement on the Android home screen](https://floot.com/_cdn/static/1ff58493-94c1-404b-a335-0d7f88c055fc-docs-android-chrome-add-confirm.png) *Tap "Add to Home Screen."* ### Mozilla Firefox In Firefox, tap the three-dot menu, open the **More** section, then choose **Add to Home Screen**. !["Add to Home Screen" in Firefox for Android](https://floot.com/_cdn/static/c978a4b8-1d21-4524-b479-7e48bf7e7808-docs-android-firefox-add-to-home.png) *Tap "Add to Home Screen" in Firefox.* Just like Chrome, you can rearrange the shortcut or put it in a folder. It will not appear in the app drawer — only on the home screen. > **Chrome may offer to install instead:** With a web app manifest, Chrome can prompt you to **Install** the app — it then runs in its own window and appears in the app drawer alongside your other apps. Firefox for Android can install it too, but without Chrome's WebAPK integration, so it stays a home screen shortcut rather than a proper app drawer entry. ## Windows and Mac computers On a computer, Chrome and Edge install a published project as a desktop app. It opens in its own window without the address bar, gets a Start menu or Launchpad entry you can pin to the taskbar or Dock, and uses the same website, sign-in and database as everyone else. - **Chrome** — Open your published project URL, then click **Install** at the right of the address bar. If it is not there, open the three-dot menu and choose **Cast, save, and share** → **Install page as app**. - **Edge** — Open your published project URL, then click **App available** at the right of the address bar. If it is not there, open the **…** menu and choose **Apps** → **Install this site as an app**. - **Safari on a Mac** — Open your published project URL and choose **File** → **Add to Dock** (macOS Sonoma or later). To remove it on Windows, uninstall it like any other program from **Settings** → **Apps**, or from the app's own three-dot menu. The address bar's **Install** button appears once the project has a web app manifest, described in the next section. > **Want a Windows or Mac app with an installer?:** Floot can also build a desktop app with each publish: a Windows installer (.exe) and a Mac app (.dmg) that open offline and update themselves. See [Desktop apps for Windows and Mac](https://floot.com/docs/mobile-apps/desktop-apps). Installing from the browser needs nothing but a published project, and it needs an internet connection, like the website itself. ## Make it open like an app This is not a hosting setting but a small change to your project, so ask your assistant: "Make this app installable." It adds a web app manifest — `static/manifest.json`, with the app's name, icons, and `display: standalone` — and links it from the page. Set a project icon too; it becomes the home-screen icon. Then have your assistant publish, and the change reaches your users. A home-screen app is your website, so it updates whenever you publish, with nothing to reinstall. The icon is the exception: a phone that already added the app may keep showing the old icon after you change it. Removing the app from the home screen and adding it again picks up the new one. Floot apps do not use a custom service worker: Floot already runs its own for push notifications, and a second one would conflict with it. The manifest alone is enough. Floot's push worker only covers its own folder, `/floot-push-sdk/`: it never controls your app's pages or handles their requests, so it does not change whether a browser offers to install the app. Chrome and Edge show their **Install** button, and fire the `beforeinstallprompt` event that an in-app install button listens for, once the page is on HTTPS, links a manifest, and the visitor has used the page for a short while. They do not need a service worker. Safari and Firefox have no such event: on an iPhone, installing is always the share menu's **Add to Home Screen**. The manifest has to come from the same address as the page: a published app's security settings block a manifest from any other site, so link it as `/manifest.json` (where `static/manifest.json` is served), never as a full address on another domain. A custom domain works the same as your floot.app address: it changes nothing about installing. But each address is its own app to the browser: installing from `www.example.com` does not count for `example.com` or the floot.app address. To keep everyone on one address, set a primary domain under [Search engines and SEO settings](https://floot.com/docs/projects/seo). > **Want a real native app instead?:** This is the lightweight option. For an app you can ship to the App Store or Google Play, see [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot). --- # Installing your iOS app > Run your Floot app on the iOS Simulator or a real iPhone, and publish it to the App Store. Source: https://floot.com/docs/mobile-apps/installing-ios-app Floot can convert your project into a native iOS app. Here is how to get it running on your iPhone or the simulator. This page covers the do-it-yourself route: download the project zip from floot.com and build it in Xcode on your own Mac. Your assistant cannot download the zip for you. Publishing through Floot needs neither the zip nor Xcode: connect your Apple account under **App stores** on the Publish screen, and Floot uploads each build to TestFlight — see [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). > **Rejected over a permission string?:** You do not need Xcode for that. Ask your AI assistant for the `ios-info-plist` guide — once your app has had one iOS publish, it can edit `static/__dev/native/ios-info.plist` in your project directly, and the change ships on your next publish. ## Prerequisites (for building it yourself) - A Mac running macOS - Xcode installed — free from the [Mac App Store](https://apps.apple.com/us/app/xcode/id497799835) ## Getting your iOS app 1. **Build the mobile apps** 1. Open your project on floot.com and click the **Publish** button 2. Switch on **Publish mobile app** 3. Click **Continue** (on the first publish, where you also pick your subdomain), or **Publish update** if the app is already live. Wait a few minutes for the build to finish 2. **Download the mobile project** 1. On the Publish screen, find the **Last build** card 2. On its **Also from this build** line, click **Project zip**. The card only holds your latest build — the next app build replaces it, even if that build fails. A build's files can be downloaded for 30 days 3. Unzip it — a single archive holds both the `ios/` and the `android/` project 3. **Install Node.js dependencies** Install Node.js if you do not have it, then run this in the unzipped folder: ```bash npm install -g pnpm@10 pnpm install ``` Use pnpm, not npm or yarn. The native projects in the zip point at pnpm's folder layout (paths under `node_modules/.pnpm/…`), and only `pnpm install` creates those folders. pnpm also installs exactly the versions in the zip's `pnpm-lock.yaml`. Do not run `npx cap sync` or `npx cap copy`. Your built web app is already inside the `ios/` and `android/` projects, and the zip does not include the `dist` folder those commands copy from. 4. **Open the project in Xcode** 1. Navigate to the unzipped folder 2. Go to `ios/App` 3. Double-click `App.xcodeproj` to open it in Xcode > **Xcode downloads the packages:** The iOS project uses Swift Package Manager. The first time you open it, Xcode downloads Capacitor from GitHub and sets up your plugins, which needs an internet connection. Wait until the package list in the sidebar finishes loading before you build. > **Building with Xcode 27:** Apple requires apps built with the iOS 27 SDK to use its scene-based app lifecycle, or they close at launch. Projects from app builds made since October 24, 2026 use it. If your download is older, build the mobile apps again and download the new project. Floot's own iOS builds use Xcode 27.1 with the iOS 27.1 SDK. ## Running in the iOS Simulator 1. At the top of Xcode, find the device selector dropdown next to the app name 2. Select a simulator device (for example, "iPhone 17 Pro") 3. Click the **▶ Play** button, or press `Cmd + R`, to build and run 4. The simulator launches with your app running ## Installing on a real iPhone 1. Connect your iPhone to your Mac via USB 2. Select your iPhone from the device dropdown in Xcode 3. Configure code signing — this requires an Apple Developer account 4. Click **▶ Play** to install and run on your device After you change your app and publish again, download the project again and click **▶ Play** to refresh the installed app. ## Troubleshooting - **Xcode can't resolve the package dependencies** — Check that you are online, then choose **File > Packages > Reset Package Caches** in Xcode. If a package points to a missing folder under `node_modules`, run `pnpm install` in the unzipped folder first. If the dependencies were installed with npm or yarn, delete the `node_modules` folder and any `package-lock.json` or `yarn.lock`, then run `pnpm install` again. - **`pnpm install` stops with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION** — Newer pnpm versions refuse packages published in the last day. Install pnpm 10 as shown above (`npm install -g pnpm@10`), or wait a day and run `pnpm install` again. - **"No provisioning profiles found"** — This happens when running on a physical device. Set up code signing in Xcode under **Signing & Capabilities**. - **"Build failed" errors** — Clean the build folder — **Product → Clean Build Folder**, or `Cmd + Shift + K` — then build again. - **Simulator not appearing** — Make sure iOS simulators are installed. In Xcode, go to **Settings → Components** to download them. ## Publishing to the App Store 1. **Create an Apple Developer account** Enroll in the Apple Developer Program ($99 per year). 2. **Confirm the app installs on your iPhone** Follow the steps above first — if it will not install on your own device, it will not pass review either. 3. **Push notifications, if you use them** There is nothing to add in Xcode. Native push is set up when you publish with your Apple account connected — see [Native app features](https://floot.com/docs/mobile-apps/native-features#push-notifications) — and a project built that way already carries the push entitlement. 4. **Upload to App Store Connect** Go to **Product → Archive**, then click **Distribute app**. Head to [appstoreconnect.apple.com](https://appstoreconnect.apple.com) and fill in the required information to submit for review. For full detail, see [Apple's publishing guide](https://developer.apple.com/app-store/submitting/). ## Shipping an update 1. Make your changes 2. On the Publish screen, switch on **Publish mobile app**, raise **Version** for each release you submit (for example `1.0.0` → `1.1.0`), and publish 3. Download the updated project (same steps as the initial setup) 4. Open it in Xcode, then archive and submit as above > **Set the version on the Publish screen, not in Xcode:** Floot writes **Version** and **Build** into every build it makes. Version comes from the **Version** row, which appears on the Publish screen once **Publish mobile app** is on (`1.0.0` until you change it). Build is a counter that goes up by one with every app build — failed ones included — so it always rises. Changes made in Xcode are thrown away by the next download. > **Review and release are yours:** You need your own Apple Developer account to publish, and Apple handles any review or publishing support. --- # Installing your Android app > Install your Floot app on an Android device, and publish it to the Google Play Store. Source: https://floot.com/docs/mobile-apps/installing-android-app Floot can convert your project into a native Android app. You can install it directly on your device — no developer tools required. > **The APK comes from floot.com:** Build the app and download the APK on floot.com, from the **Publish** screen. The project link your assistant shares opens the project view at `/mcp-preview/<id>`, and the **Publish** button there is the same screen. Your assistant can start an app build itself only once a store account is connected, and it cannot hand you the APK. Once the Android app has been built once, your assistant can edit `static/__dev/native/android-manifest.xml` for you — ask it for the `android-manifest` guide. That is the usual fix for a Play rejection, or for a permission you need to add after publishing. ## Getting your Android app 1. **Build the mobile apps** 1. Open your project on floot.com and click the **Publish** button 2. Switch on **Publish mobile app** 3. Click **Continue** (on the first publish, where you also pick your subdomain), or **Publish update** if the app is already live The build takes several minutes. On Free and Pro, the switch starts off each time, so a publish without it updates only the website. Switch it on whenever you want a new APK. With Google Play in the build, the APK is left out unless you turn on **Android test build** next to the stores before you publish; Floot remembers your choice for the project. An APK cannot be added to a build afterwards, so turn it on and publish again. 2. **Get it onto a phone** On the Publish screen, find the **Android test build** row (this is the APK) of the **Last build** card. There are three ways to get the app onto a device: - **Download** — downloads the APK through the browser you are in. Use this when you have Floot open on the Android phone itself. - **Get link** — copies a download link. Open or paste that link in the phone's browser. - **QR code** — shows a QR code for the same link. Point your Android camera at it. When the build also went to Google Play, **Last build** is a single line of links. Click **Android test build** on it: the QR code opens with **Download** and **Get link** under it. > **Unknown sources:** Android may ask you to allow installation from unknown sources. This is expected for an APK installed outside the Play Store. Note this APK is the debug build — right for trying the app yourself or handing it to testers, but Google Play will not accept it. Publishing to Play needs the signed release build covered below. 3. **Install it** 1. Once downloaded, open the APK file 2. If prompted, enable "Install from unknown sources" for your browser 3. Tap **Install** 4. Your app is ready to use ## Troubleshooting - **How do I install the APK after downloading?** — Android usually offers to install it right away. If not, open your Files app and tap the APK you downloaded. - **"Can't install from this source"** — Go to **Settings → Security → Install unknown apps** and enable it for your browser or file manager. - **"App not installed" when installing over a copy already on the phone** — Android only replaces an installed app with one signed by the same key. Every APK of a project is signed with that project's own key, so a new build installs over the last one. Two copies are signed differently and have to be uninstalled once before the APK goes on: one installed from Google Play, which Google signs with its own key, and one from an APK built before mid-October 2026. Uninstalling removes the data the app keeps on the phone. - **"App not installed" on a phone that never had the app** — The APK needs Android 8.0 or newer. If the phone is newer than that, check that it has free storage, that the app is not installed in another profile on it (a work profile or Samsung's Secure Folder count), and that the file downloaded completely — download it again from the link rather than forwarding the file through a chat app. To hand the app to other people, Google Play internal testing is the more reliable route once a Play account is connected. - **QR code not working** — Click **Get link** instead and paste the copied link straight into the phone's browser. The link is short-lived: if it no longer works, click **Get link** again for a fresh one. If the **Last build** card shows no APK, the latest build has not finished yet, it failed, or **Android test build** was off for it — a newer build, even a failed one, replaces the previous downloads. Publish again with **Publish mobile app** switched on. ## Publishing to the Google Play Store > **Floot can do this for you:** On a paid plan, connect your Google Play account under **App stores** on the Publish screen, and Floot builds, signs, and uploads every app build to Play internal testing — see [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). The steps below are the do-it-yourself route. With Google Play connected, the signed release bundle Floot uploads can also be downloaded from **Last build** for uploading by hand — see [Google Play wants a declaration before it takes the build](https://floot.com/docs/mobile-apps/store-connection-troubleshooting#google-play-wants-a-declaration-before-it-takes-the-build). Without a connected Play account there is no ready-made AAB: you build it yourself from the project zip. 1. **Create a Google Play Developer account** Sign up at the [Google Play Console](https://play.google.com/console) — a $25 one-time fee. 2. **Download the Android project** 1. Open your project on floot.com and click **Publish** 2. On the **Last build** card, click **Project zip** on the **Also from this build** line 3. Unzip it — the `android/` project is inside This is the same **Project zip** link used for iOS: one archive holds both projects. If you already downloaded it for iOS, you have it. 3. **Install dependencies** Install Node.js, then run this in the unzipped folder itself — the one that contains `android/`, not inside `android/`: ```bash npm install -g pnpm@10 pnpm install ``` Use pnpm, not npm or yarn. The native projects in the zip point at pnpm's folder layout (paths under `node_modules/.pnpm/…`), and only `pnpm install` creates those folders. pnpm also installs exactly the versions in the zip's `pnpm-lock.yaml`. Do not run `npx cap sync` or `npx cap copy`. Your built web app is already inside the `android/` project, and the zip does not include the `dist` folder those commands copy from. 4. **Generate a signed release build** - Navigate to the `android` folder - Follow the [Android signing guide](https://developer.android.com/studio/publish/app-signing) to create a keystore and sign your app - Build a release AAB with `./gradlew bundleRelease` 5. **Upload to the Play Console** - Create a new app in the console - Complete the store listing — description, screenshots, icon - Upload your signed AAB from `android/app/build/outputs/bundle/release/` - Complete the content rating questionnaire - Set pricing and distribution 6. **Submit for review** Google typically reviews apps within 1–3 days. For more detail see [Google's publishing guide](https://developer.android.com/studio/publish) and [Capacitor's Android documentation](https://capacitorjs.com/docs/android) — Floot uses Capacitor to build the native app. ## Shipping an update 1. Make your changes and publish them 2. Download the updated Android project 3. Open `android/app/build.gradle` — the app-level file, not `android/build.gradle`, which only holds buildscript classpath entries 4. Update `versionName` (for example `"1.0"` → `"1.1"`) 5. Rebuild, sign, and submit as above > **Leave versionCode alone:** Floot already stamps `versionCode` for you. It is a counter that goes up by one with every app build, failed ones included, so it always rises; changing it by hand is thrown away by the next download. With Google Play connected, Floot sets `versionName` too, from the **Version** row on the Publish screen, and keeps `versionCode` above anything already in Play. > **Review and release are yours:** You need your own Google Play developer account to publish, and Google handles any review or publishing support. --- # Billing, credits, and plans > Build actions and credits, the meters for building and for AI, what rolls over, and what each plan includes. Source: https://floot.com/docs/faqs/billing-credits-and-plans Floot has three meters. Build actions meter the work your AI assistant does on your projects through the Floot connector. Credits pay for AI that Floot itself runs — image generation, any AI features running inside your own published app, and building by chatting with Floot in the editor. Hosting your published apps is the third meter, with a page of its own: see [Hosting](https://floot.com/docs/faqs/hosting). Where the difference matters, each answer below says which meter applies. ## Which one am I spending? - **Build actions** — Spent when your AI assistant works on a project through the Floot connector — one per tool call it makes. The assistant's own thinking runs on your Claude, ChatGPT, or Cursor subscription, so it costs no Floot credits. Calls that fail or are cancelled are never counted, and a handful of protective calls — checking job or publish status, listing your projects, fetching a preview URL, cancelling a request, unpublishing an app — never count either. - **Credits** — Spent when Floot runs the AI. Three things do that: generating images into a project, any `@floot/ai` feature running inside your own published app — a chatbot, a summarizer, an embedding search — and building by chatting with Floot in the project editor. Everything your own assistant does through the connector is metered in build actions instead. > **On a shared project:** Credits always come out of the project owner's balance, not the balance of whoever is chatting. That includes images generated from a collaborator's AI assistant, and a collaborator's messages to Floot's chat in the editor. ## Where do I see what I have left? On [Plan & usage](https://floot.com/dashboard/plan-usage), in the dashboard sidebar on floot.com. It has four tabs: **Current plan**, **Building actions** (what you have used today), **AI credits** (your credit balance and top-ups) and **Hosting** (your hosting balance and usage). Your app builds are on the **Current plan** tab too: open **App builds this month** below the plan cards to see how many you have used, when the count starts over, and every build in this month's window with its project, date and platforms. Like build actions, app builds are counted per account. A project you collaborate on uses its owner's app builds, so its builds appear on the owner's Plan & usage, not yours. More in [What counts toward your monthly app builds](https://floot.com/docs/mobile-apps/native-features#what-counts-toward-your-monthly-app-builds). To see one project's share of your credits, open the project, click its name at the top left to open its **Settings** page, and look for **Credits Used** in the **Usage** card. It counts the AI credits that project has consumed, over a date range you can set. Plan & usage covers your whole account, so the two numbers only match if you have one project and compare the same dates. Floot does not show the credits a single chat message used. Build actions are counted per account, not per project. ## Do credits roll over? Yes — unused monthly credits roll over to the next month so you have more time to use them. - You have one month to use rolled-over credits. If your billing period was Oct 25 → Nov 25, those credits are usable until Dec 25. - Rollover credits are spent first, then your monthly quota, then your other credits — top-ups and bonuses, soonest-expiring first. - A paid plan is required to use rolled-over credits. Once your plan renews, rollover credits appear on your [plan and usage page](https://floot.com/dashboard/plan-usage). Monthly credits arrive once a month, on a yearly plan too. They come back at the time of day your plan started, not at midnight, and Plan & usage shows the date and time in your own time zone, with a countdown in the last 24 hours. Your hosting allowance comes back at a different moment: see [Hosting allowance](https://floot.com/docs/platform/reliability-and-limits#hosting-allowance). If you run out, image generation, Floot's chat in the editor and the AI features in your published apps stop until you have credits again. Building through the connector carries on, and running out of credits never takes a site offline: hosting is a separate balance. ## What does each plan include? | | Free | Pro — $25/mo | Power — $100/mo | | --- | --- | --- | --- | | Build actions | 100 per day | 1,000 per day | 5,000 per day | | Credits | 3,000 once, at signup | 5,000 per month | 15,000 per month | | Hosting included | $3 once, at signup, valid for a year | $10 per month | $25 per month | | Projects | 5 | Unlimited | Unlimited | | Published apps | Unlimited | Unlimited | Unlimited | | Floot Storage | 100 MB | Unlimited | Unlimited | | Custom domains | No | Yes | Yes | | Wildcard domains (`*.example.com`) | No | No | Yes | | Remove the Floot badge from published apps | No | Yes | Yes | | Download or sync the code | No | Yes | Yes | | Real payments in published apps ([Payments](https://floot.com/docs/integrations/payments)) | No (test mode in the preview only) | Yes | Yes | | Shipping: addresses, rates, labels and tracking ([Shipping](https://floot.com/docs/integrations/shipping)) | Yes | Yes | Yes | | Native app builds | 2 per month | 12 per month | Unlimited | | Google Play publishing | No | Yes | Yes | | Scheduled jobs | No | Yes | Yes | | People invited to private apps | 5, across all apps | 20, across all apps | 50, across all apps | Both paid plans can also be billed yearly: Pro is $250 a year and Power $1,000 a year — two months free. Existing projects are never taken away if you end up over the project cap — you just cannot create more until you upgrade or delete one. The free plan is not a trial and has no end date. Upgrading never resets anything: your projects, published apps, databases and files stay as they are. To change plan, switch between monthly and yearly billing, or cancel, see [Managing your subscription](https://floot.com/docs/faqs/managing-your-subscription). > **Older credit-ladder plans:** Subscribers on one of the older credit-ladder plans keep that plan's credits, but their build actions are metered at the free limits — an old plan bought credits, not build actions. The [switch page](https://floot.com/dashboard/billing/switch) shows exactly what moving to Pro or Power would mean for your account. The switch is one-way; what it costs and what happens to your credits is in [Managing your subscription](https://floot.com/docs/faqs/managing-your-subscription). ## What happens if I run out and upgrade mid-month? Upgrading takes effect immediately. Going from Pro to Power starts a new billing period that day: the unused time on Pro is credited against the new plan's price, and your renewal date moves to the day you upgraded. It raises your monthly credits from 5,000 to 15,000 and your daily build actions from 1,000 to 5,000, both usable right away. ## Can I buy extra credits? Yes, on the [AI credits tab](https://floot.com/dashboard/plan-usage?tab=credits) of Plan & usage. It is not the tab the page opens on, so look there if you cannot find the top-up. One-time top-ups start at $20, convert at $1 = 1,000 credits, and are available the moment payment clears. They require an active paid plan, are non-refundable, and expire 60 days after purchase. Prices are in US dollars, and sales tax or VAT is added at checkout where it applies. The same tab has **Auto-reload**, which is off unless you turn it on. When your credits drop below an amount you choose, Floot tops them back up to your target by charging your saved card. It becomes available after your first top-up, charges at most once every 10 minutes, and switches itself off after 3 failed charges in a row. Hosting has its own auto-reload: see [Hosting](https://floot.com/docs/faqs/hosting). ## Can I buy extra build actions? Top-ups add credits, not build actions. If you keep running out of build actions, move up a plan — Free to Pro, Pro to Power. On Pro and Power, the message you get at the daily limit also offers an Action Boost: $5 for 5,000 extra build actions, usable for the rest of that day and all of the next. On Power you can also have boosts bought automatically when the day's actions run out. See [Build actions](https://floot.com/docs/integrations/build-actions). ## Do I need credits to build? No. Building through the [Floot connector](https://floot.com/docs/integrations/build-from-claude-and-chatgpt) runs on your own Claude, ChatGPT, or Cursor subscription, and Floot meters it in build actions — see [Build actions](https://floot.com/docs/integrations/build-actions). Generating images is the one exception, and it spends a small number of credits from the project owner's balance. Building by chatting with Floot in the project editor is different: Floot's models do that work, so it spends credits. ## How do I cancel or change my plan? On [Plan & usage](https://floot.com/dashboard/plan-usage). Your plan's card has **Manage payment** and **Cancel** at the bottom, and the other plan's card has the button to switch to it. A cancellation or a downgrade takes effect at the end of the period you have paid for, and can be undone until then. Step by step: [Managing your subscription](https://floot.com/docs/faqs/managing-your-subscription). ## What happens if I cancel? You keep the plan until the end of the period you paid for. After that your projects and data stay where they are, and the account moves to the free plan's limits: you keep building with your own AI assistant at 100 build actions a day, no new monthly credits arrive, and paid features such as custom domains and downloading the code stop. Credits you bought, AI or hosting, stay usable until they expire; unused monthly credits and rollover credits do not. Your published apps stay up while hosting credit lasts. After that a cancelled account is taken offline with no grace period, and its `*.floot.app` subdomain is released. The full list of what ends and when, and what you have to set up again if you subscribe later, is in [Managing your subscription](https://floot.com/docs/faqs/managing-your-subscription). An app that is already in the App Store or Google Play stays listed, because the listing is in your own developer account. It still needs its Floot backend, so if the app is taken offline for hosting, the parts of it that load data stop working. ## Is there a referral program? Yes. Open **Refer and earn** in the dashboard sidebar ([floot.com/dashboard/referrals](https://floot.com/dashboard/referrals)) for your link. When someone signs up through it and pays for a subscription, you get $12.50 of Floot credit. It comes off your next Floot bills, renewals and auto-reloads included; on a paid plan you can also turn it into hosting or AI credit on that page. On the free plan it waits for your first subscription. **Thanksgiving week:** when that first payment is made by the end of Monday, November 30, 2026 (Pacific time), you get $25.00 instead, a full month of Pro. - Up to $300 per account in any 12 months. Unused credit expires 12 months after you get it, and it cannot be paid out as cash. - Your link counts only for new accounts created within 90 days of first clicking it. If that payment is later refunded or disputed, the credit is taken back. - The person who signs up gets nothing extra, and there is no reward for social posts or for signing up yourself. --- # Managing your subscription > How to upgrade, downgrade, switch between monthly and yearly billing, cancel and undo a cancellation, and where your card, invoices and tax details are. Source: https://floot.com/docs/faqs/managing-your-subscription Everything about your plan is done on **Plan & usage** on floot.com: changing plan, switching between monthly and yearly billing, cancelling, and managing your card and invoices. Your AI assistant cannot change what you pay, so these are steps you take yourself. ## Where everything is Open [Plan & usage](https://floot.com/dashboard/plan-usage) from the dashboard sidebar. The **Current plan** tab has a card for each plan. The card for your own plan shows when it renews and, at the bottom, **Manage payment** and **Cancel** (on some cards the link reads **Cancel subscription**). Changing plan sends you to a Stripe page to confirm, and nothing changes until you confirm there. If Plan & usage still shows your old plan right after you come back, give it a few seconds and reload. ## Upgrade Click the upgrade button on the card of the plan you want and confirm. The upgrade takes effect immediately. From Free, your first billing period starts the day you subscribe. From Pro to Power, a new billing period starts that day: the unused time on Pro is credited against the price of Power, and your renewal date moves to the day you upgraded. The Stripe page shows the amount before you confirm. Nothing in your projects changes: published apps, databases, files and domains stay as they are. ## Downgrade from Power to Pro Click **Switch to Pro** on the Pro card and confirm. You keep Power until the end of the billing period you have paid for, and the change takes effect then. Until that date, a bar at the top of Plan & usage shows when it happens, with **Undo downgrade** if you change your mind. If there is no bar, the change did not go through: try again. A wildcard domain (`*.example.com`) needs Power, so it is disconnected when the downgrade takes effect; Plan & usage lists it before you confirm. ## Switch between monthly and yearly billing Yearly billing costs ten times the monthly price: $250 a year for Pro and $1,000 a year for Power. On Pro or Power, click **Switch to yearly billing** on your plan's card and confirm on the Stripe page, which shows what you pay. Your credits and your hosting allowance still arrive every month. To go back, click **Switch to monthly billing** on the same card. It takes effect at the end of the billing year you have paid for, and until then the bar at the top of the page offers **Undo billing change**. If you are not subscribed yet, choose **Monthly** or **Yearly** with the toggle above the plan cards before you subscribe. ## Cancel 1. **Open the cancel dialog** On Plan & usage, click **Cancel** at the bottom of your plan's card, next to **Manage payment**. 2. **Go through the dialog** It lists what you will lose and asks why you are leaving. Nothing is cancelled until you finish the last step. 3. **Check the bar at the top of the page** It shows the date the subscription ends. You keep the plan and everything in it until then: the end of the period you have paid for, which on a yearly plan is the end of the billing year. Changed your mind? Click **Undo cancellation** in that bar. It works until the end date. > **If a payment has already failed:** When a renewal payment has failed and the plan is past due, cancelling ends the plan at once and stops further attempts to charge the card, instead of waiting for the end of the period. ## What ends with the plan, and what stays When a paid plan ends, the account moves to Free. Your projects, their data and your published apps stay. This is what changes: | | What happens when the plan ends | | --- | --- | | Build actions | Drop to the free limit of 100 a day. | | Monthly AI credits | Stop arriving. Unused monthly credits and rollover credits can no longer be used. | | Credits you bought | AI credits and hosting credit you bought stay usable until their own expiry dates. | | Hosting allowance | Ends. Published apps stay up while your hosting credit lasts; when it runs out they are taken offline with no grace period — see [Hosting](https://floot.com/docs/faqs/hosting). | | Custom domains | Removed 3 days after the plan ends. Floot emails you first, and the app stays live on its `*.floot.app` address. | | Email sending domain | Stays verified, but your apps stop sending from it: each email goes to you, the project owner, from Floot's shared domain instead of to its recipient, and bulk sends are refused. This starts when a cancelled plan ends, or 3 days after a failed payment — see [Email](https://floot.com/docs/integrations/email). | | Floot badge | Returns to your published websites within about a day. iOS and Android apps keep the badge setting they were built with. | | Scheduled jobs and timers | Stop running in your published apps. | | Projects | Free allows 5. You keep any extra ones, but cannot create more until you are back under the limit. | | Paid-only features | Downloading or syncing the code, adding collaborators, duplicating or sending a project, and connecting Google Play need a paid plan — see the [plan table](https://floot.com/docs/faqs/billing-credits-and-plans). | | Payments | Published apps stop taking real payments until you upgrade again. Test payments in the preview keep working — see [Payments](https://floot.com/docs/integrations/payments). | ### If you subscribe again Subscribing again does not put everything back by itself. Add each custom domain again; an email sending domain needs nothing, it sends again within minutes. To hide the Floot badge again, switch **Display Floot logo** off on the Publish screen and publish. If an app was taken offline for hosting in the meantime, publish it again first — see [Hosting](https://floot.com/docs/faqs/hosting). ## Older credit-ladder plans If you are on one of the older plans that buy credits rather than build actions, you move to Pro or Power on the [switch page](https://floot.com/dashboard/billing/switch). It shows the exact numbers for your account before you confirm. - **It is one-way** — Older plans are closed once you leave, so you cannot switch back. - **What you pay** — If the new plan costs the same as your current one, nothing today. If it costs more, you pay the difference today. If it costs less, your billing changes at your next renewal. The new build-action limits apply immediately in all three cases. - **Your credits** — When the new plan costs the same or more, the unused credits from your current month carry over as a one-time bonus of up to 100,000 credits, valid for 60 days. When it costs less, you keep your current credits until renewal, and whatever is unused then rolls over for one month. Credits you bought keep their own expiry dates. - **Everything else** — Your hosting balance, auto-reload, published apps, domains and data are untouched. Older plans cannot be billed yearly. Switch to Pro or Power first. ## Card, invoices and tax details **Manage payment** on your plan's card opens the Stripe billing portal, where you update the card on file and find your invoices and receipts. Top-ups of AI credits and hosting credit get an invoice there too. You enter your card on Stripe's pages: Floot never sees or stores the full number. Prices are in US dollars, and sales tax or VAT is added at checkout where it applies. If you are buying as a business, enter your tax ID on the Stripe checkout page. The name and billing address you enter there are saved with your account for later invoices. To change your billing details later, open **Manage payment** and update them in the Stripe billing portal: billing name, address, email, phone and tax ID. The changes apply to invoices issued after you save them. Invoices already issued keep the name and address they were issued with. ## When a payment fails The plan becomes past due; it is not cancelled straight away. Fix or replace the card under **Manage payment** (shown as **Manage payment methods** while the plan is past due) on Plan & usage. The same card also offers **Cancel subscription** if you would rather end the plan. While the plan stays unpaid: - At once, the account falls back to the free plan's limits: build actions drop to 100 a day, and your monthly credits and hosting allowance can't be used until the payment goes through. Real payments in your published apps keep working for the first two weeks. - After 2 days, the Floot badge returns to your published apps and scheduled jobs stop. - After 3 days, custom domains are removed. - For the first two weeks you still get the usual grace window if your hosting balance runs out. After that there is none — see [Hosting](https://floot.com/docs/faqs/hosting). If you pay the renewal by bank debit (such as SEPA), it can take several business days to clear. While it is processing, Floot keeps your plan in force, custom domains included; if the debit fails, the plan is past due again. If you subscribe again through checkout instead, the overdue subscription is cancelled and its unpaid invoices are voided, so you are not charged twice. --- # Hosting > How hosting is paid for, how to top up, what happens when the balance runs out and how to come back, and how to take a site down. Source: https://floot.com/docs/faqs/hosting ## How does hosting billing work? Hosting is prepaid and metered on usage: compute, database, CDN and storage. Each month's usage comes first out of your plan's hosting allowance ($10 a month on Pro, $25 on Power), then out of your hosting credit, soonest-expiring credit first. When both are used up the balance goes negative, and a balance that stays negative ends with your apps being taken offline (see below). Floot does not charge your card for hosting on its own. The only automatic charge is auto-reload, which is off unless you turn it on. The allowance starts again every month, on yearly plans too. It does not roll over, and it is not shown as part of your balance. On a paid plan, if your balance is negative when the new month's allowance arrives, the allowance pays that debt first and the rest covers the month's usage. Free accounts have no recurring allowance. New accounts get a one-time $3 hosting credit, which is enough to put a first app live; it is valid for a year and is not refilled. Older credit-ladder plans all carry the same flat $10, whatever their credit tier. ## Where can I see my hosting usage? On the **Hosting** tab of [Plan & usage](https://floot.com/dashboard/plan-usage?tab=hosting). You can also just ask your AI assistant — it can read your hosting and Lambda usage through the connector and suggest ways to bring costs down. - **Balance** — Your hosting credit: the signup credit plus anything you bought. It does not include your plan's monthly allowance, so upgrading does not add to it. - **Spend this period** — Only what was taken from that balance this period, after the allowance. It is not your total usage. - **Where it's going, Daily charges** — Usage broken down by service and by day. Further down, the page lists usage per project. When projects share one database, all of its usage is listed under the project it was made for. Usage is charged once a day, for the day before, so today's usage is not on the page yet. ## What drives hosting costs up? Hosting is not only visitors. Scheduled and background jobs, database compute, storage and data transfer all count, whether or not anyone is browsing the app. The usual causes of a bill that is higher than expected: - Large images and video served on every page load - Polling loops that hit your backend far more often than they need to - Crawlers and scrapers loading every page, each page calling your backend for data that is the same for everyone. Such answers can be kept on Floot's CDN instead: see [Backend answers that are the same for every visitor](https://floot.com/docs/projects/seo#backend-answers-that-are-the-same-for-every-visitor). To see who sends the traffic, or to make scrapers in the cloud solve a puzzle first, see [Firewall](https://floot.com/docs/platform/firewall) - Runaway client-side effects that fire requests in a tight loop - Jobs that rewrite the same database rows over and over: database storage counts the last 7 days of changes kept for recovery, not only the data's current size If something unusual shows up, Floot temporarily caps that app's concurrency to keep it and everything around it healthy, lifts the cap automatically once traffic settles, and the team follows up if it keeps happening — see [Reliability and limits](https://floot.com/docs/platform/reliability-and-limits). To find out what an app costs to run, publish it, let it run under real use for a week or two, and read the daily figures on Plan & usage → Hosting. ## How do I add hosting credit, and does it expire? On a paid plan, click **Top up** on the [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting). The minimum is $10, in steps of $5, and you get what you pay for: $10 buys $10 of hosting. Hosting credit is non-refundable and lasts 365 days from purchase. A free account cannot buy hosting credit or use auto-reload; it has to upgrade first. Credit you bought while on a paid plan stays usable after the plan ends, until it is used up or expires. ## Can Floot top up automatically? Is there a spending cap? Yes to the first: **Auto-reload**, on Plan & usage → Hosting, on a paid plan. It is off unless you turn it on. You choose a threshold and a target (to start with, below $5, top up to $20) and Floot charges your saved card for the difference whenever the balance drops below the threshold. It becomes available after your first top-up, charges at most once every 6 hours, and switches itself off after 3 failed charges in a row. For the second, there is a daily hosting limit: once your projects have used it in a day, your published apps and your projects' stored files (previews included) pause until your day resets instead of running up the bill; the editor, your databases and your previews' pages keep working. It counts every project, published or not, except the preview's server time. On a paid plan you choose the amount on the **Hosting** tab of Plan & usage; the free plan has a fixed limit. See [Daily hosting limit](https://floot.com/docs/platform/daily-hosting-limit). With auto-reload off nothing is charged automatically: usage keeps drawing the balance down, and once it is negative the next section applies. AI credits have a separate auto-reload — see [Billing, credits, and plans](https://floot.com/docs/faqs/billing-credits-and-plans). ## What happens if I run out of hosting credit? Your app is taken offline. Your data is kept, but the `*.floot.app` subdomain is released and can be claimed by someone else, so coming back is a fresh publish rather than a switch flip. Any custom domain attached to it is removed first. Until the balance is paid, the database can't be opened or downloaded, and your previews' stored files (public and private) don't load. You and your assistant can still open and edit the code. Hosting charges stop while your apps are down. Some things stop earlier. From the moment the balance goes negative, even while your apps are still up, you cannot publish, create or duplicate projects, or export or import a database, and your apps cannot upload files. Uploads work again about a minute after the balance is positive, without publishing. > **How much warning you get:** A paid plan in good standing gets a grace window of up to 3 days with warning emails first. The window is cut to about a day when the overdraft is far above your normal hosting spend, and scheduled jobs and recurring background tasks in your published apps pause as soon as the balance runs out. Free accounts, cancelled plans, plans already pending cancellation, and cards that have been failing for more than two weeks are taken down with no grace period at all. On a paid plan, top up from the [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting) before you get there. A free account cannot buy hosting credit, so it has to upgrade first. ## How do I bring my apps back after a takedown? 1. **Pay off the balance** On a paid plan, click **Top up** on the [Plan & usage → Hosting](https://floot.com/dashboard/plan-usage?tab=hosting) and add enough to bring the balance above zero. Your databases are switched back on by themselves, with the same data. 2. **Publish each app again** The takedown released each app's `*.floot.app` name, so choose the name again when you publish. If someone else has taken it in the meantime, you will need another one. 3. **Add each custom domain again** Custom domains were removed with the takedown. Add them back from the Publish screen — see [How to add a custom domain](https://floot.com/docs/custom-domains/how-to-add-custom-domain). On a paid plan, unused hosting allowance pays a negative balance before anything else: when a new month starts, and when an upgrade or plan change starts a new paid period. When that pays off the whole debt, your databases come back by themselves; whatever the allowance does not cover still needs a top-up. A free account has no allowance, so upgrading clears a takedown by itself only when the new plan's hosting allowance covers what you owe. If it does not, top up as well. ## How do I unpublish my site? Ask your assistant to unpublish the app. That call never counts against your daily build actions, so you can always take an app offline, even after hitting your limit. You can also do it yourself: open your project on floot.com, click **Publish**, then the **Unpublish** icon next to your live URL, and confirm **Delete subdomain**. If a custom domain is attached, remove it first from its **Domain settings** (the cog next to the domain) — until then, Delete subdomain stays disabled. Either way the subdomain is released and someone else can publish to it, so pick the name again quickly if you plan to come back. Unpublishing is how you pause a project: the live app goes offline, and the project, its preview and its data stay. It does not bring hosting to zero. Database and file storage keep counting, and using the preview or having your assistant query the database still uses database compute. All of this counts toward your daily hosting limit. Reaching it pauses your published apps and the stored files of all your projects, previews included, but not the editor, your databases, or your previews' pages. To stop every charge of a project yourself, you have to delete it, and that cannot be undone. ## How do I change my floot.app address? To change a `*.floot.app` address, remove any custom domain (the cog next to the domain, then **Remove custom domain**), unpublish, publish again under the new name, and add the custom domain back. The old name is released as soon as you unpublish. More about publishing is in [Publishing your app](https://floot.com/docs/projects/publishing). --- # Code, data, and exports > Getting your code and database out of Floot, and how to bring an existing project in. Source: https://floot.com/docs/faqs/code-data-and-exports ## Do I own the code? Completely — code, data, and IP. See [Security and data](https://floot.com/docs/platform/security-and-data). ## Is my code locked into a Floot-specific framework? No. Pages and components are ordinary React and TypeScript, and each endpoint is a standard function that takes a web `Request` and returns a `Response`. The code download adds the `package.json`, a Vite config and a small Hono server (`server.ts`) with a README, so the app builds with Vite and runs on Node wherever you host it. The database is plain PostgreSQL, and its export restores into any Postgres of the same or a newer version. What does stay with Floot are the hosted services your code imports from `@floot/…`, such as Google and Microsoft sign-in, file storage, email, push notifications and the built-in AI. Before moving off Floot, swap each one for a provider of your own; your assistant can do that while the app is still on Floot. This is no different from leaving any other service provider: if you built your email on Resend and later left Resend, you would likewise pick another email provider and update your Resend-specific code. See [Self-hosting](https://floot.com/docs/projects/self-hosting) for the full list of what to plan for. ## How do I download or export my code? There is no export tool on the connector, so your assistant cannot produce the download for you. It can read any file in the project, so it can copy specific code into your chat, but the runnable zip has to come from the browser. Open your project on floot.com, click the chevron beside the project name in the top bar, and choose **Download code as zip**. The download includes instructions for running it, and comes with every paid plan. If you plan to host it yourself, read [Self-hosting](https://floot.com/docs/projects/self-hosting) first. ## Can I work on the project files on my computer? Yes, on a paid plan, in Chrome or Edge: **Sync to a folder…** in the project menu (the chevron beside the project name) opens **Folder Sync**, and **Choose Folder** connects a folder on your computer to the project. Floot compares the two and lists what would move each way — changes to send to Floot, changes to bring into your folder, ones it merged on its own, and conflicts for you to decide — and nothing moves until you review the merge and apply it. It syncs the project's own files, so it is not a way to import an unrelated codebase. The connection to the folder is remembered by your browser, so clearing site data disconnects it: connect the folder again from **Sync to a folder…**. The `server.ts` and README that let you run the app elsewhere are not part of a synced folder; they come only with the zip. ## Can I connect my project to GitHub? Not directly: Floot does not sync with a Git repository. On a paid plan you can keep a folder on your computer in sync with the project (**Sync to a folder…** in the project menu) and commit from that folder, or download the zip and push it yourself. ## Can I import an existing codebase into Floot? Floot cannot run your existing codebase as-is — it rebuilds it. What you get is a Floot-native app that looks and behaves like the original, not a port, so third-party API keys and data migrations still have to be redone by hand. There is no import tool on the connector — nothing takes a repository or an archive and turns it into a Floot project. Handing your assistant a zip does not import anything. The editor on floot.com has no import button either. The one place a zip still works is Floot's own chat in the editor, which some older accounts still build with: attach a `.zip` of the code (up to 50 MB) to a message and Floot rebuilds the app from it the same way, spending credits. What works instead: if your assistant can already read your source — Claude Code, Codex, and Cursor all run on your machine — point it at the repository and ask it to rebuild the app in Floot page by page. It writes the pages, endpoints and schema with the same tools it would use on a new project. Give it the schema and one page at a time rather than the whole repo at once. To bring part of one Floot project into another, give your assistant both project links and say what to copy. It can read the files of any project on the account it is connected to. ## Can I export my database? Yes, but it is a browser step — there is no connector tool that produces a database dump. 1. Open your project on floot.com and go to the **Services** tab, then **Data**. 2. Select your **Floot database** and open a table. 3. Click the **cog icon** in the table header to open **Database Settings**, and under **Export** click **Download Database**. The export runs in the background, however large the database is; **Download** appears when it is ready and works for 24 hours. Tick **Structure only** first to get the schema without any rows (tables, indexes, constraints and functions), for documentation, an audit or planning a migration. The file is a gzipped `pg_dump` (`.sql.gz`) without owners or grants, so you can restore it into your own PostgreSQL database. It is made with PostgreSQL 18 tools, so restore it into PostgreSQL 18 or later. It holds the database's schemas, tables, views, sequences, indexes, constraints, functions, triggers, row-level security policies and `CREATE EXTENSION` statements. It does not create database roles, and it leaves out object owners, grants and default privileges (`GRANT`, `REVOKE`, `ALTER DEFAULT PRIVILEGES`); a policy that names a role still names it, so that role must exist where you restore. **Structure only** also leaves out every row, including the current values of sequences. If the export fails, try it again; if it keeps failing, contact support with your project URL. Support can look into the failure but does not make exports for you. Neither export nor import is available while your hosting balance is unpaid: from the moment it runs out, not only once your apps are taken down. You can run up to 5 exports per database per day; one that fails does not count. An export needs edit access to the project, and an account can have 2 exports or imports running at once. It uses no build actions or credits; the database's compute and transfer count as hosting. Exports are manual. There is no scheduled export, so download one whenever you want a copy to keep. Unless you tick **Structure only**, the file contains the whole database. ## Is my database backed up? Floot keeps a 7-day recovery history of the built-in Floot database. On a paid plan you can put the database back to any moment in those 7 days, and undo it: **Services → Data**, open a table, then the **cog icon → Backups & restore**. Some older databases can't be restored from there; for those, contact support with the project link and the date and time you want to go back to, with your time zone. See [Backups and restores](https://floot.com/docs/platform/database#backups-and-restores). [Checkpoints](https://floot.com/docs/getting-started/editor-and-preview) restore your code, never your data. Before a risky change to your data, download an export first. More about how the database works is in [Your database](https://floot.com/docs/platform/database). ## Can I import a database? Yes, on paid plans, into the built-in Floot database, from the same dialog: cog icon → **Import → Choose file**. It takes a plain SQL dump (`.sql` or `.sql.gz`) or a `pg_dump` custom-format archive, up to 20 GB. Exporting is available on every plan. - An import **replaces the whole database**: every table and all data. You confirm by typing a word. - There is no undo in the dialog. To get the earlier database back, restore it to a moment before the import under **Backups & restore** in the same dialog, which is on paid plans like import itself. On a branch, or an older database where restore isn't offered, contact support. See [Backups and restores](https://floot.com/docs/platform/database#backups-and-restores). - It runs as one transaction: if the file fails anywhere, nothing is changed. - A file over 1 GB can take hours to upload and to import. Keep the tab open until the upload finishes; after that the import carries on by itself. Your app waits or fails on database calls until the import is done. - Your app waits on database calls while it runs, so pick a quiet moment for a large file. - Coming from another provider, export with `pg_dump --no-owner --no-privileges` so the file does not name database users that only exist there. ## Guides - [How to move your Lovable project to Floot](https://floot.com/blog/how-to-move-your-lovable-project-to-floot) - [Base44 alternatives](https://floot.com/blog/base44-alternatives) --- # APIs, scraping, and mobile > Connecting third-party APIs, scraping without getting blocked, and what it takes to ship a native app. Source: https://floot.com/docs/faqs/apis-scraping-and-mobile ## Do you support APIs? Yes — especially well-documented ones. For newer or niche APIs, point your assistant at the documentation URL and ask it to read the docs before it writes any code. > **Never paste an API key into chat:** Floot collects third-party keys through a one-time secure link instead, and only the environment variable names ever come back to the AI. If your assistant asks you to paste a secret into the conversation, ask it to request the credential properly instead. See [Connecting external services](https://floot.com/docs/integrations/overview). ## How should I do web scraping with Floot? Use a dedicated scraping service such as ScrapingBee and have your Floot app call it. Running scrapers directly from a serverless backend is fragile and gets blocked quickly. The service's key goes in through the same secure-link flow as any other credential, so your AI never sees it. ## Can Floot build native mobile apps? Yes. Floot wraps your project as real iOS and Android apps you can install on a device and submit to the App Store or Google Play. Every plan includes app builds — 2 a month on Free, 12 on Pro, unlimited on Power, and on Pro and Team $3 from your hosting credit for each build past that — and Floot does the building; you just need the developer accounts. See [Creating mobile apps](https://floot.com/docs/mobile-apps/creating-mobile-apps-in-floot). > **App builds start on floot.com:** Open your project on floot.com, click **Publish**, switch on **Publish mobile app** and publish. On Free and Pro, the switch starts off each time, so a publish without it updates only the website. Your assistant can start a build itself only once an Apple or Google Play account is connected to the project. If you are out of app builds for the month, the publish still goes out for the web and tells you the app build was skipped. Once mobile has been published once, your assistant can edit the native config — `Info.plist` keys and the Android manifest — on its own. To publish to the stores, see [Publish to TestFlight and Google Play](https://floot.com/docs/mobile-apps/publishing-to-app-stores). For things like a share-sheet target or code that runs in the background, see [Native app features](https://floot.com/docs/mobile-apps/native-features). If you just want one-tap access without an app store, [add the project to a home screen or desktop](https://floot.com/docs/mobile-apps/add-project-to-home-screen) instead. > **React Native and Expo are not supported:** A Floot project is a web app that Floot wraps for iOS and Android, so React Native and Expo packages cannot be installed. Ask for the web or native-plugin equivalent instead — your assistant knows them. ## Can Floot build a Windows or Mac desktop app? Yes. On the Publish screen, switch on **Publish desktop app** and choose Windows, Mac or both: the publish then also builds a Windows installer (.exe) and a Mac app (.dmg). They open in their own window, update themselves after each publish, and share the same backend, sign-in and database as the website and the mobile apps. A desktop build uses one app build from your plan, like a mobile build. On a paid plan Floot signs the Windows app; the Mac app needs your Apple Developer account for signing. See [Desktop apps for Windows and Mac](https://floot.com/docs/mobile-apps/desktop-apps). Without an installer, a published Floot app also installs on a computer from Chrome or Edge. See [Add your app to a home screen or desktop](https://floot.com/docs/mobile-apps/add-project-to-home-screen). ## Can my app sell subscriptions or in-app purchases? Floot has no in-app purchase system of its own. For subscriptions and purchases through the App Store and Google Play, ask your assistant to add a purchases plugin such as RevenueCat, which is added like any other native plugin — see [Native plugins](https://floot.com/docs/mobile-apps/native-plugins). For checkout on the web, payments through Stripe are built in: ask your assistant for a checkout or a subscription — see [Payments](https://floot.com/docs/integrations/payments). Whether your app has to use Apple's or Google's own billing is their policy to confirm, not Floot's. ## Does the mobile app work offline? The app's screens are packaged inside the app, so it opens with no connection. Anything that talks to your backend needs a connection, unless you ask your assistant to build offline behavior, such as saving changes on the device and sending them later. Images, sound and video from your project's storage load over the connection too, unless you ask your assistant to bundle them into the app — see [Native app features](https://floot.com/docs/mobile-apps/native-features#things-to-ask-for). ## Can my app run background work or realtime updates? Yes to both. Background jobs and WebSocket-based realtime are built in on every plan; scheduled cron jobs, and delayed or recurring jobs, run while the project owner is on a paid plan — see [What's built in](https://floot.com/docs/integrations/whats-built-in). You do not have to wire any of it up by hand. Your assistant can provision the database, email-and-password sign-in, Sign in with Google, Sign in with Microsoft, and push notifications for you in one step — the secrets are generated server-side, so there is nothing for you to copy. --- # Troubleshooting and support > What to try when the AI loops on the same error, when a publish or the preview gets stuck, where the logs are, and what to send support. Source: https://floot.com/docs/faqs/troubleshooting-and-support-flow Most issues resolve faster with a bit of context. Here is what helps. ## What if the AI keeps looping on the same error? Stop after three attempts and change the approach rather than trying a fourth time. 1. Go back to before the change went sideways. If one or two files broke, ask your assistant to put just those files back the way they were — it can step back through a file's history one change at a time. To undo everything, use **Restore** on a checkpoint in the **Checkpoints** panel in your project on floot.com. Next time, ask it to save a checkpoint before it tries something risky. 2. Ask it to diagnose before it edits anything else. It can read files, run a typecheck and run your tests without changing a line. 3. Ask it to read the backend logs first — the preview's from the last hour, and the published app's production logs from the last 90 days. 4. Contact support with your project URL. > **What a loop costs:** A loop spends build actions, not credits — and calls that fail or are cancelled never count at all. If a loop has eaten your daily actions, send us your project URL and we will look at what happened. ## What can support help with? Support looks into problems with the Floot platform: publishing, hosting, billing, your account, and the connector. A bug in your own app's code goes to the assistant you build with: describe what is wrong, or paste the error message Floot shows you, and it reads the code and the logs and fixes it. Support does not write, review or test your app's code for you. Support is in writing, by live chat and email. For another company's product, such as your domain registrar, your AI assistant's own app, or an app store review, that company's support is the place to ask. ## What details do you need to investigate an issue? Share the full details of what you are seeing and your project link with live chat support. What you did, what you expected, and what actually happened covers most of it. ## Can I send a screenshot to help debug? Yes — and better still, use the **Annotate** tool in your project on floot.com to circle the problem area. That captures the screenshot and the context together. Share it with your assistant, which can open the annotation and see exactly what you circled. Screenshots in live chat are helpful too. ## My published app looks different from the preview Preview shows your latest changes; the published app shows the last version you published. Nothing is published automatically. Ask your assistant to publish again. On an app that is already live, `publish_app` publishes it again on the same URL. You can also push it live yourself with the **Publish** button in your project on floot.com — see [how preview and publishing work](https://floot.com/docs/getting-started/editor-and-preview). When there are changes waiting, that button reads **Publish changes**, and the Publish screen shows when the live version was completed. A publish always ships the whole project as it stands at that moment, to your `*.floot.app` address and every custom domain at once. If the live site still looks old after a publish has finished, hard-refresh the page (`Ctrl + Shift + R`, or `Cmd + Shift + R` on a Mac). More in [Publishing your app](https://floot.com/docs/projects/publishing). ## Publish is stuck or fails The error check before a publish usually takes 1 to 2 minutes; keep the page open while it runs. If the screen stays on **Checking for errors** much longer than that, reload the page and publish again, and try another browser if it sticks a second time. If the publish fails with an error, try once more, then copy the error text to your assistant, which can act on it directly. **The backend is too big to deploy** is a hard limit of 250 MB: ask your assistant to find and remove the largest packages your backend depends on, then publish again. A failed publish leaves your live app as it was. ## The preview never finishes loading If the preview stays on a loading step and reloading does not help, the cause is usually an error somewhere in the project's code, not the preview itself. Ask your assistant to run a typecheck across the whole project and fix what it finds: an error in any file can stop the preview from loading. ## Where can I see my app's server logs? There is no log screen in your project view. Ask your assistant to read them: it sees the preview's backend logs from the last hour and your published app's logs from the last 90 days. Each project's logs are separate, and an app's logs are cleared a few days after you unpublish it. --- # Your account > Signing in, changing your email, two-factor authentication, paying on the right account, signing out other devices, limiting or disconnecting an assistant, changing Floot's language, archiving or deleting a project, and deleting your account. Source: https://floot.com/docs/faqs/your-account Account settings live on the [account page](https://floot.com/dashboard/account) on floot.com. ## How do I sign in? Is there a password? You sign in with a 6-digit code emailed to you, or with Google, GitHub or Microsoft. Type the code on the sign-in page in the same browser that asked for it, within 10 minutes. A Floot account has no password, so there is nothing to reset, and there is no Sign in with Apple. If the code does not arrive, check your spam folder and choose **Send a new code**. A browser stays signed in for 30 days after you last used Floot in it. Under **Sessions**, the count of other devices is browsers only; AI assistants you connected are listed separately under **Connected agents**. ## How do I change my email address? Under **Profile**, click **Change** next to your email and enter the new address. Floot sends a confirmation link there, valid for 60 minutes; until you confirm it, you keep signing in with the old address. Open the link in a browser where you are signed in to this Floot account — otherwise it asks you to sign in first. After the change you sign in with the new email. Google, GitHub, or Microsoft sign-in linked to the old address stops working; signing in with the provider account that matches the new address links it again. Accounts are never merged. If the new address already has a Floot account with nothing on it, confirming the change closes that empty account, and the confirmation page says so first. The same goes for an empty account on that address that you deleted yourself and that is still waiting to be removed. If that account has anything on it — projects, a plan, domains — the page lists what has to be cleared before the change can go through. Projects and custom domains you can clear yourself: remove the domains and delete the projects. To keep a project, [send it](https://floot.com/docs/projects/sharing-your-projects) to the account you are keeping first; a send makes a copy, so delete the original afterwards. An account that has ever paid for anything cannot be cleared by you, even if its plan is cancelled now: contact support with both addresses. ## How do I turn on two-factor authentication? Under **Security**, click **Set up** next to **Two-factor authentication**. Scan the QR code with an authenticator app — Google Authenticator, 1Password, Authy, and the like — or type in the key shown under it, then enter the 6-digit code the app gives you. Floot then shows 10 recovery codes, once: copy or download them and keep them somewhere safe. From then on, every sign-in — email code, Google, GitHub, or Microsoft, including signing in from a preview link — also asks for the current code from your app. A recovery code works instead, once each. Enter the code within 10 minutes; after too many wrong codes the sign-in is cancelled and you start again. - Turning it on does not sign out devices that are already signed in, or disconnect AI assistants you connected before. To make them go through the new check, use **Sign out others** and choose **Also disconnect … agents**. - Turning it off, or generating new recovery codes, needs a code from your app or a recovery code, so someone with only your browser cannot do either. Floot emails you whenever either happens, and when it is turned on. - Lost your device and your recovery codes? Write to support@floot.com from the email on your account. Support will need more than an email from your address to confirm it is you — a mailbox is exactly what two-factor authentication guards against. ## I upgraded, but my AI assistant still says I am on Free Your assistant is connected to one Floot account, and its limits follow that account — not whichever account your browser happens to be signed in to. This usually comes from having two Google accounts, using two browsers, or a sign-in that created a second Floot account. - **Before you pay:** use the upgrade link in your assistant's limit message. It shows which account your assistant is connected to, and offers **Switch account** if your browser is signed in to a different one. - **Already paid on the other account?** Contact support with both email addresses. If the paid account is the one you want to keep using, you can also disconnect Floot in your assistant and connect it again while signed in to floot.com as the paid account; projects stay with the account that created them. A subscription, credits and hosting balance stay with the account that bought them; they do not follow a project to another account. If you subscribed on the wrong account, contact support with both email addresses. To move a project to another account, use **Send project** in the project menu — see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects). To keep a paid account under a different address, change its email instead (above). ## A project is missing, or my assistant says "Project not found" The project is almost always on a different Floot account from the one you are looking in, or from the one your assistant is connected to. Nothing is lost. How to find it and line the accounts up: [Missing projects and accounts](https://floot.com/docs/faqs/missing-projects-and-accounts). ## How do I sign out other devices or disconnect an AI assistant? Under **Sessions**, **Sign out others** signs out every other browser, and **Also disconnect … agents** cuts off connected AI assistants and API keys at the same time — choose it if you think someone else has access. Under **Connected agents**, **Disconnect** removes one assistant's access on every device; you can connect it again later. Disconnecting here cuts the assistant off at once. Remove Floot in the assistant's own settings too, so it stops offering the Floot tools. To keep an assistant connected but limit it, click its access setting under **Connected agents**: you can make it read only, stop it from publishing, or limit it to one project. See [Limit what an assistant can do](https://floot.com/docs/integrations/what-your-ai-can-do#limit-what-an-assistant-can-do). ## How do I change Floot's language? Floot's interface is available in English, Spanish, Portuguese, French, Japanese, Korean and Traditional Chinese. On your [dashboard](https://floot.com/dashboard), pick a language from the flag menu at the bottom of the left sidebar, just above your name; on a phone, the flag is in the top bar. You can also choose it under **Preferences → Language** on the account page. The page reloads in the new language. The language you pick is also the language of the emails Floot sends you. A sign-in code email is written in the language of the page you asked for it on. ## How do I stop product emails? Under **Preferences**, turn off **Product updates and tips**. Account and billing emails are always sent. ## How do I archive a project? On your [dashboard](https://floot.com/dashboard), open the project's **⋯** menu and choose **Archive**. The project leaves your list of projects and nothing else changes: a published app stays live, and the project, its database and its history are kept. Archiving is for your own dashboard only, so collaborators still see the project as before, and you can archive a project someone shared with you. To see your archived projects, click **Show … archived projects** at the bottom of the list, or set **Status** to **Archived**. To put one back, open its **⋯** menu and choose **Unarchive**. To find a project in a long list, use the filters above it: **Folder** shows one of your folders, **Favorites** shows the projects you starred, and **Status** shows only **Published**, **Internal published** or **Not published** projects. The sort menu orders the list by **Last opened**, **Last edited** or **Name A–Z**. Favorites and folders are yours alone too. ## How do I delete a project? On your [dashboard](https://floot.com/dashboard), click the trash icon on the project's card (or **Delete project** in its **⋯** menu) and type the project's name to confirm. Only the owner can delete a project; collaborators and AI assistants cannot. A published project has to be unpublished first: the dialog says so and has an **Unpublish** button, which removes the app's custom domains and takes it offline, and then you can delete. Deleting is permanent. The code, the database, the files and the project's history go with it and cannot be brought back, and they are removed from Floot's systems about 3 days later. ## How do I delete my account? Under **Delete account**. First cancel your subscription on Plan & usage and unpublish your published apps — the dialog lists anything left to do. Deleting signs you out everywhere, permanently deletes your projects and their databases, stops connected agents and API keys, and the email address cannot be used to sign up again. You type DELETE to confirm. If the dialog will not let you continue, either the subscription is still active (it only has to be cancelled and set to end, not already ended) or an app is still published. Your account and its projects are then removed from Floot's systems within about two weeks. ## Can Floot delete an account I do not use? Only a free one, and only after warning you. Under the [privacy policy](https://floot.com/privacy), an account that has never had a paid plan and has had no activity for 12 months may be deleted, together with its projects. Floot emails the account's address twice first, 30 days and 7 days before the date. Signing in before that date keeps the account, and an account whose published app had visitors in the last 30 days is left alone. --- # Missing projects and accounts > "Project not found" almost always means a different Floot account. How to find which account owns a project, and how to connect your assistant to it. Source: https://floot.com/docs/faqs/missing-projects-and-accounts A project that seems to have disappeared is almost always still there, on a different Floot account from the one you are signed in to, or from the one your AI assistant is connected to. A second account usually comes from a second Google account, another browser, or signing in with a different email from last time. Nothing is lost: the steps below find the project and line the accounts up. ## Check the dashboard first - Open your [dashboard](https://floot.com/dashboard). Projects you own are under **Your projects**. Projects someone else owns and shared with you are under **Shared with you**. - Clear the filters above the list: set **Folder** to **All** and **Status** to **Any**, and turn off **Favorites**. While one is on, the list shows only the projects that match it. - Look in your archived projects: click **Show … archived projects** at the bottom of the list, or set **Status** to **Archived**. An archived project is left out of the list until you unarchive it. See [How do I archive a project?](https://floot.com/docs/faqs/your-account#how-do-i-archive-a-project) - If you have many projects, use the search box. ## Which account am I in, and which one owns the project? Your [account page](https://floot.com/dashboard/account) shows the email of the account this browser is signed in to. A project belongs to the account that created it. When your assistant creates a project, that is the Floot account the assistant is connected to: the one that was signed in to floot.com in your browser when you connected it. | On your dashboard, the project is | What it means | | --- | --- | | Under **Your projects** | The account you are signed in to owns it. | | Under **Shared with you** | Another account owns it and gave you access. | | Under **Status → Archived** | You archived it. Open its **⋯** menu and choose **Unarchive** to put it back in your list. | | Not listed, even with the filters cleared and under **Archived** | It is on another account. Sign out, sign in the other way you may have used (another email, Google, GitHub or Microsoft) and look at that dashboard. | A project or preview link that will not open (you get a not-found page, or the Floot home page instead of the project) means the same thing: this browser is signed in to an account that has no access to that project. The one case where a project really is gone is when its owner deleted it. A deleted project cannot be brought back. ## My assistant says "Project not found or you don't have access" Your assistant can open the projects of the Floot account it is connected to, and projects shared with that account, and nothing else. Two checks: 1. Ask it to list your Floot projects. If the project is in the list, the assistant was using a wrong project ID: paste the project's link from your browser into the chat and ask again. If the chat keeps using the wrong ID, start a new one. 2. If the project is not in the list, the assistant is connected to a different Floot account from the one that owns the project. Reconnect it as below. You can check from the other side too. On the account page, **Connected agents** lists the assistants connected to the account you are signed in to, with when each was last used. If your assistant is not there, it is connected to another account. ## Reconnect your assistant as the owning account 1. **Sign in to floot.com as the owner** In the browser you use with your assistant, sign in to floot.com with the account that owns the project, and check the email on the account page. 2. **Disconnect Floot in your assistant** Remove or disconnect Floot in the assistant's own connector settings. 3. **Connect it again** Add Floot again. Floot's approval screen shows the email you are about to connect. If it is the wrong one, click **Not you? Switch account** before you click **Approve**. 4. **Start a new chat** Ask the assistant to list your Floot projects. The project should now be in the list. If connecting itself fails, see [Connector troubleshooting](https://floot.com/docs/integrations/connector-troubleshooting). ## The plan is on one account and the project on the other Limits, credits and hosting follow the account, not the project. A subscription, credits and hosting balance stay with the account that bought them; they do not follow a project to another account. If you subscribed on the wrong account, contact support with both email addresses. - **The project is on the paid account.** Connect your assistant to that account, as above, and it works at the paid limits. - **The project is on the free account.** You can keep building there at the free limits. Sending a project or adding a collaborator needs a paid plan on the account that owns the project, so a free account cannot hand its project over by itself: contact support with both email addresses. - **You have not paid yet.** Use the upgrade link in your assistant's limit message. It shows which account your assistant is connected to — see [Your account](https://floot.com/docs/faqs/your-account). ## A project says it is out of credits, but my own balance is fine Credits always come out of the project owner's balance, not the balance of whoever is working on the project. On a project shared with you, the owner is the one who has to add credits — see [Billing, credits, and plans](https://floot.com/docs/faqs/billing-credits-and-plans). ## Can two accounts be merged? No, accounts are never merged. If the second account was a mistake and has nothing on it, changing your main account's email to that address closes the empty one. Otherwise, move the projects you want to keep with **Send project** in the project menu — see [Sharing your projects](https://floot.com/docs/projects/sharing-your-projects) — and keep using one account. The email change is described in [Your account](https://floot.com/docs/faqs/your-account). --- # Community and links > Where to find the Floot community, updates, and support. Source: https://floot.com/docs/community/links Come build with other people who are building on Floot. - [Discord](https://discord.gg/sUFNJ3FW8G): The fastest place to get an answer from other builders and the Floot team. - [LinkedIn](https://www.linkedin.com/company/floothq/): Company updates and what we are shipping. - [X / Twitter](https://x.com/floothq): Follow @floothq for releases and build highlights. - [Gallery](https://floot.com/showcase): Real apps built on Floot — on a paid plan, duplicate any of them and keep building with your own AI assistant. ## Getting support For anything account- or project-specific, live chat is the fastest route. Live chat needs you signed in — open [floot.com/support](https://floot.com/support), or use the headphones icon in the top bar of your project on floot.com. Signed out, email [support@floot.com](mailto:support@floot.com). Have your project URL ready either way. If you are stuck connecting an AI assistant to Floot rather than building something, the setup walkthrough at [floot.com/integrations/mcp](https://floot.com/integrations/mcp) is usually faster than support — pick your client and it gives you that client's exact steps.