# PDF document templates

PDF [Templates](https://docs.sharefile.com/en-us/sharefile/templates/templates_overview) are ideal for standard forms and contracts that don't require frequent editing.

## Create a PDF document template

You can create PDF [document templates](https://docs.sharefile.com/en-us/sharefile/templates/document_templates/document_templates) from multiple creation options:

1. From the ShareFile dashboard - Select **Create document template** > **PDF template**.
2. From the Templates navigation - Select **All templates** > **Create document template** > **PDF template**.
3. From the Folders navigation options:
   1. Choose an existing PDF file, then select  **New document template**.
   2. Choose an existing PDF file, then right click the file to open the file options and select **New document template**.
   3. Open an existing PDF to preview it. From the preview options, select **New document template**.

See [components of a document template](https://docs.sharefile.com/en-us/sharefile/templates/document_templates/document_templates#components-of-a-document-template) to learn how to build the template.

Once the PDF document template is created, it appears in the Templates workspace under the [All templates - Created by me](https://docs.sharefile.com/en-us/sharefile/templates/access_templates) section.

## Automatically fill documents with data from ShareFile and third-party applications

You can create document templates that automatically pull in data from ShareFile, Salesforce, and other integrated applications. This saves time and eliminates manual data entry errors.

**Use case example:** When onboarding a new client, you need to personalize an engagement letter with their information. Instead of manually copying and pasting data, document templates automatically populate the client details from your CRM or ShareFile, so you can send the signed document in minutes.

Document templates can be configured to pull in values from the following sources:

| Source     | Type                                                                                                                                                                                                                                           |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ShareFile  | [Client users](https://docs.sharefile.com/en-us/sharefile/people_settings/client_contacts_users/client_contacts_overview), [Employee users](https://docs.sharefile.com/en-us/sharefile/people_settings/employee_users/employee_users_overview) |
| Salesforce | Leads, Account, Opportunity, Quote, Contact                                                                                                                                                                                                    |

> **Note:**
>
> To add an integration, go to **User menu** > **Applications** > **Third Party Integrations**.

## Populate a template with data from multiple applications

To populate a template with data from multiple applications:

1. In ShareFile, navigate to **Templates**.

2. Select **Create document template**. The **Create Template** screen displays.

3. Under **Signer roles**, select **Add a new role**. Each role represents a person involved in the signature process. You can add multiple roles to a document template.

4. If you have more than one role, enable the signing-order toggle, then drag roles up and down to set the signing order.

5. Under **Variables**, select **Add a new variable**. Variables specify the source and type of data to automatically fill in the document.

6. For each variable, select a **Data Source** and **Data type** from the dropdown menu.

7. Select **Next Step: Place Fields**. The **Place Fields** screen displays.

8. Under the **Signer filled** tab, drag and drop fields to add them to the template. Click a field to modify its settings, such as marking it as required.

   > **Note:**
   >
   > When placing fields, select the correct role from the dropdown. All fields for a role are assigned to that role's signer.

9. Select the **System filled** tab.

10. Select a variable from the dropdown to view available fields. Drag and drop fields to add them to the template. These fields automatically populate when you send the template for signature.

    > **Note:**
    >
    > Use the search bar to quickly find a field.

11. Select **Next Step: Review & save**.

12. Enter the name and description for your template.

13. Set security options (optional):

    * **KBA requirement** - requires signers to verify their identity with a knowledge-based quiz. Each signer must independently verify before signing.
    * **Passcode** - requires recipients to enter a 5-digit passcode to access documents.

14. Select **Save Template**. Your template is now created and appears on the **Templates** page.

## Send a template with data from multiple applications

To send a template for signature:

1. On your ShareFile dashboard, select **Send for Signature**.

2. In the **Documents to send** section, select **Browse files** > **Use a Template**.

3. Select your template from the list. The **Signature Request** window opens.

   > **Note:**
   >
   > Variables are supported only for templates created in ShareFile.

4. Enter a value for each variable, then select **Update fields** to automatically populate all associated fields.

5. To review auto-filled fields, select **Track fields**. Manually edit any missing or incorrect information as needed.

6. Select **Update fields** to apply your changes before generating the document.

7. Select **Generate document**. After generation, you cannot edit fields.

8. Enter recipient names and emails. Select **Review and Send**.

9. On the review screen, you can:

   * Edit the document name
   * Add a note to all signers
   * Change where the signed document is stored
   * Modify roles for this document (select **Modify roles**)
   * Set security options: **Knowledge-based authentication** or **Passcode**

   > **Note:**
   >
   > Changes made here do not affect the template itself, only this specific signature request.

10. Select **Send for Signature**. Your signature request is sent.

    > **Note:**
    >
    > After sending, you can track your signature request. Click **View** in the notification to see the request details, send reminders, or cancel the request.

## Handle missing data from variables

When populating a template, not all fields may auto-fill. You can manually complete missing information before sending:

1. In ShareFile, navigate to **Templates** and select a template.
2. Select **Send for signature**.
3. Enter values for each variable. Select **Update fields** to auto-fill associated fields.
4. Select **Track fields** to review filled and empty fields. Manually edit any missing or incomplete information.
5. Select **Generate document**. After generation, you cannot edit fields.
6. Enter recipient names and emails. Select **Review and Send**.
7. Edit the document name, add notes to signers, and set security options as needed.
8. Select **Send for Signature**. Your signature request is sent.

## Manually enter data with Sender Filled fields

Sender Filled Fields let you manually enter data in document templates before sending them for signature. This is useful when required information isn't available from integrated systems.

> **Note:**
>
> Sender Filled Fields are supported on ShareFile Premium, ShareFile Enterprise, VDR, and Industry Advantage plans. You need permission to create templates and send documents for signature.

### Create a Sender Filled template

1. In ShareFile, navigate to **Templates** > **Create**.

2. On the **Create document template** page, select **PDF template**.

   > **Note:**
   >
   > Sender Filled Fields are not currently supported for Word templates.

3. Upload a document from ShareFile using **Browse files**, or from your local device.

4. Select **Add a new role** to create a signer role.

5. Select **Next Step: Place Fields**.

6. Under the **Sender filled** tab, drag and drop fields onto the template:

   * **Text**
   * **Date**
   * **Drop-down**
   * **Checkbox**
   * **Checkbox Groups**

7. Under the **Signer Filled** tab, add signature fields for signers.

8. To add your signature, select **Annotate document** > **Signature**. Choose to draw or type your signature.

9. Select **Next Step**.

10. Enter the template name and description.

11. Set security options (optional): **KBA requirement** or **Passcode**.

12. Select **Save Template**.

### Send a Sender Filled template

1. Open the template you want to send.

2. Select **Send a signature request**.

3. Manually enter required information in the sender fields:

   * Enter the client name
   * Select a date from the date picker
   * Use the **Sender fields** section to track completion

4. Select **Next: Add recipients**.

5. Click **Continue**. Sender filled fields are now locked.

6. Enter recipient names and emails. Select **Review and send**.

   > **Note:**
   >
   > To send to multiple recipients, use **Send in bulk** (up to 300 people). See [Bulk send document requests](https://docs.sharefile.com/en-us/sharefile/templates/document_templates/bulk_send_document_requests) for details.

7. Edit the document name, add notes to signers, and set security options (optional).

8. Select **Send for Signature**. Your signature request is sent.

## Edit a document template

1. Navigate to **Templates** and select the template to edit.

2. Select **Edit**. You can change the file, roles, variables, and fields.

   > **Note:**
   >
   > Editing a template does not affect documents already created from it.

3. Select **Next Step: Place Fields**. Add or remove fields as needed. Click a field to modify its settings.

   > **Note:**
   >
   > When placing fields, select the correct role from the dropdown. All fields for a role are assigned to that role's signer.

4. Select **Next Step**. Update the template name, description, and security options.

5. Select **Save Template**. Your changes are saved.
