> For the complete documentation index, see [llms.txt](https://docs.fillthedoc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fillthedoc.com/master.md).

# Getting started

## Step 1. Create a template

The template consists of a form, which may be filled out by the end user, and text content. The content contains placeholders that are filled with the data of the form. More advanced functions can be used, like expressions and formatting.

{% content-ref url="/pages/-LnFvB4DL3UxzFhCLvrp" %}
[Templates](/templates.md)
{% endcontent-ref %}

## Step 2. Create a document

Use the API to create a new document based on a template. Send some initial data and allow the end user to fill out the rest. You may specify a callback URL to let your system know that the user is done.

{% content-ref url="/pages/-LnFfjWafc59kCqSpzEj" %}
[Document API](/api/document-api.md)
{% endcontent-ref %}

## Step 3. Download the document and user data

Once the user has filled out the form, use the API to generate a PDF and fetch the data so it can be processed.
