Skip to main content

Install Connections (IIS)

Overview

The Connections Experience facilitates the creation of data syncs through an easy to use Cinchy UI. Once installed, you can access Connections directly through your Cinchy platform using the applet (Image 1).

Image 1: The Connections Applet

caution

In a Kubernetes deployment of the Cinchy Platform, Connections is automatically installed. The below steps refer only to an IIS deployment of the Cinchy Platform.

Prerequisites

Connections Requirements:

  • 4 x 2 Ghz Processor
  • 16-24GB RAM

Download the resources

  1. Navigate to the Cinchy Releases table and download the latest Cinchy Connections.zip file from the Release Artifacts column.
info

Connections.zip has the following files:

  • Worker
  • WebApi
  • CLI
  1. Extract the WebApi.zip to the folder where you want to host the applet.
info

We suggest to create the following path and extract it there: C:\Connections\

Deploy Connections

  1. On a Windows Server machine, launch an instance of PowerShell as the Administrator.
  2. Run the below commands to create the IIS application pool and set its properties.
Import-Module WebAdministration

$applicationPoolNameConnections="Cinchy Connections"

New-WebAppPool -Name $applicationPoolNameConnections

$appPath = "IIS:\AppPools\"+ $applicationPoolNameConnections

$appPool = Get-IISAppPool $applicationPoolNameConnections

$appPool.managedRuntimeVersion = ""

Set-ItemProperty -Path $appPath -Name managedRuntimeVersion $appPool.managedRuntimeVersion

Set-ItemProperty "IIS:\AppPools\$applicationPoolNameConnections" -Name Recycling.periodicRestart.time -Value 0.00:00:00

Set-ItemProperty "IIS:\AppPools\$applicationPoolNameConnections" -Name ProcessModel.idleTimeout -Value 1.05:00:00
caution

Steps 3 and 4 are only needed if you deployed your Cinchy instance along a base path.

  1. Within the Cinchy platform, navigate to the [Cinchy].[Integrated Clients] table (Image 2).

Image 2: Integrated Clients table

  1. Navigate to the row where the Client ID column is cinchy_connections_experience (Image 3).

Image 3: Navigate to the row where the Client ID column is " cinchy_connections_experience"

  1. In that same row, update the columns “Permitted Login Redirect URLs” and “Permitted Logout Redirect URLs” to <url>connections (Image 4).

Image 4: Update Permitted Redirects

  1. Within the Cinchy platform, navigate to the [Cinchy].[Applets] table (Image 5).

Image 5: The Applets table

  1. Navigate to the row where the Name column is "Connections" (Image 6).

Image 6: Navigate to the row where the Name column is &quot;Connections&quot;

  1. Update the column “Application URL” to <baseurl>connections (Image 7).

Image 7: Update the Application URL column

  1. Navigate to C:\Connections\Cinchy Connections WebApi\appsettings.json and update the below properties to match your environment:
ParameterDescription
URLThis is the private URL of your Cinchy environment.
TempDirectoryThis should be a path pointing to an existing folder that will hold all of your log and error files.
StorageTypeSelect either Local, S3, or AzureBlobStorage.
BasePathOverride(Optional) Connections should be hosted on /connections. If it's hosted on another URL path, this property must be populated with the relative path ( /instance/connections or / if deployed to the root)
  1. Navigate to C:\Connections\Cinchy Connections WebApi\ClientApp\dist\assets\config\config.json and update the below properties to match your environment:
ParameterDescription
authorityYour public CinchySSO URL in lowercase (ex: <base-url>cinchysso)
cinchyRootUrlYour public Cinchy URL (ex: <base-url>Cinchy)
redirectUrlThe applet’s public URL (ex: <base-url>connections)
silentRefreshRedirectUriThe applet’s public URL plus the silent refresh path.
modelThe model where your data sync configs are. Keep this as “Cinchy” if you don’t know.
domainThe model where your data sync configs are. Keep this as “Cinchy” if you don’t know.
useHttpsShould be true if your Cinchy platform is hosted on a secure environment
serverYour private Cinchy URL without “http://” or “https://”
  1. Create the IIS Application by running the following command in an instance of PowerShell:
New-WebApplication -Name connections -Site 'Default Web Site' -PhysicalPath C:\Connections -ApplicationPool 'Cinchy Connections'