> ## 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

<div className="article_labels_list" style={{display: 'none'}} dangerouslySetInnerHTML={{__html: "has_image , End User , Box Doc Gen , Overview , Article , Product Utilization , Established"}} />

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.
</Note>

**Form View**

<Frame>
  <img src="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" alt="Relay Generate Document Form View with contract.date, customerName, and signer fields to complete." width="936" height="460" data-path="images/box-doc-gen/relay-generate-document-form-view.png" />
</Frame>

**JSON View**

<Frame>
  <img src="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" alt="Relay Generate Document page with template selected, JSON Editor active, and Generate Document button." width="936" height="414" data-path="images/box-doc-gen/relay-generate-document-page-template.png" />
</Frame>
