# E-signatures and clickwrap for your stack

> Add e-signatures and clickwrap in your stack: Next.js, React, Node.js, Django, Rails, Laravel, Go and 30 more. Each page has code run on that stack.

Source: https://esigncomply.com/stacks

Stacks

Pick your language or framework and add e-signatures and clickwrap with code that was run on it. Esign Comply has a server package for Node.js, a browser SDK and React hooks. Every other language calls the REST API with plain HTTPS requests. Each stack page links to a quickstart that ends in a sealed test record.

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 stack 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

server.js (excerpt), from the Node.js quickstart

```js
// Step 4: create the session with the secret key. The browser gets the client token only.
if (req.method === "POST" && url.pathname === "/api/ceremony") {
  const { data: session, error } = await esc.sessions.create(
    {
      profile: process.env.ESIGNCOMPLY_PROFILE_ID,
      signer,
      documents: [
        { document: DOCUMENTS.terms, version: "current" },
        { document: DOCUMENTS.privacy, version: "current" },
      ],
      // The page that runs the ceremony: the origin the browser reports, plus its path.
      context: { url: `${req.headers.origin ?? url.origin}/signup`, locale: "en-US", purpose: "account_signup" },
    },
    { idempotencyKey: `signup-${signer.external_id}-${randomUUID()}` },
  );
  if (error) return json(res, 502, { error: error.code });
  pinned.set(signer.external_id, session.documents.map((d) => d.version_id));
  return json(res, 200, { clientToken: session.client_token, apiUrl: session.api_url, documents: session.documents });
```

[Node.js quickstart](https://esigncomply.com/docs/quickstart/nodejs)

37 stacks

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

Each stack has a landing page that shows how the integration is laid out there, and a quickstart with the code. The code was run on that stack before the page was published.

### JavaScript and TypeScript frameworks

- **Next.js**

  A Server Component creates the session, the React hooks run your form, a Route Handler confirms.

  [Esign Comply for Next.js](https://esigncomply.com/nextjs) · [Next.js quickstart](https://esigncomply.com/docs/quickstart/nextjs)

- **React**

  The hooks attach to your own checkbox and button. A small server holds the secret key.

  [Esign Comply for React](https://esigncomply.com/react) · [React quickstart](https://esigncomply.com/docs/quickstart/react)

- **Vue**

  The browser SDK attaches from onMounted to your own template. A small server holds the secret key.

  [Esign Comply for Vue](https://esigncomply.com/vue) · [Vue quickstart](https://esigncomply.com/docs/quickstart/vue)

- **Nuxt**

  Server routes hold the key, a sealed cookie holds the pinned versions, the page attaches in onMounted.

  [Esign Comply for Nuxt](https://esigncomply.com/nuxt) · [Nuxt quickstart](https://esigncomply.com/docs/quickstart/nuxt)

- **SvelteKit**

  +server routes hold the key from $app/env/private, and the page attaches the browser SDK in onMount.

  [Esign Comply for SvelteKit](https://esigncomply.com/sveltekit) · [SvelteKit quickstart](https://esigncomply.com/docs/quickstart/sveltekit)

- **Astro**

  On-demand endpoints hold the key from astro:env/server. The static page attaches the SDK in a client script.

  [Esign Comply for Astro](https://esigncomply.com/astro) · [Astro quickstart](https://esigncomply.com/docs/quickstart/astro)

- **Remix**

  A controller holds the key, a signed cookie session holds the pinned versions, a hydrated component runs the form.

  [Esign Comply for Remix](https://esigncomply.com/remix) · [Remix quickstart](https://esigncomply.com/docs/quickstart/remix)

- **Angular**

  The Express server of ng new --ssr holds the key, and a component attaches the browser SDK in afterNextRender.

  [Esign Comply for Angular](https://esigncomply.com/angular) · [Angular quickstart](https://esigncomply.com/docs/quickstart/angular)

- **SolidStart**

  API routes hold the key, a useSession cookie holds the pinned versions, the page attaches the browser SDK in onMount.

  [Esign Comply for SolidStart](https://esigncomply.com/solidstart) · [SolidStart quickstart](https://esigncomply.com/docs/quickstart/solidstart)

- **TanStack Start**

  Server routes hold the key in a .server.ts file, a server function loads the documents, the React hooks run the form.

  [Esign Comply for TanStack Start](https://esigncomply.com/tanstack-start) · [TanStack Start quickstart](https://esigncomply.com/docs/quickstart/tanstack-start)

- **Qwik**

  Qwik City endpoints hold the key, a visible task attaches the browser SDK, and the checkbox stays disabled until it does.

  [Esign Comply for Qwik](https://esigncomply.com/qwik) · [Qwik quickstart](https://esigncomply.com/docs/quickstart/qwik)

- **React Router**

  Framework mode: resource routes hold the key, a signed cookie session holds the pinned versions, the React hooks run the form.

  [Esign Comply for React Router](https://esigncomply.com/react-router) · [React Router quickstart](https://esigncomply.com/docs/quickstart/react-router)

### JavaScript runtimes and servers

- **Node.js**

  One server file with the esigncomply package, no framework and one dependency.

  [Esign Comply for Node.js](https://esigncomply.com/nodejs) · [Node.js quickstart](https://esigncomply.com/docs/quickstart/nodejs)

- **Express**

  Three routes and one middleware, with the browser SDK served from node_modules.

  [Esign Comply for Express](https://esigncomply.com/express) · [Express quickstart](https://esigncomply.com/docs/quickstart/express)

- **Hono**

  Three routes on Node.js through @hono/node-server, with the key read through env(c).

  [Esign Comply for Hono](https://esigncomply.com/hono) · [Hono quickstart](https://esigncomply.com/docs/quickstart/hono)

- **Fastify**

  Built-in JSON parsing and a schema on the confirm route. No body parser to add.

  [Esign Comply for Fastify](https://esigncomply.com/fastify) · [Fastify quickstart](https://esigncomply.com/docs/quickstart/fastify)

- **NestJS**

  One injectable provider holds the client and the key. A controller carries the routes.

  [Esign Comply for NestJS](https://esigncomply.com/nestjs) · [NestJS quickstart](https://esigncomply.com/docs/quickstart/nestjs)

- **Bun**

  Bun.serve routes in one TypeScript file, with the key read from .env by Bun itself.

  [Esign Comply for Bun](https://esigncomply.com/bun) · [Bun quickstart](https://esigncomply.com/docs/quickstart/bun)

- **Deno**

  One Deno.serve handler with the package from npm, started with --env-file and three permissions.

  [Esign Comply for Deno](https://esigncomply.com/deno) · [Deno quickstart](https://esigncomply.com/docs/quickstart/deno)

### Python

- **Python**

  No package: plain HTTPS calls with the standard library, and the browser SDK from a script tag.

  [Esign Comply for Python](https://esigncomply.com/python) · [Python quickstart](https://esigncomply.com/docs/quickstart/python)

- **FastAPI**

  Async path operations and one shared httpx.AsyncClient. No Python package.

  [Esign Comply for FastAPI](https://esigncomply.com/fastapi) · [FastAPI quickstart](https://esigncomply.com/docs/quickstart/fastapi)

- **Django**

  Four views, the Django session for the pinned versions, and the CSRF cookie on each POST.

  [Esign Comply for Django](https://esigncomply.com/django) · [Django quickstart](https://esigncomply.com/docs/quickstart/django)

- **Flask**

  Four routes with requests, the signed session cookie for the pinned versions, and a Jinja template.

  [Esign Comply for Flask](https://esigncomply.com/flask) · [Flask quickstart](https://esigncomply.com/docs/quickstart/flask)

### Ruby

- **Rails**

  One controller and one service method with Net::HTTP. The encrypted session cookie holds the pinned versions.

  [Esign Comply for Rails](https://esigncomply.com/rails) · [Rails quickstart](https://esigncomply.com/docs/quickstart/rails)

- **Sinatra**

  Four routes in one file with Net::HTTP. The encrypted cookie session holds the pinned versions, and no gem is added for the API.

  [Esign Comply for Sinatra](https://esigncomply.com/sinatra) · [Sinatra quickstart](https://esigncomply.com/docs/quickstart/sinatra)

- **Ruby**

  No framework and no gem for the API: Net::HTTP, one Rack app on Puma and a cookie signed with OpenSSL.

  [Esign Comply for Ruby](https://esigncomply.com/ruby) · [Ruby quickstart](https://esigncomply.com/docs/quickstart/ruby)

### PHP

- **Laravel**

  One controller, one config file and the Http facade. No Composer package, and the session holds the pinned versions.

  [Esign Comply for Laravel](https://esigncomply.com/laravel) · [Laravel quickstart](https://esigncomply.com/docs/quickstart/laravel)

- **PHP**

  No package and no framework: the curl extension, a front controller in public/ and PHP's own session.

  [Esign Comply for PHP](https://esigncomply.com/php) · [PHP quickstart](https://esigncomply.com/docs/quickstart/php)

- **Symfony**

  One controller, a scoped HttpClient with its own retry, the session and two Twig templates. No bundle.

  [Esign Comply for Symfony](https://esigncomply.com/symfony) · [Symfony quickstart](https://esigncomply.com/docs/quickstart/symfony)

### Other server languages

- **Go**

  One file with net/http and encoding/json. No module to add, and the page is compiled into the binary.

  [Esign Comply for Go](https://esigncomply.com/go) · [Go quickstart](https://esigncomply.com/docs/quickstart/go)

- **.NET**

  ASP.NET Core minimal APIs with HttpClient and System.Text.Json. Session state holds the pinned versions, and no NuGet package is added.

  [Esign Comply for .NET](https://esigncomply.com/dotnet) · [.NET quickstart](https://esigncomply.com/docs/quickstart/dotnet)

- **Spring Boot**

  One controller and a RestClient. Jackson records read the API's fields, and the HttpSession holds the pinned versions.

  [Esign Comply for Spring Boot](https://esigncomply.com/spring-boot) · [Spring Boot quickstart](https://esigncomply.com/docs/quickstart/spring-boot)

- **Rust**

  axum on tokio with reqwest and serde. A private cookie holds the pinned versions, and the page is compiled into the binary.

  [Esign Comply for Rust](https://esigncomply.com/rust) · [Rust quickstart](https://esigncomply.com/docs/quickstart/rust)

- **Java**

  No framework and no build tool: the JDK's HttpClient and HttpServer, a signed cookie and one jar for the JSON.

  [Esign Comply for Java](https://esigncomply.com/java) · [Java quickstart](https://esigncomply.com/docs/quickstart/java)

- **Kotlin**

  Ktor on both sides: its client and kotlinx.serialization call the API, and a signed session cookie holds the pinned versions.

  [Esign Comply for Kotlin](https://esigncomply.com/kotlin) · [Kotlin quickstart](https://esigncomply.com/docs/quickstart/kotlin)

- **Elixir**

  Plain Elixir with no Phoenix: a Plug router on Bandit, Req for the two calls, and a cookie signed by Plug.Session.

  [Esign Comply for Elixir](https://esigncomply.com/elixir) · [Elixir quickstart](https://esigncomply.com/docs/quickstart/elixir)

- **Phoenix**

  One controller, two HEEx templates and Req. The signed session cookie holds the pinned versions, behind the CSRF check.

  [Esign Comply for Phoenix](https://esigncomply.com/phoenix) · [Phoenix quickstart](https://esigncomply.com/docs/quickstart/phoenix)

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

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

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

Landing page

### How it fits your stack

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

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: [Next.js quickstart](https://esigncomply.com/docs/quickstart/nextjs).

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 in your stack

### Which languages have an Esign Comply SDK?

JavaScript and TypeScript. The server package `esigncomply` is written for Node.js, `@esigncomply/browser` runs in the browser, and `@esigncomply/react` adds hooks. Python, Ruby, PHP and Go call the REST API with their own HTTP client, and the stack pages show that call.

### What does every stack page have in common?

The same four steps. Your server creates a session with the secret key, the browser SDK attaches to the form you built, the signer acts, and your server confirms the record before it grants anything. The pages differ in where each step lives on that stack.

### Was the code on these pages run?

Yes. Each stack has a small project with the real framework, run against the API in test mode until the conformance check passed and the server confirmed a sealed record. The quickstart of each stack names the versions it was run on.

### My stack is not listed. Can I still use the API?

Yes. The API is plain HTTPS and JSON, so any language that can send a request with a header can create a session and read a record. The general quickstart shows the whole ceremony with curl.

### Is a signature recorded this way valid?

Yes. 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, whichever stack sends the two calls. The rules are applied by the API and the browser SDK, not by your framework.

[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.
