Forma PDF

PDF generation, document data and API-key security

By WVSTECH · Reviewed November 23, 2026 · Examples target SDK 0.4.0

Normal Forma PDF generation runs in the browser using the supplied layout and values. It does not need an AI provider key. Your application decides whether to store templates, upload generated PDFs or enable optional AI template creation.

Separate three data flows

Personal and shared API keys

A personal BYOK flow can accept the user's key transiently for a request. Do not put shared company credentials into JavaScript bundles, public environment variables, database responses or example payloads. Protect a shared-key gateway with authentication, authorization, rate limits and request logging that omits credentials.

Authorization belongs to your app

Verify ownership when loading and saving templates. Treat supplied layout JSON as input and validate it before generation. A client-side license or hidden field is not an access-control system.

Images and retention

Use supported embedded PNG/JPEG data rather than assuming arbitrary remote image URLs will be fetched. Decide where uploads and exported files are retained in your application. Browser generation does not by itself make a deployment compliant with every privacy standard.

Read the site privacy notice, validation contracts and SDK integration guide.

Continue building

Try the visual editor View the SDK license