# E-signatures and clickwrap on your platform

> Add e-signatures and clickwrap on Vercel, Supabase, Netlify, AWS Lambda, Cloudflare, Railway and 10 more platforms: where the key and the session go.

Source: https://esigncomply.com/platforms

Platforms

Pick the platform your app runs on and see where each part of an e-signature or clickwrap flow goes: the secret key, the function that creates the session, the confirmation and the receipt. Esign Comply works on any platform that can keep one secret on a server. Each page links to a quickstart with tested code.

Follow the setup and each signature is a valid electronic signature under the U.S. ESIGN Act, state UETA laws and New York's ESRA, on every platform listed here.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/quickstart)

`npm install esigncomply @esigncomply/browser`

Free plan: 10 live signatures a month and a full test mode. No card required.

Last updated November 26, 2026

netlify/functions/confirm.mjs, from the Netlify quickstart

```js
// netlify/functions/confirm.mjs
import { ceremonies, esc, SEALED, signer } from "../lib/esigncomply.mjs";

// Step 6: confirm the record with the secret key before the account exists.
export default async (req, context) => {
  const { recordId } = await req.json();
  const { data: record, error } = await esc.records.get(String(recordId));
  const expected = await ceremonies().get(signer.external_id, { type: "json" });
  const confirmed =
    !error &&
    expected !== null &&
    SEALED.includes(record.status) &&
    // Only the production deploy holds the live key and accepts live records.
    record.livemode === (context.deploy.context === "production") &&
    record.signer.external_id === signer.external_id &&
    JSON.stringify(record.documents.map((d) => d.version_id).sort()) === JSON.stringify(expected);
  console.log(confirmed ? `confirmed ${record.id} (${record.status})` : "refused");
  if (!confirmed) return Response.json({ confirmed: false }, { status: 409 });
  // Only now create the account, and store record.id and record.receipt with it.
  return Response.json({ confirmed: true, recordId: record.id });
};

export const config = { path: "/api/signup/confirm", method: "POST" };
```

[Netlify quickstart](https://esigncomply.com/docs/quickstart/netlify)

17 platforms

## Which platforms does Esign Comply have a page and a quickstart for?

Each platform has a landing page that says where the key, the session and the receipt go, and a quickstart with the code. The code was run on the platform's own local tooling before the page was published.

### Hosting and serverless

- **Vercel**

  The test key in Preview and Development, the live key in Production, and VERCEL_ENV in the confirmation.

  [Esign Comply on Vercel](https://esigncomply.com/vercel) · [Vercel quickstart](https://esigncomply.com/docs/quickstart/vercel)

- **Cloudflare Workers**

  A Worker secret, the esigncomply package in the fetch handler, static assets and a D1 table.

  [Esign Comply on Cloudflare Workers](https://esigncomply.com/cloudflare-workers) · [Cloudflare Workers quickstart](https://esigncomply.com/docs/quickstart/cloudflare-workers)

- **Netlify**

  Netlify Functions hold the key, each deploy context gets its own value, and Netlify Blobs keeps the pinned state.

  [Esign Comply on Netlify](https://esigncomply.com/netlify) · [Netlify quickstart](https://esigncomply.com/docs/quickstart/netlify)

- **AWS Lambda**

  A Node.js handler as an ES module, the key as a function variable, and a DynamoDB table for the receipt.

  [Esign Comply on AWS Lambda](https://esigncomply.com/aws-lambda) · [AWS Lambda quickstart](https://esigncomply.com/docs/quickstart/aws-lambda)

- **Cloudflare Pages**

  Pages Functions hold the key, one test origin covers every preview, and a D1 table keeps the receipt.

  [Esign Comply on Cloudflare Pages](https://esigncomply.com/cloudflare-pages) · [Cloudflare Pages quickstart](https://esigncomply.com/docs/quickstart/cloudflare-pages)

- **Deno Deploy**

  A secret variable per context, DENO_TIMELINE in the confirmation, and Deno KV for the pinned state.

  [Esign Comply on Deno Deploy](https://esigncomply.com/deno-deploy) · [Deno Deploy quickstart](https://esigncomply.com/docs/quickstart/deno-deploy)

- **Railway**

  A Node.js service with the key in a sealed variable, and Railway Postgres for the receipt on every replica.

  [Esign Comply on Railway](https://esigncomply.com/railway) · [Railway quickstart](https://esigncomply.com/docs/quickstart/railway)

- **Render**

  A Node.js web service, a render.yaml Blueprint that asks for the key, and Render Postgres for the receipt.

  [Esign Comply on Render](https://esigncomply.com/render) · [Render quickstart](https://esigncomply.com/docs/quickstart/render)

- **Fly.io**

  A Node.js image with Node as its main process, the key in fly secrets, and Managed Postgres for both Machines.

  [Esign Comply on Fly.io](https://esigncomply.com/fly-io) · [Fly.io quickstart](https://esigncomply.com/docs/quickstart/fly-io)

- **Google Cloud Run**

  A Node.js service built by Google's buildpacks, the key from Secret Manager, and Cloud SQL on a Unix socket.

  [Esign Comply on Google Cloud Run](https://esigncomply.com/google-cloud-run) · [Google Cloud Run quickstart](https://esigncomply.com/docs/quickstart/google-cloud-run)

- **Heroku**

  A Node.js web dyno with the key in a config var, a release phase command for the table, and Heroku Postgres for the receipt.

  [Esign Comply on Heroku](https://esigncomply.com/heroku) · [Heroku quickstart](https://esigncomply.com/docs/quickstart/heroku)

- **Azure Functions**

  Node.js functions on the v4 model, the key as an application setting, and a table in Azure Table Storage for the receipt.

  [Esign Comply on Azure Functions](https://esigncomply.com/azure-functions) · [Azure Functions quickstart](https://esigncomply.com/docs/quickstart/azure-functions)

- **DigitalOcean App Platform**

  A Node.js service with the key as an encrypted variable of the app spec, a job before each deployment for the table, and a managed PostgreSQL database for the receipt.

  [Esign Comply on DigitalOcean App Platform](https://esigncomply.com/digitalocean-app-platform) · [DigitalOcean App Platform quickstart](https://esigncomply.com/docs/quickstart/digitalocean-app-platform)

### Backend and database

- **Supabase**

  Two Edge Functions hold the key, and a Postgres table with row level security keeps the receipt.

  [Esign Comply on Supabase](https://esigncomply.com/supabase) · [Supabase quickstart](https://esigncomply.com/docs/quickstart/supabase)

- **Turso**

  A Node.js server keeps the pinned versions and the receipt in a Turso database through @libsql/client, with the URL and the auth token as two secrets.

  [Esign Comply on Turso](https://esigncomply.com/turso) · [Turso quickstart](https://esigncomply.com/docs/quickstart/turso)

- **PocketBase**

  Hooks in pb_hooks call the REST API with $http.send, the key stays in the environment of the binary, and a collection with locked API rules keeps the receipt.

  [Esign Comply on PocketBase](https://esigncomply.com/pocketbase) · [PocketBase quickstart](https://esigncomply.com/docs/quickstart/pocketbase)

### Authentication

- **Better Auth**

  Better Auth's own sign-up route carries the record ID. A request hook confirms the record, and a database hook writes the receipt to the user row.

  [Esign Comply on Better Auth](https://esigncomply.com/better-auth) · [Better Auth quickstart](https://esigncomply.com/docs/quickstart/better-auth)

[E-signatures by stack](https://esigncomply.com/stacks) · [The general quickstart](https://esigncomply.com/docs/quickstart) · [Pages for each AI coding tool](https://esigncomply.com/build)

## What is on a platform page, a quickstart and a long guide?

One platform can have three pages. Each has a job of its own, and they link to each other.

Landing page

### Where each part goes

Short. It shows the tested code, where each part lives, the things that go wrong on that platform, and a prompt for your AI coding tool. Example: [Vercel](https://esigncomply.com/vercel).

Docs quickstart

### From install to a sealed test record

Step by step: install, set the key, register a document, create the session, attach the browser SDK, confirm on the server, run the conformance check, go live. Example: [Vercel quickstart](https://esigncomply.com/docs/quickstart/vercel).

Long guide

### One whole flow, file by file

A full worked build with the database table, the webhook and the re-acceptance gate. 5 exist today: [stack guides](https://esigncomply.com/guides).

Not for

## Who is Esign Comply for, and who should use a send-a-PDF tool instead?

Esign Comply is for developers who build the signing or acceptance screen themselves, in their own app, often with an AI coding tool: a signup clickwrap, checkout terms, an NDA, or a whole signing product of their own. You build the interface and Esign Comply keeps the independent record.

If you want to upload a PDF and send it for signature today without writing any code, use a hosted send-a-PDF tool. Esign Comply has no hosted signing page: every screen a signer sees is one you build. Some documents cannot be signed through the API at all, such as wills, family-law documents, court documents and documents that need a notary. [Supported and blocked document types](https://esigncomply.com/compliance/not-covered)

## Questions about Esign Comply on your platform

### Which platforms have a page?

Vercel, Supabase, Cloudflare Workers, Netlify, AWS Lambda, Cloudflare Pages, Deno Deploy, Railway, Render, Fly.io, Google Cloud Run, Heroku, Azure Functions, DigitalOcean App Platform, Turso, PocketBase and Better Auth so far. Each page names where the secret key is stored, which function creates the session, and where the receipt is kept on that platform, with code that was run for that platform before the page was published.

### What does a platform need for Esign Comply to work on it?

One place to keep a secret on a server. Creating a session and confirming a record both use the secret key, so they run in a function, a Worker or a server route, never in the browser. A platform with no server-side step cannot hold the key.

### How does test mode work on preview deployments?

A test key works on `localhost` with no setup. A preview deployment runs on another host, which a test key refuses until you list that exact host under Domains as a test origin. Previews keep the test key, and production alone holds the live key.

### Where is the receipt kept?

In your own storage, beside the user: a Postgres table on Supabase, Railway, Render, Fly.io, Heroku and DigitalOcean App Platform, Cloud SQL on Google Cloud Run, a D1 table on Cloudflare, a DynamoDB table on AWS Lambda, Azure Table Storage on Azure Functions, Deno KV on Deno Deploy, a Turso database, a PocketBase collection, the user row with Better Auth. Esign Comply keeps the sealed record itself, and the receipt is the signed token that names it.

### Has the code been run on the hosted platforms?

Not yet. Each page's code was run locally against the API in test mode: on the platform's local runtime, in the image its own builder makes, or started the way its configuration file says. The platform settings were read from the platform's own documentation on the day each page names. Each page says what only a deployment proves.

[E-signature API](https://esigncomply.com/sign) · [Clickwrap API](https://esigncomply.com/clickwrap) · [Stack guides with working code](https://esigncomply.com/guides) · [API reference](https://esigncomply.com/docs/api)

## Build the signing flow yourself. Leave the record to us.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/quickstart)

Free plan: 10 live signatures a month and a full test mode. No card required.

---

Every page on esigncomply.com has a Markdown version at the same URL plus `.md` (the home page is `https://esigncomply.com/index.md`). https://esigncomply.com/llms.txt lists them.

---

Esign Comply is the e-signature API and clickwrap API for developers who build their own signing flow in their own UI: it supplies the ceremony rules as a generated prompt for AI coding tools, records events in direct browser ceremonies, and seals independent, verifiable evidence.
