---
title: Create Your First Document
description: "Create your first document in just 15 minutes. Learn the basics of selecting data, replacing merge fields, and repeating rows. Use the template document as a starting point! [PDF Butler - Generate your first document](https://www.youtube.com/embed/8ZhO1noBUY4?si=rfvTRMzAzwJKAW4r) [https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted_NoMergeFields.docx&wdOrigin=BROWSELINK](https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted_NoMergeFields.docx&wdOrigin=BROWSELINK)Download Template without mergefields [https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted%2520(1).docx&wdOrigin=BROWSELINK](https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted%2520(1).docx&wdOrigin=BROWSELINK)Download…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/get-started/create-your-first-quote/"
updated: "2026-04-27"
category: GET STARTED
---

# Create Your First Document

Create your first document in just 15 minutes. Learn the basics of selecting data, replacing merge fields, and repeating rows. Use the template document as a starting point!

[PDF Butler - Generate your first document](https://www.youtube.com/embed/8ZhO1noBUY4?si=rfvTRMzAzwJKAW4r)

[https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted_NoMergeFields.docx&wdOrigin=BROWSELINK](https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted_NoMergeFields.docx&wdOrigin=BROWSELINK)Download Template without mergefields

[https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted%2520(1).docx&wdOrigin=BROWSELINK](https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fassets.pdfbutler.com%2Fwebsite%2Facademy.folders%2FTemplateGetStarted%2520(1).docx&wdOrigin=BROWSELINK)Download Template with mergefields

 

# **Generate Your First Quote with PDF Butler**

## **1. Prerequisite Verification**

Before starting, ensure all required setup steps are completed:

1. Confirm that **steps 1 to 5** from the initial setup are completed and marked as done.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/1-1-300x146.png)
2. Go to the **PDF Butler Admin** page.
3. Verify that your **registration and credentials** are correctly configured and visible.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/2-1-300x145.jpg)

---

## **2. Create a Template Using MS Word**

1. Go to the PDF Butler Academy and download a **Word template**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/3-1-300x101.png)
2. Open the document.
3. Identify the data you want to pull from Salesforce.
4. Format each field as a **merge field** using the syntax:
                [[!FIELDNAME!]]
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/4-1-300x169.jpg)
5. Save the document.

---

## **3. Configure PDF Butler**

### **3.1 Create a Data Source**

1. In Salesforce, navigate to the **Data Sources** tab.
2. Click **New**.
3. Select **SOQL** and click **Next**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/5-1-300x159.png)
4. Enter a **Data Source Name**.
5. Select the **Type** (e.g., *Single sObject*).
6. Click **Save**.
7. At the top of the page, click **SOQL Builder**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/6-1-300x159.jpg)
8. Select an **Object** (e.g., Opportunity).
9. Choose the fields you want (e.g., Opportunity ID, Amount, Owner Name, Email).
10. Review selected fields in the **Review** tab.
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/7-1-300x185.png)
11. Go to the **Add Filter** tab.
12. Select a field and operator.
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/8-1-300x175.png)
13. Click **Add Filter**.
14. Click **Save Query**.

---

### **3.2 Create a Doc Config**

1. Go to the **Doc Config** tab.
2. Click **New**.
3. For this example we will use **Main Word Document**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/9-1-300x177.png)
4. Enter:
   - **Document Config Name**
   - **Document Title
      ![](https://pdfbutler.com/wp-content/uploads/2023/08/10-1-300x198.png)**
5. Open the record and click **Open PDF Butler**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/11-1-300x112.png)
6. Click **Add Data Source** and select the one you created.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/12-1-300x95.png)
7. Verify that field types are automatically recognized.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/PDF-Butler-Generate-your-first-quote-YouTube-04-27-2026_02_41_PM-300x238.png)
8. In the **Doc Config Documents** section, upload your Word document.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/13-1-300x159.jpg)
9. Click **Add Config Type**.
10. Select:
    - Data Source
    - Data Source Field
       ![](https://pdfbutler.com/wp-content/uploads/2023/08/14-1-300x185.png)
11. In **Merge Field**, enter the corresponding field name from your Word template.
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/15-1-300x234.png)
12. Click **Save to Server** (top-right corner).
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/16-1-300x159.jpg)

---

## **4. Generate the Document**

1. Open a record from the object used in your configuration (e.g., Opportunity).
2. Click the **Setup (gear icon)** → **Edit Page**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/17-1-300x102.png)
3. From the components list, select **PDF Butler Previewer**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/18-1-300x139.jpg)
4. Drag and drop it onto the page.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/19-300x211.jpg)
5. Open the **Doc Config** record you created.
6. Locate and copy the **Customer DocConfig ID**.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/20-1-300x84.png)
7. Paste the ID into the **DocConfig to Retrieve** field in the component.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/21-1-300x159.jpg)
8. Click **Save**, then **Activate**.
9. Assign as:
   - **Org Default**
   - Select **Desktop and Phone**
10. Return to the record page.
11. You will now see the PDF Butler feature.
12. Click the **PDF** button.
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/24-300x119.png)
13. A preview will be generated with all fields populated.
     ![](https://pdfbutler.com/wp-content/uploads/2023/08/25-300x213.jpg)

---

## **5. Edit Data from a Data Source**

To modify fields in your data source:

1. Open the **Data Source** record.
2. Click **SOQL Builder**.
3. Add or remove fields as needed.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/26-300x200.png)
4. Click **Save Query**.
5. Go to the **Doc Config** page.
6. Edit the Object Data Source.
7. Click **Reload from SFDC** to refresh fields.
    ![](https://pdfbutler.com/wp-content/uploads/2023/08/27-300x232.png)
