Platform Guide

Vercel Deployment

Deploy Static Forms on Vercel

Vercel is an excellent platform for deploying Next.js and other static sites. Static Forms integrates seamlessly with Vercel deployments.

Environment Variables

Add your API key in Vercel project settings:

1

Project Settings

Go to your project in Vercel dashboard → Settings → Environment Variables.

2

Add Variable

Add NEXT_PUBLIC_STATIC_FORMS_KEY (for Next.js) or STATIC_FORMS_KEY with your API key value.

3

Redeploy

Redeploy your application for changes to take effect.

Next.js Integration

Use environment variables in your Next.js app:

TypeScript