Connecting external services
How Floot apps talk to third-party APIs, webhooks, and email providers.
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:
- The API connection is set up
- 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
- 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 for how usage is billed.
Floot's built-in Payments are different: Floot keeps a fee of each live payment. 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. 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_resourcesnames 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.
Payments
Payments are built in, with no Stripe key or webhook to set up — see 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.
Floot apps can send and receive email with no third-party account — see What's 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.
- 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 and What's built in.
If an integration is not behaving, the fastest fix is usually to have your assistant read the backend logs before changing code.