> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Source Control in FlexDeploy

> Source Control Click on the source repository dropdown. If you have already created a connection to your source code repository, select it from the li

### **Source Control**

Click on the source repository dropdown. If you have already created a connection to your source code repository, select it from the list.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923084.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=704bf21a60bdeb66ac8f8e424e097f29)

Otherwise, add one by clicking on “**Create new Source Repository**”.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923075.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=f3ed72a223350d1a084d1accdecb8ee8)

### **Inputs Info**

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><td>**Field**</td><td>**Required**</td><td>**Description**</td></tr><tr><td>Name</td><td>Yes</td><td>A descriptive name for this SCM instance.</td></tr><tr><td>Code</td><td>Yes</td><td>A technical code for the instance, without any spaces.  The codes are available as variables to shell and Groovy scripts, and therefore needs to comply with their limitations. </td></tr><tr><td>Source Control Type</td><td>Yes</td><td>Type of Source Control Management System.  We will use **Git** for this tutorial.Supported Source Control Management Systems are:<ul><li>Subversion</li><li>Git</li><li>Microsoft TFS Version Control</li><li>PVCS</li><li>CVS</li><li>Perforce</li><li>File System</li></ul></td></tr><tr><td>Description</td><td>No</td><td> </td></tr><tr><td>SCM Properties</td><td>Yes</td><td>The remaining properties are specific to the selected SCM.For Git:<ul><li>Git URL</li><li>Git User</li><li>Git Password</li><li>Git Timeout (optional)</li><li>Git File Content (optional)</li><li>Git File Content Commit URL (optional)</li></ul></td></tr></tbody></table>

We selected the SCM type as **GIT**. The properties related to the GIT source control management will be displayed on the screen.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923081.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=00113b54e3f44e42136044202a38c5ce)

Click on **Create New Credential** to create a new credential password for the GIT password. Enter the credential Name which is a unique name to identify the password. In the secret text, enter the password and click on **Save**.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923087.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=26ab85f1db77330dbc0af7714fdc6a3e)

After saving the credential, click on **Save** again on the SCM instance. Do a **Test Connection**. The green color ticket mark will show that the connection is successful.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923090.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=aad7c5456c1c14769b9c3121c84aa9a0)

Enter the sparse checkout folder value, if any.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590923951.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=755356302e449a3956a73894d040fba3)

You have executed the Source Control configuration through FlexDeploy. It is extremely easy to replicate the same steps for other flows as well.
