Embedded template editor
Put DocSpring's template editor inside your app, with no DocSpring branding. Your customers set up their own templates, and your app fills them with the API.
- Included on Starter and up
- 14-day free trial
- No credit card needed
Trusted by teams in lending, insurance, property, and healthcare
Your fields, on their documents
Give the editor the fields your app sends, and your customers place each one on their own PDF or Word document.
- Field names and types from your app, so every template takes the same data
- Done stays off until they've placed every required field
- Friendly names in the editor, with your keys in the data
Only the controls they need
Choose which of the editor's controls your customers see, or turn on a simpler editor with one option.
- Inline in your page, or in a modal
- Light or dark, to match your app
- Your own label on the Done button
Safe to put in front of customers
Each embed edits one template, with only the permissions you give it. Embed Domains limits the sites that can show it.
- DocSpring's servers enforce every permission, whatever the page's code asks for
- Webhooks and passwords hidden unless you allow settings
- Changes and versions recorded with your user's ID
Embed the editor in a few lines of code
Load the script, then open the editor for one of your customer's templates.
- Events when they save, publish a version, or click Done
- US and EU regions, or your own servers on Enterprise
- Fill their templates with the API and SDKs in ten languages
<script
src="https://cdn.docspring.com/embed/template_editor.v0.1.3.js"
></script>
<div id="template-editor" style="height: 720px"></div>
<script>
DocSpring.createTemplateEditor('#template-editor', {
templateId: 'tpl_123',
token: 'EMBED_EDIT_TOKEN',
externalUser: { name: 'Maya Chen', external_id: 'user_123' },
doneButtonLabel: 'Save lease',
onDone: function (data) {
// Show the next step in your app
},
})
</script>
The embedded editor is included on Starter and every plan above it.
Features
Every kind of template
PDF forms, Word documents, page designs, and HTML templates, in the same editor.
Versions
Let your customers publish versions, or keep their changes in the draft for you to publish.
Events
Callbacks when the editor loads, saves, publishes a version, or closes.
Light and dark
The editor follows your customer's system theme, or the light or dark one you pass.
New documents
When you allow it, your customers upload a new PDF or Word file and keep their fields.
Formulas and conditions
Totals, conditional fields, and validation work in their templates as in yours.
US or EU hosting
Keep your customers' templates in the US or the EU. SOC 2 Type II audited.
On your own servers
Enterprise customers serve the editor from their own DocSpring servers.
Questions about the embedded editor
Read the embedded editor guideCan I embed the template editor in my own app?
Yes. Load template_editor.js and open the editor with a template's ID and its embed edit token, inline in your page or in a modal. The embedded editor needs the Starter plan or higher, and you can try it free for 14 days with no credit card.
Does the embedded editor show DocSpring's branding?
No. It has no DocSpring logo, menus, or links to your DocSpring account. You choose its Done button's label, light or dark, and whether it shows a help link.
Which templates can my customers edit?
PDF forms, Word documents, page designs, and HTML templates. They place and change fields on their own documents, with the controls you choose to show them.
How do I make sure their templates match my app's data?
Give the template predefined fields: the field names and types your app sends. Your customers add fields from that list, and Done stays off until they have placed every required one.
What can someone with the embed edit token do?
Edit that one template's fields and layout. Embed Domains limits the sites that can show the editor. Changing its settings, publishing versions, and replacing its document each need a permission you turn on. The token can't change the template's domains or permissions, copy it, or delete it.
Is DocSpring secure enough for financial, insurance, and healthcare documents?
DocSpring is SOC 2 Type II audited and HIPAA compliant, and keeps your documents in the US or the EU. We sign a BAA on every paid plan: contact support@docspring.com before you send protected health information. Enterprise customers can also run DocSpring on their own servers.
How much does the embedded editor cost?
It's included on Starter and every plan above it. The PDFs your app makes from your customers' templates use credits like any others, and test PDFs are free.
Compare embedded template editors
Which tools let you embed their editor, the templates it edits, and pricing, side by side.
Give your customers a template editor today
Try it free for 14 days. No credit card needed.


