RealComposer
Upstream API

Anthropic Integration Recipes

Edge pipelines that call Anthropic securely from no-code and frontend clients - with vault-injected credentials and slim JSON responses.

Anthropic safe & unsafe practices
Security & Secret Vault

Anthropic api proxy for flutterflow chat app

Mirrors OpenAI pattern: Messages API with Anthropic key injected at edge. For "anthropic api proxy for flutterflow chat app", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let FlutterFlow hit only https://realcomposer.com/v1/workspace/anthropic-api-proxy-flutterflow with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Security & Secret Vault

Hide anthropic api key in nextjs chat interface

Next.js client chat UI calls edge stream; Anthropic never touches browser. For "hide anthropic api key in nextjs chat interface", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Next.js / React hit only https://realcomposer.com/v1/workspace/hide-anthropic-api-key-nextjs with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Combine anthropic claude with openai fallback router

Primary Anthropic Messages step plus OpenAI fallback step in one pipeline. For "combine anthropic claude with openai fallback router", store ANTHROPIC_API_KEY, OPENAI_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/combine-anthropic-with-openai-fallback with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe

Combine anthropic with supabase vector rag search

Anthropic completion plus Supabase vector match results composed at edge. For "combine anthropic with supabase vector rag search", store ANTHROPIC_API_KEY, SUPABASE_SERVICE_ROLE_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Next.js / React hit only https://realcomposer.com/v1/workspace/combine-anthropic-supabase-vector-rag with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe

Anthropic messages api response slim for chat ui

Map content blocks and stop reason; drop billing debug fields. For "anthropic messages api response slim for chat ui", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Next.js / React hit only https://realcomposer.com/v1/workspace/slim-anthropic-messages-response-chat with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe

Anthropic streaming api payload slim edge proxy

Edge strips rate limit headers and debug from streamed JSON chunks. For "anthropic streaming api payload slim edge proxy", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/slim-anthropic-streaming-payload-edge with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache anthropic api for repeated prompt previews

Short TTL cache on identical preview completions (non-production). For "cache anthropic api for repeated prompt previews", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/cache-anthropic-api-prompt-previews with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Platforms & Frameworks

How to call anthropic api from framer without cors

Framer fetch to RealComposer with streaming-friendly headers. For "how to call anthropic api from framer without cors", store ANTHROPIC_API_KEY in Secret Vault, call https://api.anthropic.com/v1/messages from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/anthropic-api-framer-without-cors with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Security & Secret Vault

Hide Anthropic API Key in an Expo App

EXPO_PUBLIC_ variables and app config extra fields are inlined into every Expo build and EAS Update bundle, so an Anthropic key placed there is public. Call a RealComposer pipeline instead: it injects ANTHROPIC_API_KEY as the x-api-key header at the edge and returns just the reply text.

Sub-10ms edgeView Recipe