--- alias: user-guide-upload-recipe-resource description: "This page explains how to upload recipes to resources" --- # Upload Recipe to Resource :lock: Recipe.**UploadToResources** ## Overview This operation is used to upload a **Recipe** to one or more **Resources**. ## Setup No specific setup is required other than to meet the precondition of the transaction. ## Preconditions * The **Recipe** exists in the system, is Active, and non-Template. * The **Resource** entity type must have the Connect IoT Enabled property set to `true`. * The **Resource** must have the following properties set to `true`: * Recipe Management Enabled * Track Resource Recipes * The **Resource** has the following configuration: * Automation Mode set to Online * Recipe Upload property set to `true` * The **Recipe** must have a Source and a Body. * The **Resource** must have at least one **Recipe** associated with it. * The **Resource** must have an **Automation Controller Instance** with a workflow configured. ## Sequence of Steps This operation can be performed from either the **Recipe** or from the **Resource** page. ### Recipe Page 1. Navigate to the **Recipe** page. 2. In the **Resource** section, select the **Recipes** you want to upload. 3. Select **Upload**. 4. The selected **Recipes** are uploaded to the associated **Resource**. After the upload is completed, the system updates the Last Upload Date in the **Resource** section. ![Screenshot showing how to upload a recipe to a resource from the recipe page](images/upload_recipe_from_recipe_page.png) ### Resource Page 1. Navigate to the **Resource** page. 2. In the **Recipes** section, select the **Recipes** you want to upload. 3. Select **Upload**. 4. The selected **Recipes** are uploaded to the associated **Resource**. After the upload is completed, the system updates the Last Upload Date and Last Upload Version in the **Recipes** section. ![Screenshot showing how to upload a recipe to a resource from the resource page](images/upload_recipe_from_resource_page.png)