Documenso Install & Auth
Overview
Set up Documenso SDK and configure API authentication for document signing integration.
Prerequisites
-
Node.js 18+ or Python 3.10+
-
Package manager (npm, pnpm, yarn, pip, or uv)
-
Documenso account (cloud or self-hosted)
-
API key from Documenso dashboard
Instructions
Step 1: Install SDK
TypeScript/Node.js: Python:
Step 2: Get API Key
-
Log into Documenso dashboard at https://app.documenso.com
-
Click your avatar in the top right corner
-
Select "User settings" (or "Team settings" for team APIs)
-
Navigate to "API tokens" tab
-
Click "Create API Key"
-
Copy the generated key (shown only once)
Step 3: Configure Authentication
Step 4: Verify Connection
For detailed implementation code and configurations, load the reference guide: Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
TypeScript: Python:
Output
-
Installed SDK package in node_modules or site-packages
-
Environment variable or .env file with API key
-
Successful connection verification output
Error Handling
Error Cause Solution
Invalid API Key Incorrect or expired key Generate new key in dashboard
401 Unauthorized Missing or malformed key Check API key format and env var
403 Forbidden Key lacks required permissions Use team API key for team resources
Module Not Found Installation failed Run npm install or pip install again
Network Error Firewall blocking Ensure outbound HTTPS to api.documenso.com
API Endpoints
Environment Base URL
Production https://app.documenso.com/api/v2/
Staging https://stg-app.documenso.com/api/v2/
Self-hosted https://your-instance.com/api/v2/
Custom Base URL (Self-Hosted)
Resources
-
Documenso API Documentation
-
TypeScript SDK
-
Python SDK
-
API Reference
Next Steps
After successful auth, proceed to documenso-hello-world for your first document.
Examples
Basic usage: Apply documenso install auth to a standard project setup with default configuration options.
Advanced scenario: Customize documenso install auth for production environments with multiple constraints and team-specific requirements.