RealComposer
Client PlatformsOfficial Webflow docs

Webflow Safe & Unsafe Practices

Direct Answer

Webflow custom code and embed elements are published as public HTML and JavaScript. Any API key placed there is visible to visitors. Fetch dynamic data from an edge proxy that holds secrets, and keep Webflow site tokens for server-side CMS automation only.

Credentials & Where They Belong

Client safe
Keys in custom code embeds

Published to every visitor. Treat as public.

Server only
Webflow site API token

Edits CMS items and site settings.

Safe Practices

  • Fetch from a proxy in embeds

    Embeds should call your edge URL, not third-party APIs with secrets.

  • Cache dynamic sections

    Edge caching keeps marketing pages fast under traffic spikes.

Unsafe Practices

  • Pasting Airtable or OpenAI keys into an embed

    View source reveals them instantly.

  • Using the Webflow site token in client scripts

    Visitors could edit or delete CMS content.

The RealComposer Pattern

Drop a small fetch script into a Webflow embed that calls a cached RealComposer pipeline with allowed origins set to your Webflow domains.

START BUILDING FREE

Frequently Asked Questions

Q:Is Webflow custom code private?

No. It is published with the page HTML and can be read by anyone.

Security & Secret Vault

Call mailchimp api from webflow without exposing api key

RealComposer subscribes list members with API key injected server-side. For "call mailchimp api from webflow without exposing api key", store MAILCHIMP_BASIC_AUTH in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/call-mailchimp-from-webflow-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Fix cors error calling salesforce api from webflow

Edge OPTIONS and Allow-Origin for Salesforce REST proxy. For "fix cors error calling salesforce api from webflow", store SALESFORCE_ACCESS_TOKEN in Secret Vault, call https://{{secrets.SALESFORCE_INSTANCE}}.my.salesforce.com/services/data/v68.0/sobjects/Contact/{{query.contactId}} from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/fix-cors-error-salesforce-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Firebase rest api proxy for webflow site

Firestore REST reads via edge with service token vault injection. For "firebase rest api proxy for webflow site", store FIREBASE_ACCESS_TOKEN in Secret Vault, call https://firestore.googleapis.com/v1/projects/{{query.projectId}}/databases/(default)/documents/{{query.collection}}/{{query.docId}} from a Worker, and let Webflow hit only https://realcomposer.com/v1/workspace/firebase-rest-proxy-webflow with an rc_live_ client token.

Sub-10ms edgeView Recipe

Related Concepts