Quickstart
Create your first PDF in two steps: create a reusable dynamic template, then generate a document with your data. The same published template works with the app, REST API, and an AI assistant.
You need a ShipPDF account and a workspace with generation credits. If you already have a published template, skip to Generate your document and use data that matches its schema.
1. Create your reusable dynamic template
Build a small invoice header with an invoice number and customer name. This keeps the first document simple while showing how the same layout accepts different data.
Create the template
In the app, open a project or create one with New project. Select New template, then open the new template in the editor and name it Invoice quickstart.
Define the data fields
Select Data Fields in the right inspector, then Edit schema. In the Fields tab, add an Object named invoice. Use Add child to add two String fields inside it:
invoice Object
|-- number String
`-- customer_name String
Click Apply changes. These names define the JSON keys you supply when generating a document. See Data Schema and Default Data for other field types and collections.
The Data Fields panel and bindings are shown here on a shipping slip. For this quickstart, create the two invoice fields above.
Bind the fields to your layout
Add two Text elements. In the first, type Invoice , then type {{ and choose invoice.number from the field menu. In the second, type Customer: and insert invoice.customer_name the same way.
Each binding appears as a field pill. The generated document displays the field’s value in that position. See Data field bindings for formatting and other elements.
Preview with default data
Open Default data, select JSON, and enter:
{
"invoice": {
"number": "INV-1042",
"customer_name": "Acme"
}
}
Click Apply changes, save the template as a draft, and use Preview PDF to check the layout. It should show Invoice INV-1042 and Customer: Acme.
This shipping slip example shows the same Default Data dialog. Choose JSON and use the invoice data above for your template.
Default Data supplies preview values and fallback values for fields omitted during generation. For each real document, supply its actual invoice and customer details so example values do not appear by accident.
Publish the template
Return to the project’s template list and choose Publish from the template’s actions menu. Resolve any reported problems before publishing.

Generation uses the published revision. Later draft edits take effect only after you publish again. For the API or AI assistant guide, copy the Template ID from the template card.
Prefer to build with an AI assistant? Follow Author a template with AI using the same fields and example data, then publish the result before continuing.
2. Generate your document
Use the published template to create a second invoice with new values:
{
"invoice": {
"number": "INV-1043",
"customer_name": "Northstar"
}
}
Choose how to supply that data and retrieve your PDF:
| Quickstart | What you will do |
|---|---|
| Using the app | Enter data in a form or JSON, generate, and download. |
| Using the API | Send the template ID and data, wait for completion, and download. |
| Using an AI assistant | Ask your connected assistant to use the template and return the PDF. |
Each new document generation uses one credit. Changing the input for a document does not change the reusable template or its Default Data.