---
title: "Example - creating a print entity generation action"
slug: "example---creating-a-print-entity-generation-action"
abstract: "Example of how to create a print entity generation action."
---
# Example - creating a print entity generation action

> [!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").

After creating the [*Print template* entity](https://doc.sitecore.com/ch/en/users/content-hub/example---creating-a-print-template.html "Example - creating a print template"), you create a *Print entity generation* action, as described in the following steps:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Actions**.
3. On the **Actions** page, click **New Action**.
4. In the **New action** dialog, fill out the following fields:

    | Field | Description | Example |
    | --- | --- | --- |
    | **Name** | The name of the action. | *CMPRecipePrint* |
    | **Label** | The label used for the action. | *CMP Recipe Print* |
    | **Type** | The type of the action. | *Print Entity Generation* |
    | **Definition** | The target definition for PDF generation. | *M.Content* definition |
    | **Template** | The print template entity created in the previous section. | *CMPRecipePrintTemplate* |

5. Click **Save**.

> [!note]
> For more information about *Print entity generation* actions, refer to the Print entity generation action section.