# Connect a Project via Reverse Proxy Server

The setup allows you to connect a project to a Scheduling server hosted in a network behind a Reverse Proxy server.

## Prerequisites

To configure this specific setup you need to have the following in advance:

* A ready to use <a href="/automated-tests/scheduling/overview" target="_blank">Scheduling setup</a>. It can be configured for a single machine, or for a multi machine configuration.

* Dedicated certificates issued for the communication between the Test Studio standalone application and reverse proxy machine. As an example you can check the steps listed <a href="/knowledge-base/scheduling-kb/configure-reverse-proxy#create-certificates" target="_blank">here to create self-signed Root CA, Server and Client certificates</a>.

* A reverse proxy server configured to use TLS and enabled client certificate authentication. You can find <a href="/knowledge-base/scheduling-kb/configure-reverse-proxy#reverse-proxy-configuration" target="_blank">here an example on configuring a nginx server for Windows</a>.

## Connect the Project to Schedule Test Lists on Remote Execution Machines via Reverse Proxy

Open the Test Studio project on the machine which connects the Scheduling setup via the reverse proxy. Click the **Connect** button from the `Scheduling` ribbon in the **Project** tab.

![Connect](https://www.telerik.com/teststudio/documentation/assets/65f3fdb75c11ba5f4aaceaf6c206d29d/fig4.png)

In the **Scheduling Server Settings** dialog, choose **Reverse Proxy (Advanced)** radio button to connect the project to the configured Scheduling server hosted behind the proxy.

![Reverse proxy connect](https://www.telerik.com/teststudio/documentation/assets/6fabe173defff154b0d26ae9866680a4/fig1a.png)

### Communication Key

The **Communication Key** lets you import the key generated in the Scheduling Config wizard. The text field remains empty to keep safe the value of the key in use. To indicate a key is in use ensure the **Loaded** status is present.

![Reverse proxy connect-communication key](https://www.telerik.com/teststudio/documentation/assets/24a1d5b3b955d2013977f58d90c36775/fig2a.png)

> **Tip**
> <br>
> <br> In case the communication key is not matching, you need to import the current key in use. Check <a href="/knowledge-base/scheduling-kb/generate-communication-key#generate-new-key" target="_blank">here how to generate a new key and import it for all Scheduling components</a>.

### Client Certificate

The **Client Certificate** lets you insert the client certificate issued for the client machine. Ensure to install the certificate \*.PFX on the client machine and add it to the certificate store. Then, the client certificate is stored in the **Current User Personal Certificate Store**. Use the <a href="https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-retrieve-the-thumbprint-of-a-certificate" target="_blank">certificate thumbprint</a> to import it.

![Reverse proxy connect- certificate](https://www.telerik.com/teststudio/documentation/assets/8ef63626239d7607dc3669eb59163e1f/fig2b.png)

> **Tip**
> <br>
> <br> Check <a href="/knowledge-base/scheduling-kb/configure-reverse-proxy#create-certificates" target="_blank">here an example for issuing self-signed certificates to use for the Reverse Proxy configuration</a>.

The text field remains empty to keep safe the thumbprint of the certificate in use. To indicate a certificate is in use ensure the **Loaded** status is present.

### Reverse Proxy Server Name

Enter the machine name for the machine which hosts the reverse proxy server and the port on which it is configured (the example uses 9009), then click **Connect**.

![Run via proxy](https://www.telerik.com/teststudio/documentation/assets/e12cfee8c0b14a5afe987a1bf621ca61/fig2.png)

> **Tip**
> <br>
> <br> Check <a href="//knowledge-base/scheduling-kb/configure-reverse-proxy#reverse-proxy-configuration" target="_blank">here an example for setting up a Reverse Proxy configuration using nginx for Windows</a>.

There's a confirmation message when the connection is successful.

![Connection successful message](https://www.telerik.com/teststudio/documentation/assets/a026f39cfca36e99953989da47fa3472/fig3a.png)

## Confirm Connection

Once the connection is successfully established, click the **Confirm** button to apply the changes in the project.

![Confirm Reverse proxy connection](https://www.telerik.com/teststudio/documentation/assets/bf9c4ef49ded1cc638b7b748d0027f2b/fig3.png)
