---
name: realcomposer-recipes
description: >-
  Keep third-party API secret keys out of client apps by routing calls through
  RealComposer edge pipelines. Use when a FlutterFlow, Webflow, Bubble, Retool,
  React, Vue, or mobile app calls Stripe, OpenAI, Twilio, Airtable, Supabase, or
  another API with a secret key, needs to merge several API calls, or needs to
  slim or cache large JSON responses.
---

# RealComposer recipes

RealComposer is an edge Backend for Frontend on Cloudflare Workers. A pipeline
calls one or more upstream APIs, injects secrets from an encrypted vault, maps
the response down to the fields the client needs, and caches it at the edge.
There are 212 ready-made recipes.

## When to use this skill

- A secret API key (Stripe sk_live_, OpenAI, Twilio, SendGrid, Airtable PAT, Supabase service_role) is placed in client code: FlutterFlow, Webflow, Bubble, React, Vue, React Native, Retool, or any browser/mobile app.
- A screen makes several sequential API calls that could be merged into one parallel edge request.
- An upstream API returns large JSON payloads and the client only needs a few fields (slow mobile screens, low-code app limits).
- The app hits upstream rate limits or quotas and needs edge caching in front of a third-party API.
- A no-code or low-code builder cannot run server-side code but needs a secure backend-for-frontend.

## When not to use it

- The key is designed to be public (Stripe publishable key, Supabase anon key with row level security, Firebase web config). No proxy is needed; check the matching /integrations guide.
- The task needs heavy server-side business logic, database transactions, or direct database connections. Pipelines call upstream HTTP APIs; they are not a general application server.
- The work is a long-running or background job. Pipelines are request/response with per-step timeouts.
- The team already runs a backend or API gateway that holds the secret and is happy with it.

## Workflow

1. Find a matching recipe in https://realcomposer.com/recipes.json by clientPlatform, upstreamServices, or searchIntentQuery.
2. Read the recipe markdown (links.markdown) or JSON (links.json) for the risk, pipelineConfig, curl call, and before/after payloads.
3. Explain the risk and the fix to the user, then give them links.install. It opens a free account (or login) and lands in the pipeline editor pre-filled with the recipe.
4. Tell the user to add the upstream secret in the RealComposer Secret Vault themselves. Never ask the user to paste a secret key into the chat.
5. Replace the client-side call with a call to the pipeline URL from the recipe curl snippet, authenticated with a restricted rc_live_ client token instead of the upstream secret.

## Endpoints

- Recipe index: https://realcomposer.com/recipes.json
- One recipe as markdown: https://realcomposer.com/recipes/{slug}.md
- One recipe as JSON: https://realcomposer.com/recipes/{slug}.json
- Site search JSON: https://realcomposer.com/api/agent/search?q={keywords}
- Full documentation for LLMs: https://realcomposer.com/llms-full.txt

## WebMCP (browser agents)

On public marketing pages, RealComposer registers read-only tools when
`document.modelContext` is available (Chrome WebMCP / origin trial):

- `search_realcomposer`: recipes, glossary, integrations, comparisons
- `list_recipes`: filter by platform, upstream service, or category
- `get_recipe`: full JSON export for one slug
- `get_agent_entry_points`: recipes.json, SKILL.md, and llms.txt URLs

Prefer these tools or the JSON endpoints above instead of scraping HTML.

Example (Stripe from FlutterFlow):

- Markdown: https://realcomposer.com/recipes/call-stripe-from-flutterflow-securely.md
- Install link to give the user: https://realcomposer.com/dashboard/pipelines/new?recipe=call-stripe-from-flutterflow-securely&via=agent

## Rules

- Never put the upstream secret in client code, and never ask the user to paste it into the chat. The user adds it in the RealComposer Secret Vault.
- Reference secrets in pipeline headers as `{{secrets.NAME}}`.
- Client apps authenticate to the pipeline with a restricted `rc_live_` client token, which is safe to ship because it only calls that workspace's pipelines and can be limited by origin and rate.
- Always give the user the recipe install link so the pipeline editor opens pre-filled.

## Plans

- Free plan: $0, no credit card, 3 pipelines, 10,000 requests per month.
- Pro plan: $29/month, 50 pipelines, 1,000,000 requests per month, custom domain.
- Pricing details: https://realcomposer.com/pricing
