> For the complete documentation index, see [llms.txt](https://docs.htmlcsstoimg.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.htmlcsstoimg.com/zapier-integration/generate-pdf-of-any-website-or-webpage-using-its-url.md).

# Generate PDF of any Website or Webpage using its URL

### Prerequisites&#x20;

Navigate the integration link provided in **Getting Started with the Zapier App** page.&#x20;

### Generate PDF of Website or Webpage from URL

Follow the steps to generate PDF of any website/webpage from its URL : &#x20;

1. Login to your Zapier Account.
2. On the Home page, click on the create option from the left most menu.
3. Select Zaps. A new page will appear, Give a name to your Zap.

#### Add Triggers

1. Click on the **Triggers,** select any of the application as a trigger. Under **Events**, choose an event corresponding to the application that starts your Zap.

<figure><img src="https://3256700609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbFO0x1WAxorjLyG1yi32%2Fuploads%2FGKMoGKwHXZsbdEiztLYf%2FScreenshot%20from%202024-04-24%2017-06-40.png?alt=media&amp;token=da4dd1ea-6223-4125-b004-bd4adf27c7a3" alt=""><figcaption></figcaption></figure>

2. Choose account you want to connect. Click Continue.
3. Select trigger and Click on **Test Trigger**.

#### Add Action

1. Click on Actions. In the search tab, type **HTML to Image** latest version and choose **Generate PDF from URL** under **Events**. Click Continue.

<figure><img src="https://3256700609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbFO0x1WAxorjLyG1yi32%2Fuploads%2FDgCOa10LkqfVpJk8pzV0%2FScreenshot%20from%202024-04-24%2017-27-21.png?alt=media&amp;token=d7156371-1e3a-4cfc-9272-edd64dd5c61a" alt=""><figcaption></figcaption></figure>

2. Connect **HTML to Image** Account by entering the API key in the Pop-up Window

<figure><img src="https://3256700609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbFO0x1WAxorjLyG1yi32%2Fuploads%2F4Dbf1SUssWXyhdgY4rZ5%2FScreenshot%20from%202024-04-24%2017-29-20.png?alt=media&amp;token=eba125e4-05fe-45ab-af90-f97539e77d74" alt=""><figcaption></figcaption></figure>

3. Under **Action** Tab, pass all the necessary parameters along with the URL of the Website. Click **Continue** and **Test Step.**

<figure><img src="https://3256700609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbFO0x1WAxorjLyG1yi32%2Fuploads%2FEUk5VmSPnnBDWYCzAXbS%2FScreenshot%20from%202024-04-24%2017-30-41.png?alt=media&amp;token=dd9a3796-f2ea-4b22-bb34-813115268ae0" alt=""><figcaption></figcaption></figure>

4. You will see the URL to the Generated PDF. Click **Publish**.

<figure><img src="https://3256700609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbFO0x1WAxorjLyG1yi32%2Fuploads%2F4NPqLXpaGfj5OSLYegEf%2FScreenshot%20from%202024-04-24%2017-31-58.png?alt=media&amp;token=e7f59bb9-a640-495d-9aa7-a701ebe36852" alt=""><figcaption></figcaption></figure>
