# Conversion Of external pipelines to Tekton Pipelines

There are two ways in which you can Convert an external pipeline :\
\
**By Linking an External Pipeline Integration:**

Refer to this documentation on how to link an external pipeline and the supported integrations

Once you have synced all your pipelines, click on convert, for the pipeline you need to be converted\
\
a) By converting an existing pipeline synced through an Integration ( for *Azure DevOps pipelines, Jenkins pipelines*)

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FiHKsdOINEdNgx0kLNCdZ%2FScreenshot%202024-05-09%20at%2011.00.44%E2%80%AFPM-20240509-184857%20(1).jpg?alt=media&#x26;token=00b6ef72-43ef-4a10-b97c-2114e328b680" alt=""><figcaption></figcaption></figure>

b) By converting an existing pipeline synced through an Integration for (*GitLab pipelines) and pipelined linked to your repository*\
to convert a pipeline that is linked to your GitLab repos repository you need to sync the repositories that contain your pipeline by creating a repository Integration, you can click **Add a new integration** link shown in the dialogue box (to know how to create a repository integration

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FHDXzJFXyucpZ9IMiUUEx%2FScreenshot%202024-05-10%20at%201.13.19%E2%80%AFAM.png?alt=media&#x26;token=feb0b674-2e7a-4b0c-8569-c5df3071f7ff" alt=""><figcaption></figcaption></figure>

Once you have the repository your pipeline resides in, click on **Import**, here it will show you the folders in your repository amongst which you can choose the file that has your pipeline and click on **Continue** and follow step 2

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FJ06Caz9Wx3bGEzk0wOUv%2FScreenshot%202024-05-10%20at%201.15.20%E2%80%AFAM.png?alt=media&#x26;token=a3b0742a-b11b-4a79-ac4b-848145d53d90" alt=""><figcaption></figcaption></figure>

c) By importing a standalone pipeline without integration with ozone click import on the top right

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FOOyFeF5rj3cXrdWhUcat%2FScreenshot%202024-05-09%20at%2011.00.44%E2%80%AFPM-20240509-190627.jpg?alt=media&#x26;token=9f4b283b-b95e-41b1-8111-8a1840839933" alt=""><figcaption></figcaption></figure>

On this page choose the type of pipeline paste your code into the editor below and then click on convert

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FsGhBuoTRR2d5EtphP5rs%2FScreenshot%202024-05-09%20at%2010.10.51%E2%80%AFPM-20240509-193646.jpg?alt=media&#x26;token=181d1158-3cf7-43d4-ada1-3dcaf833fd93" alt=""><figcaption></figcaption></figure>

2. Once you click on convert, you will be able to see the converted pipeline below like this, if you are not satisfied or want changes you can use the chat box below for further modifications

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FTcx2ePXmNS1xJ798fwPS%2Fimage-20240509-185428.png?alt=media&#x26;token=e44d453b-d96e-4ae4-baaf-e1c2e1f61f1a" alt=""><figcaption></figcaption></figure>

3. To view the original pipeline you can click the toggle switch

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FNFo31FvMFnaNZLFvUzh3%2FScreenshot%202024-05-09%20at%2010.11.42%E2%80%AFPM-20240509-185651.jpg?alt=media&#x26;token=d34b9a40-7169-40f2-b63c-174b2e826cc8" alt=""><figcaption></figcaption></figure>

<br>
