# IT-Conductor Gateway Setup on Windows

The IT-Conductor Gateway enables communication between the customer's site network and the IT-Conductor cloud platform. It must be connected successfully before any private customer systems can be monitored by IT-Conductor.

### Installation Instructions

1. In IT-Conductor, navigate to **Support → Downloads →** [**Gateway Downloads**](https://service.itconductor.com/objectSavedSearch?OBJECT_Id=55792548)**.**

![Figure 1: Gateway Installation Media Downloads](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FMqVnPyDjAV9NzRP1mCxU%2FGateway%20Installation%20Media%20Downloads.png?alt=media\&token=3327b14a-8a6d-44a7-a0f5-1eb86b65c98c)

2. Download **itcgtwx64.net.45.msi.**

{% hint style="info" %}
**Note:** This requires Windows Server 2008 R2 and later with .NET 4.5 or later.
{% endhint %}

3. Run the downloaded **itcgtwx64.net.45.msi** file and click **Next**.

![Figure 2: IT-Conductor Agent Setup Wizard](https://service.itconductor.com/iconShow?iconName=Help.agent.install.windows.1)

4. Accept the End User License Agreement and click **Next**.

![Figure 3: End User License Agreement](https://service.itconductor.com/iconShow?iconName=Help.agent.install.windows.2)

5. Choose the setup type that best suits your needs.

![Figure 4: Choose Setup Type](https://service.itconductor.com/iconShow?iconName=Help.agent.install.windows.3)

{% hint style="info" %}
**Note:** You can only select the installation folder if "Custom" is chosen.
{% endhint %}

6. When the installation is complete, tick the **"Launch Agent Configuration when Setup exits"** checkbox and click **Finish.**

![Figure 5: Completed the IT-Conductor Agent Setup Wizard](https://service.itconductor.com/iconShow?iconName=Help.agent.install.windows.4)

7. The Gateway Configuration window will open. You can also start it at any time from Program Menu under "IT-Conductor\Agent\\".
8. In the **Connection** tab, fill in the following fields:

* **Account ID** - This is the Service Account ID.
* **API Key** - The API Key for the Service Account will be generated when the Service Account is created.

To obtain the Service Account ID and API Key in IT-Conductor, navigate to **Management → Security → Service Accounts**.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FkZ7dmR2r76xYjOfxkkjD%2Fservice-accounts.png?alt=media&#x26;token=8e6e0d0f-636b-4716-a4b3-734a2e5f5f36" alt=""><figcaption><p>Figure 6: IT-Conductor Service Accounts</p></figcaption></figure>

Then, select the account to display the configuration details, as shown in Figure 7.

<figure><img src="https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fc3vhPLPhPtkk0uBQNW8A%2Fservice-accounts-properties.png?alt=media&#x26;token=5204667a-265f-467b-86ad-f0637e5622fb" alt=""><figcaption><p>Figure 7: IT-Conductor Service Account Properties</p></figcaption></figure>

* **Agent ID** - This is the ID for one of the Gateways created by your administrator earlier.

To obtain the Gateway ID in IT-Conductor, navigate to **Management → Resources → Gateways**.

![Figure 8: IT-Conductor Remote Gateways](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fdo3nkmF8QyJ0DdPrJqWW%2FGateway%20ID.png?alt=media\&token=42a49977-35ce-4190-b4b5-779d5ff468b6)

9. Click **Test** to verify the configuration.

![Figure 9: Test Connection](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FiJdnxuh8XALFJQntOtso%2FGatewayWin64.png?alt=media\&token=2054583d-bfab-48ad-bb52-76a3b83b91fa)

10. Switch to the **Service** tab and fill in the following fields:

* **Java Home** - Choose the folder containing "Java 8x64 Runtime Environment" or click **Install/Update** to download the latest JRE from the IT-Conductor platform to the agent folder and set Java Home accordingly.

![Figure 10: IT-Conductor (Not Responding)](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FI5DZQNlszfga5zfLBOez%2F56066074?alt=media)

We recommend using the latest JRE supported by IT-Conductor by using the **Install** button.

{% hint style="info" %}
**Note:**

* For 1st-time installations, the **Install** button will appear. Else, the **Update** button will show.&#x20;
* Clicking **Install** will download the JRE from Oracle, so it may take a few minutes (depending on Internet connection speed).
* It is normal to see the status "IT-Conductor (Not Responding)" while this download and installation occurs.
  {% endhint %}

Once the Installation of JRE is successful, the Java Home will be automatically updated.

![Figure 11: Installation Successful](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Frm8XPBbTzjCIMq1uwQWg%2F55607310?alt=media)

* **Java Heap Size** - if needed, increase the Java maximum heap size. 500m is the minimum but at least 1000m is recommended.

11. Click **Update Gateway** to download the latest version of the Gateway.
12. When all is completed, click **Save** and start the Gateway service.
13. Close the configuration window.

### Firewall Configuration (Optional)

If the machine you are installing the Gateway has a Windows Firewall turned on and it is configured to block all outgoing connections by default, you will need to add an exception to allow the IT-Conductor Gateway to connect to the IT-Conductor Cloud Service:

1. Open Control Panel Windows Firewall configuration.
2. Click **Allow an app or feature through Windows Firewall**.
3. Click **Allow another app.**
4. Next to the **Path** field, click **Browse** and select **c:\Program Files\IT-Conductor\Agent\bin\ITCAgent.exe**.
5. Click **Network Types** to select the networks.
6. Click **Add**. Then click **OK** to complete the configuration.
