> ## Documentation Index
> Fetch the complete documentation index at: https://docs.box.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generating documents using the Box web app

You can manually generate documents from the Box Doc Gen interface in Relay. This method is ideal for one-off document generation or testing your templates.

To manually generate a document in Box Doc Gen:

1. Go to **Relay** > **Doc Gen**.
2. Select the template, and then select the ellipsis (...).
3. Select **Generate Document**.
4. Use either the **Form View** to manually fill in data that auto-populates within the Box Doc Gen template placeholder text tags or leverage the **JSON Editor** to copy, paste, or upload JSON data to generate the placeholder tags to auto-populate within the generated document.

> [!NOTE]
>
> The **Form view** enables you to generate documents using only text tags. To generate document features such as dynamic lists, tables, and images, we recommend using the JSON Editor view.

**Form View**

![Relay Generate Document Form View with contract.date, customerName, and signer fields to complete.](https://mintcdn.com/product-docs/SQsI2NgHXG0tSLSJ/images/box-doc-gen/relay-generate-document-form-view.png?fit=max\&auto=format\&n=SQsI2NgHXG0tSLSJ\&q=85\&s=3750c34b0074e1a6e2f61bdc86a4b5cc)

**JSON View**

![Relay Generate Document page with template selected, JSON Editor active, and Generate Document button.](https://mintcdn.com/product-docs/SQsI2NgHXG0tSLSJ/images/box-doc-gen/relay-generate-document-page-template.png?fit=max\&auto=format\&n=SQsI2NgHXG0tSLSJ\&q=85\&s=3011da8f63c1ec9aad3f242fa771beab)
