Developer Guide

How to Add E-Signatures with Cursor

To add e-signatures with Cursor: install the TurboDocx Quickstart Skill (npx skills add TurboDocx/quickstart), add your API key to .env, then ask Cursor to “add TurboSign e-signatures to my app.” The agent writes the integration for you.

The fastest way to vibecode an e-signature flow inside the AI-first editor. One skill, one prompt, and a runnable TurboSign integration in your Node, Python, Go, PHP, or Java project.

5 min

One prompt to working code

Any stack

TS, Python, Go, PHP, Java

MIT

Open-source skill

1

Install the TurboDocx Quickstart Skill

From your project directory, run the open-source skills CLI. It clones the skill and writes it to .cursor/skills/, where Cursor picks it up automatically.

terminal
npx skills add TurboDocx/quickstart

Pick your skills: the CLI prompts you to choose turbodocx-sdk (e-signatures) and/or @turbodocx/html-to-docx (HTML → Word). For e-signatures, select turbodocx-sdk. Requires Node.js 18+ to run the installer.

2

Add Your API Key

The skill reads your API key from an environment variable, and it never hardcodes secrets. Grab your credentials from the dashboard and drop them into .env.

  1. Sign up for a free account at TurboDocx (5 signatures/month free)
  2. Navigate to Settings → API Keys
  3. Copy your API Key and Organization ID
.env
TURBODOCX_API_KEY=your_api_key_here
TURBODOCX_ORG_ID=your_org_id_here
TURBODOCX_SENDER_EMAIL=you@company.com
TURBODOCX_SENDER_NAME=Your Company Name

No key yet? Tell Cursor you don't have one, and the skill walks the agent through prompting you to sign up and paste the key into .env.

3

Prompt Cursor

Open Cursor's agent and describe what you want in plain English. It invokes the turbodocx-sdk skill, detects your language and framework, installs the matching SDK, and writes a runnable integration.

Add TurboSign e-signatures to my Next.js app

Send this contract PDF for signature when a deal closes

Add a /signatures/:id/download endpoint that returns the signed PDF

Wire up a webhook so I get notified when a document is signed

cursor agent
> Add TurboSign e-signatures to my Next.js app

# Cursor:
  • Invoking skill turbodocx-sdk
  • Detected: Next.js (package.json)
  • Installing @turbodocx/sdk…
  • Reading credentials from .env
  • Wrote lib/turbosign.ts (integration module)
  • Wrote app/api/sign/route.ts (runnable example)
  ✓ Run: npm run dev → POST /api/sign

Tip: review the diff in Cursor like any change. The skill generates a self-contained module plus an example you can run immediately.

4

Run It and Send Your First Signature

Run the example the agent generated. Your recipient receives an email with a link to sign, and TurboSign handles delivery, signature collection, and a legally-binding audit trail. Ask Cursor to add a webhook handler so your app reacts when the document is completed.

What the generated integration handles:

  • Authentication and document delivery
  • Multiple recipients with sequential signing order
  • Signature, initials, date, and text fields
  • Webhooks for real-time completion events and audit trails

Related Guides

Resources

Frequently Asked Questions

How do I add e-signatures with Cursor?

Install the TurboDocx Quickstart Skill (npx skills add TurboDocx/quickstart), add your API key to .env, then ask Cursor to “add TurboSign e-signatures to my app.” The agent detects your language and framework, installs the right SDK, and writes a working integration.

Where does the skill install in Cursor?

The skills CLI writes the skill to the .cursor/skills/ directory in your project, where Cursor picks it up automatically. You can then invoke it by name or just describe what you want.

Can I vibecode an e-signature flow in Cursor without reading the docs?

Yes. The Quickstart Skill teaches Cursor how TurboSign works, so you describe what you want in plain English and the agent writes the integration code. You review and run it.

Which languages does the skill support?

The turbodocx-sdk skill detects TypeScript/JavaScript, Python, Go, PHP, or Java from your manifest files and installs the matching SDK.

One Prompt Away from Shipping

Install the Quickstart Skill, open Cursor, and tell it what you want to build. Your first 5 signatures every month are free.