---
title: "Add the Generate PDF operation"
slug: "add-the-generate-pdf-operation"
abstract: "How to add the Generate PDF operation."
---
# Add the Generate PDF operation

After creating the [print template](https://doc.sitecore.com/ch/en/users/content-hub/create-a-print-template.html "Create a print template") and the [print entity generation action](https://doc.sitecore.com/ch/en/users/content-hub/create-a-print-entity-generation-action.html "Create a print entity generation action"), you must add the **Generate PDF** operation. Calling this operation triggers the print entity generation action, which in turn starts the PDF generation.

> [!note]
> To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through [user group policies](https://doc.sitecore.com/ch/en/users/content-hub/user-group-policies.html "User group policies").

You can add the **Generate PDF** operation for any page component that supports it. The following procedure details how to add the operation to the **Entity operations** component on the asset details page, but the procedure is similar for all pages and page components.

To add the Generate PDF operation:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Pages**.
3. In the **Pages** portal, search for and click the **Asset details** page.
4. Click the **Layout** tab, ensure custom settings are enabled by clicking :mdiAccountOutline:, and then clicking the **Entity operations** component.
5. On the **EntityOperations component** page, click **Add operation**, then click **Generate PDF**.
6. Configure the **Generate PDF** operation [display settings](https://doc.sitecore.com/ch/en/users/content-hub/entity-operations.html "Entity operations").
7. Define the following operation settings:

    | Field | Description | Mandatory |
    | --- | --- | --- |
    | **Action** | Print entity generation action that triggers the PDF generation, such as *Print Entity Generation* | Yes |
    | **High-resolution** | Generates a higher quality PDF | No |

8. Click **Save**.

> [!note]
> For a detailed walkthrough of this procedure, see [this example](https://doc.sitecore.com/ch/en/users/content-hub/example---adding-the-generate-pdf-operation.html "Example - adding the Generate PDF operation").