# Create a Pipeline

A pipeline is a series of sequential steps that are performed as part of a spinnaker application. Spinnaker has a host of pre-built stages with which you can use to perform fairly complex tasks.

While we do have guides to run specific tasks, today we are going to create a basic pipeline with a wait stage.

To do this,

1. From the ISD application dashboard, Click "**Continuous Delivery**" --> Click "**Spinnaker**".  This will take you to the Spinnaker instance you have configured with ISD. The first thing you will see is a recent view of all of your applications and Click your "**Application Name"** as shown in the image below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fa4WojZeffrSbN59fkxpp%2Fimage.png?alt=media\&token=12a8dc22-1e4e-41fb-a084-92843c6cd935)

2\. Select the application for which you want to create the pipeline. After selecting, Click **Pipelines** tab and Click **Create** as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FKxym3zAceQUrakVlRnX0%2Fimage.png?alt=media\&token=9c5c4f13-fe7c-4264-af6e-5137724536e3)

3\.  Enter the "**Pipeline Name"** and click "**Create**" as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F91XbPJd1wYzvg9gDPjb3%2Fimage.png?alt=media\&token=16260152-5a73-4116-8f7b-b8d4ffc422c2)

### Add Stage

You have now created a blank pipeline. After creating the pipeline, you need to add a stage to it. A stage in a pipeline is the set of actions you want the pipeline to take while executing it.

1. Click your "**Application Name**" and click "**Configure**" button to add stage.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FkegJJStKSr7IrHc7qABj%2Fimage.png?alt=media\&token=978c551d-a56a-4ae6-9710-2ab243048f2b)

2\.  Click "**Add Stage**" and select type of stage "**Wait**" from the drop down as shown in the below image.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fv9luBSeQmI7zZsQKYScy%2Fimage.png?alt=media\&token=a34a570f-c997-451d-8602-9ef786d4b7a9)

3\.  After selecting the stage type, provide the "**Stage Name**" and enter the "**wait time(In Seconds)**" and then click "**Save Changes**".&#x20;

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FRCuO9Lu3R2oT9K3zfJPc%2Fimage.png?alt=media\&token=af439e10-2b63-47bf-9689-6c0a75a88d1d)

Now the stage is added successfully. After adding the stage, you need to add a trigger and run a pipeline to it.

{% hint style="info" %}
To add a Trigger, Refer [here](https://docs.opsmx.com/products/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/pipeline-management/add-a-trigger).

To run a pipeline, Refer [here](https://docs.opsmx.com/products/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/pipeline-management/run-a-pipeline).
{% endhint %}

## Instruction Video&#x20;

Here's a short video that provides quick step-by-step instructions to create a pipeline:

{% embed url="<https://www.youtube.com/watch?v=ByaaGj60RLk>" %}
