RealComposer
Client PlatformsOfficial Wix Velo docs

Wix Velo Safe & Unsafe Practices

Direct Answer

Wix Velo page and public code run in the visitor browser, while backend web modules run on Wix servers. Store API keys in the Secrets Manager, read them only in backend code, and set web method permissions so anonymous visitors cannot call privileged functions.

Credentials & Where They Belong

Client safe
Values in page or public code

Sent to every visitor. Treat as public.

Server only
Secrets Manager values

Readable only from backend code.

Safe Practices

  • Call third-party APIs from backend web modules

    Use wix-fetch in backend code with secrets loaded from the Secrets Manager.

  • Set web method permissions deliberately

    Restrict privileged backend functions to site members or admins instead of anyone.

Unsafe Practices

  • Using wix-fetch from page code with a secret header

    Page code runs in the browser, so the header appears in source and network traffic.

  • Exposing a backend method to anyone that proxies arbitrary URLs

    Visitors can abuse it to spend your quota or reach internal endpoints.

The RealComposer Pattern

Call a RealComposer pipeline from Velo page code with a client token and allowed origins set to your Wix domains, or from backend code for privileged flows. Upstream secrets stay in the vault.

START BUILDING FREE

Frequently Asked Questions

Q:Is Wix Velo page code private?

No. Page and public code run in the browser. Only backend code and the Secrets Manager stay server-side.

Wix Velo Recipes

Security & Secret Vault

Call Airtable API from Wix Velo Securely

Wix Velo page code runs in the visitor browser, so an Airtable token used with wix-fetch there is public. Call a RealComposer pipeline from page code with a client token, or from backend code. The edge injects AIRTABLE_PAT, enforces your Wix origins, and returns only the columns your repeater shows.

Sub-10ms edgeView Recipe
Edge Caching & Rate Limits

Cache a Weather API for a Wix Velo Site

Calling OpenWeather from Wix page code exposes the appid key and spends one call per visitor. A RealComposer pipeline keeps the key in the vault, caches results by location for ten minutes, and returns only temperature, condition, and icon for your Wix weather widget.

Sub-10ms edgeView Recipe

Related Concepts