E-Signature with Lovable

Add legally binding e-signatures to your Lovable app with ready-made prompts for embedded signing, the template builder and webhooks.

Embedded signing

Let users sign inside your app

The fastest path to a signature. Your backend creates a submission, DocuSeal returns an embed_src for that one signer, and the form renders in place. No redirect, no email round-trip.

  • The API key stays on the server, never in the browser
  • The submitter carries the name and email, so fields arrive prefilled
  • No signature request email, the signer never leaves your app

Prompt for Lovable

Add DocuSeal (https://www.docuseal.com) embedded signing so a user can sign a document without leaving my app. Build it the way the rest of this project is built.

Read the reference before you write any code. It is plain Markdown and it is current:
- https://www.docuseal.com/docs/api.md covers authentication, creating a submission and what comes back.
- https://www.docuseal.com/docs/embedded/form/react.md covers the signing form component itself, with every attribute and callback.
- https://www.docuseal.com/llms.txt indexes the rest of the site. Any page works as Markdown by adding .md to its URL.

Two things the docs cannot answer, so ask me:
- Which document gets signed, and where in the app signing starts from.
- Where this project keeps server-side secrets. My DocuSeal API key goes there and must never reach the browser, so every call to the API happens on the server.

When you are done, tell me anything you could not confirm from the docs.
Setup

Get started in three steps

1

Create a free account

Sign up at docuseal.com, upload one PDF, place the fields, and note the template id you'll sign against.

2

Copy your API token

Open the API page in your console and copy the key. Lovable will ask for it and store it as a Supabase secret.

3

Paste a prompt

Drop the embedded signing prompt into Lovable's chat, hit send, and sign your first document in the preview.

The whole UI in one component

The React component implements the entire signing UI integration. Set src to a template link when anyone can sign, or to the per-signer link the API returns for a submission. The same component ships for Vue, Angular and plain JavaScript, and every signer gets a mobile-optimized form in 14 languages.

React
import React from "react"
import { DocusealForm } from '@docuseal/react'

export function App() {
  return (
    <div className="app">
      <DocusealForm
        src="https://docuseal.com/d/LEVGR9rhZYf86M"
        email="signer@example.com"
        onComplete={(data) => console.log(data)}
      />
    </div>
  );
}
Overview

Signatures your legal and ops team approve

Legally binding

Aligned with the ESIGN Act and UETA in the US and eIDAS in the EU. Every completed submission carries a time-stamped audit log PDF.

Priced per document

The API and embedded signing are billed per completed document on top of your plan. Signers never need an account or a seat of their own.

Secure and compliant

DocuSeal Cloud is SOC 2 and ISO 27001 certified, HIPAA and GDPR compliant, with EU data residency for customers on docuseal.eu.

Webhooks and API

A full REST API, with eleven webhook events across forms, submissions and templates to keep your app in sync.

Signs on any device

Typed, drawn or uploaded signatures, mobile-optimized, with signing available in 14 languages.

Your branding

Pass your own logo and custom CSS to the embedded form, so signing looks like the rest of your app.

Frequently Asked Questions

Do I need a paid plan?

Yes. Embedded signing, the embedded builder and webhooks are all Pro features, and documents signed through the API or the embed are $0.20 per completion on top of the plan. Full pricing.

Where does the API key live?

On your server, never in the browser. Each prompt says so and tells the agent to use whatever this project already keeps secrets in, which in a Lovable app is a Supabase secret read from an edge function.

Which template do the prompts sign?

Whichever template id you pass in. Upload one PDF in DocuSeal first, then hand Lovable that id, or run the template builder prompt and let your team create their own. Pass the role name your template uses.

What if the prompt drifts?

Paste it again with the file it should fix and ask the agent to re-read the reference page that prompt links. Most drift is an agent working from memory instead of the docs.

Ship e-signature today

Create your API key, paste the embedded signing prompt into Lovable, and the agent implements the integration from our documentation.