Skip to content
Platforms

E-signatures and clickwrap on your platform

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.

$npm install esigncomply @esigncomply/browser

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

Last updated

netlify/functions/confirm.mjs, from the Netlify quickstart
// 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
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

Backend and database

Authentication

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.

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.

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.

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

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.

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

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

Working with an AI tool? This page is also available as Markdown: /platforms.md