v5 Connections and CLI Installation Guide

This page details the steps for installing the Connections Experience (for Cinchy v5) used in creating data syncs.

Overview

The Connections Experience is designed to facilitate 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).

In a Kubernetes deployment of the Cinchy Platform, Connections is automatically installed with the exception of the CLI. If you are on Kubernetes and want to deploy the CLI, you can skip to section 3 of this page.

Prerequisites

1. Downloading the Resources

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

The Connections.zip file contains: Worker.zip, WebApi.zip, and CLI.zip.

2. Extract the WebApi.zip to the folder where you want to host the applet.

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

2. Deploying 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

Set-ItemProperty "IIS:\AppPools\$applicationPoolNameConnections" -Name Recycling.periodicRestart.privateMemory -Value 0

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. Update the columns “Permitted Login Redirect URLs” and “Permitted Logout Redirect URLs” to “<url>/connections” where Client ID = “cinchy_connections_experience”

  2. Within the Cinchy platform, navigate to the [Cinchy].[Applets] table. Update the column “Application URL” to “<url>/connections” on the record where name=“Connections”.

  3. Configure the Connections applets as follows:

  • Update the C:\Connections\appsettings.json properties to match your environment:

  • Update the C:\Connections\ClientApp\dist\assets\config.json as follows:

6. Create the IIS Application by running the following command in Powershell:

New-WebApplication -Name connections -Site 'Default Web Site' -PhysicalPath C:\Connections -ApplicationPool 'Cinchy Connections'

3. Running the CLI

The Cinchy CLI is a command line program you run against to encrypt, export data, or run data syncs. By design it is agnostic to IIS and Kubernetes

  1. If you have not already, navigate to the Cinchy Releases table and download the latest Cinchy Connections.zip file from the Release Artifacts column.

  2. Extract the CLI.zip folder to your machine.

  3. From the CLI folder, either:

    1. Run the Cinchy.Connections.CLI.exe; or

    2. Run the Cinchy.Connections.CLI.dll using the "dotnet Cinchy.Connections.CLI.dll" command.

If you are running the CLI on a Mac or Linux machine: you must use the .dll command and have .NET 6.0 installed.

If you are running the CLI on a Windows machine: you may choose to use the .dll (in conjunction with .NET 6.0) or the .exe based on personal preference.

Review the list of CLI commands here.

Last updated