> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/isd-spinnaker/opsmx-intelligent-software-delivery-isd-platform-spinnaker/release-notes/additional-resources/previous-releases/isd-3.10/opsmx-intelligent-software-delivery-platform/opsmx-isd-setup/applications/services-and-pipelines/add-services-and-pipelines.md).

# Add services and pipelines

{% hint style="info" %}
This is an older version of the document. To view the most recent version of the document, click [here](https://docs.opsmx.com/products/opsmx-intelligent-software-delivery-platform/system-setup/applications/add-services/add-services-and-pipelines).
{% endhint %}

[Services and Pipelines](https://app.gitbook.com/s/-MBEa1hoX6SqpDj-ymNs/~/changes/2VgvOJ1WvEYWHqvike2b/opsmx-intelligent-software-delivery-platform/isd-architecture/opsmx-isd-setup/services-and-pipelines) After creating the main application, you need to add the components to the application. These components are know as services/micro services. A micro service is always associated with an application.&#x20;

To add services, follow the steps given below:

1. After clicking the Save and Next button, the following screen will appear:

![Create Service](/files/-MNMfOmkid3sBDZcVlGs)

Enter the Service Name in the text box and click Save. The following options screen will appear:

![](/files/-MWwUdMt04LDfBfm5NG7)

In the above image, a pipeline test\_Service has been created along with the servic&#x65;*.* Click the test\_Service pipeline to make changes to the pipeline. Refer to the image below:

![](/files/-MWwWSiT_lVAj-Q6Vk6W)

After clicking, the following options will appear:

![](/files/-MWwX9JyUdq-j613S1YL)

In the above screen, you can do the following:

* **Type :** Select the type of gate using the drop-down, the options are Approval and Verification. A gate is an access point which allows you to stop the pipeline to automatically go to the next stage. A gate helps you to manually intervene and verify or approve a stage of the pipeline before moving on to the next stage in sequence. The following are the options:

### **Type Verification**

If you select the gate type as verification, you can do the following:&#x20;

* Select or add a Log Template. To know more on log templates click [here](https://docs.opsmx.com/autopilot/analysis-setup/templates/log-template).
* Select or add a Metric Template. To know more on metric templates click [here](https://docs.opsmx.com/autopilot/analysis-setup/templates/metric-template).

![](/files/-MU8JnlfbOECnTSc2bY1)

### **Type Approval**

If you select the gate type as approval, you can do the following:

* Select the connector from the drop-down. The available connectors are:
  * JIRA
  * GIT
  * AUTOPILOT
  * SONARQUBE
  * JENKINS
  * AQUAWAVE
  * APPSCAN
* Select the Account from the drop-down.
* Select the template from the drop-down.

![](/files/-MU8L16ofJGdBLXZv5yG)

### **Type Test Verification**

If you select the gate type as verification you can only add a log template as shown below:

![](/files/-MWwaBYZxhbGCallUj1t)

### **Type Policy**

If you select the type as Policy you will be to select the Policy from the Policy Configuration field as shown below:

![](/files/-M_V37LGQ_XLwYN-vmnJ)

* After selecting the type there are some common fields which appears irrespective of the type selected. They are as follows:

![](/files/-MWwZvPvcz6I-IK7RsM5)

* **Environment :** Any gate is associated with an environment. An environment can be a testing environment, a staging environment or a production environment. Each environment are distinct and will have different credentials. Based on the environment the stages of a pipeline will vary. Click the drop-down and select Add Environment. Enter the name of the environment as shown below:

&#x20;&#x20;

![](/files/-MU8IPpzH8sZdOYuHbd7)

* **Gate Name :** Enter the name of the gate in the text box.
* Click Save to add the gate. You can add multiple gates to one service. Click the Add New Gate button as shown below:

&#x20;   &#x20;

![](/files/-MU8P1vHMxb0nfsFowrw)

* When you are trying to add a second gate you can set the dependency of the new gate on a previous gate. To do so, select the previous gate from the Depends On drop-down as shown below:

![](/files/-MU8PsYQIf0qiQgL8ihk)

* After adding multiple gates to a service the Pipeline View will appear as shown below:

![](/files/-MU8QFnL0NeOiLMCQvCR)
