What is Embedding?
Embedding allows you to display Documenso’s document signing interface within an iframe in your own application. This means your users can sign documents without leaving your platform, maintaining your brand consistency and user experience.Use Cases
Customer-Facing Applications
- SaaS Platforms: Embed contract signing directly in your onboarding flow
- E-commerce: Add order confirmations and agreements to checkout
- HR Systems: Integrate employee onboarding documents
- Real Estate: Embed lease agreements and property documents
Internal Tools
- Admin Dashboards: Let admins prepare and send documents
- Document Workflows: Create multi-step approval processes
- Team Collaboration: Enable team members to sign internal agreements
Embedding Capabilities
Documenso supports two main embedding modes:1. Document Signing Embedding
Embed the signing experience for recipients to complete and sign documents. Features:- Pre-fill recipient name and email
- Lock fields to prevent editing
- Customize appearance with CSS variables
- Dark mode control
- Real-time event notifications via postMessage
2. Template Authoring Embedding
Embed the document creation and field placement interface. Features:- Control feature visibility (signature types, language, date format)
- Restrict configuration options
- Edit-only mode for field placement
- Custom styling support
Integration Methods
Direct Links (Recommended)
The simplest way to embed Documenso is using direct signing links in an iframe:- No SDK required
- Works with any framework
- Minimal setup
- Full feature support
Framework Components
For framework-specific integrations, you can build wrapper components:Enterprise Features
Embedding requires an Enterprise plan with the following features enabled:
embedSigning- Core embedding capabilityembedSigningWhiteLabel- Custom CSS and white-labelinghidePoweredBy- Remove “Powered by Documenso” branding
Authentication & Security
Presign Tokens
For enhanced security, use presign tokens to verify embed requests:Recipient Authentication
Documents can require authentication:- Account Auth: Recipient must sign in with their Documenso account
- 2FA: Two-factor authentication for sensitive documents
- Access Control: Automatically enforced in embedded views
Real-Time Events
Embedded pages communicate with your application using thepostMessage API:
document-ready- Embed initialized and document loadeddocument-completed- Recipient completed signingdocument-rejected- Recipient rejected the documentdocument-error- An error occurredfield-signed- A field was signed/filledfield-unsigned- A field was cleared
White-Label Customization
With Enterprise plans, customize the embedded experience:Next Steps
Direct Links
Set up iframe embedding with direct signing links
Authoring
Embed the document creation interface
Customization
Customize appearance with CSS variables
React SDK
Build a React wrapper component
Pricing
Embedding is available on Enterprise plans. Contact sales for:- White-label embedding
- Custom branding removal
- Advanced customization options
- Dedicated support
