# Pipeline Templates

The Pipeline Templates provides options to the user to create pipelines from pre-defined templates. Instead of adding the metadata, variables and pipeline definition you can include these from the predefined templates.&#x20;

In the **Setup** tab, Click **Pipeline Templates** from the left menu to access the pipeline templates details page.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FsgsLZ3PbN2srtho0g2yq%2Fpipeline%20templates.png?alt=media&#x26;token=00b122b3-11d8-4be3-94e6-bdb0f5cfbf47" alt=""><figcaption></figcaption></figure>

The following details of templates are displayed as shown below:

* **Name** - This indicates the name of the predefined template.
* **Owner** - This indicates the name of the person who created the template.
* **Updated** - This indicates the time the template was last updated.&#x20;
* **Version** - This drop-down displays the different versions of the template from which you can select the required one.&#x20;
* **Action** - This displays the various actions you can do with the template. You can View, Delete or Create Pipeline using the options provided.&#x20;

#### To Create Pipeline

1. Choose the template which you want to use for creating the pipeline. You can use the pagination option provided below to go through all the available templates.&#x20;
2. Click **Create Pipeline** from the **Actions** column of the selected template. A popup appears.&#x20;

<figure><img src="https://lh4.googleusercontent.com/pgqp7fF-IC9h4MerDG9LoYnoAe2uNYMTS-1WkGvHxoR1CLhlvRVdXPvSsGUHBqzaZQqJlxbUpdEzj_tpw44CVWqhtgPHB_IvH5HsxwaLB6SEHIlpm1qaPm2da7GpOlZP3-Fk639YHmtT6Pld7q7_RR0" alt=""><figcaption></figcaption></figure>

3. From the dropdown, select the application to which you need to add a new pipeline using this template.
4. Click **Continue**. Another popup appears.&#x20;

   <figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F1GSjPHLLo28XH8gjssf5%2Fcreate%20pipeline.png?alt=media&#x26;token=be31b810-f007-4092-9548-371fab91231c" alt=""><figcaption></figcaption></figure>
5. Enter a name for the pipeline in the **Pipeline Name** field.&#x20;
6. Click **Continue**.
7. The new pipeline is created with the entered details.
8. You can now add new stages or copy existing stages to the pipeline.
9. Click **Save Changes**.&#x20;

The pipeline is ready to be executed.&#x20;

#### &#x20;To View the Pipeline Template

Click **View** from the Actions column. The predefined **Pipeline Template** is displayed. The JSON contains the metadata, variables and pipeline definition of the template.&#x20;

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FNtwMznkSYgmyLB6QF4jR%2Fpipelines%20-%20view%20temp.png?alt=media&#x26;token=bcd2012e-23a5-4a71-aede-f37e2a562f3c" alt=""><figcaption></figcaption></figure>

#### To Delete the Pipeline Template

Click **Delete** from the Actions column to delete the selected template.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F6G69EpThJp2rfREImfdl%2Fpipelines%20-%20delete.png?alt=media&#x26;token=aa95124b-f390-422a-b3c7-b7f455e59b93" alt=""><figcaption></figcaption></figure>

<br>
