> For the complete documentation index, see [llms.txt](https://support.agentfire.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.agentfire.com/site-tools/guide-creator/how-to-add-a-pdf-guide.md).

# How to Add Your Own PDF Guide

Upload your own PDF and have a form send visitors to it, or link to it from a button.

Have your own buyer's or seller's guide as a PDF? Upload it to your website, then either:

* **Give it in exchange for contact details:** visitors fill in a form and then the PDF opens, so you get a lead.
* **Let anyone download it:** link a button or text straight to the PDF.

## Upload the PDF

{% stepper %}
{% step %}

### Check the file size

The PDF must be **4 MB or smaller**. If it's bigger, shrink it first with a free tool such as [ilovepdf.com](https://www.ilovepdf.com/compress_pdf).
{% endstep %}

{% step %}

### Upload it

Open the menu (top left) and go to **Media** > **Add New**, then choose your PDF.
{% endstep %}

{% step %}

### Copy its address

Open the file in the media library. Copy the whole **File URL**, all the way to `.pdf` at the end.

![The File URL of an uploaded PDF](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-f634cc5a8818cef5a24150cf58d79e71cd21f27f%2Fpdf-1-file-url.png?alt=media)
{% endstep %}
{% endstepper %}

## Send the PDF after someone fills in a form

{% stepper %}
{% step %}

### Open the form

Open the page with the form in the editor, then click the pencil next to **Lead Form**.
{% endstep %}

{% step %}

### Set the submit action

On the **Content** tab, open **Form Settings**. Under **Submit Action**:

* **Lead Form Submit Action:** **Redirect to new URL**
* **Redirect URL:** paste your PDF's address
* **Open URL in new tab:** optional

![Submit Action set to open the PDF](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-598fa0e8b40fbeeaf8465a90cd03d73e19ce4c61%2Fpdf-2-redirect.png?alt=media)
{% endstep %}

{% step %}

### Save and test

Click **Save** in the top right. Then fill in the form yourself in a private (incognito) window, using a made-up name, and check your PDF opens.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Guide in a pop-up?** If the form is in a pop-up, go to **Site Tools** > **Engage**, click **Edit** on the pop-up, and change its Lead Form the same way.
{% endhint %}

## Link to the PDF from a button

Want anyone to download it, without a form? Paste the PDF's address into a button's link (or link some text to it) and save the page.

## Replace a guide with a new version

Upload the new PDF, copy its address, and paste it everywhere the old one was used: each form's **Redirect URL** and any buttons or links. Uploading a new file doesn't change the old links by itself.

## Common Questions

<details>

<summary>People fill in the form but see a "Thank You" page, not my guide.</summary>

The form still sends people to your thank-you page. Change its **Redirect URL** to your PDF's address and save.

</details>

<details>

<summary>My buyer and seller forms give out the same guide.</summary>

Each form has its own **Redirect URL**. Open each one and paste the right PDF's address.

</details>

<details>

<summary>The upload fails.</summary>

The PDF is probably over 4 MB. Shrink it and upload it again.

</details>
