documenso-hello-world

Featured

Create a minimal working Documenso example. Use when starting a new Documenso integration, testing your setup, or learning basic document signing patterns. Trigger with phrases like "documenso hello world", "documenso example", "documenso quick start", "simple documenso code", "first document".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Documenso Hello World ## Overview Minimal working example that creates a document, adds a recipient with a signature field, and sends it for signing — all in one script. Uses the Documenso TypeScript SDK (v2 API) with a Python equivalent. ## Prerequisites - Completed `documenso-install-auth` setup - Valid API key in `DOCUMENSO_API_KEY` environment variable - A PDF file to upload (or generate a test one below) ## Instructions ### Step 1: Generate a Test PDF (Optional) If you don't have a PDF handy: ```bash npm install pdf-lib ``` ```typescript // generate-test-pdf.ts import { PDFDocument, StandardFonts } from "pdf-lib"; import { writeFileSync } from "fs"; async function createTestPdf() { const pdf = PDFDocument.create(); const page = (await pdf).addPage([612, 792]); // US Letter const font = await (await pdf).embedFont(StandardFonts.Helvetica); page.drawText("Please sign below:", { x: 50, y: 700, size: 16, font }); const bytes = await (await pdf).save(); writeFileSync("test-contract.pdf", bytes); console.log("Created test-contract.pdf"); } createTestPdf(); ``` ### Step 2: Complete Signing Workflow (TypeScript) ```typescript // documenso-hello.ts import { Documenso } from "@documenso/sdk-typescript"; import { readFileSync } from "fs"; async function main() { const client = new Documenso({ apiKey: process.env.DOCUMENSO_API_KEY!, }); // 1. Create a document const doc = await client.documents.createV0({ title: "Hello World Contract", ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category