Install PlaidLink
Download the Agent
Section titled “Download the Agent”Download the Windows agent from https://storage.googleapis.com/plaidcloud-cdn/agent/PlaidLink-win-<version>.zip, with the version you’ve been asked to install in place of <version>, for example 1.2.37. The file of the same name with .sha256 added holds the archive’s SHA-256 checksum. Releases before 1.2.37 may have none.
Extract the Agent
Section titled “Extract the Agent”Extract the downloaded zip file to an install location of your choice. Generally, this location will be:
C:\Users\<Username here>\src\plaidlinkEnrol From a Setup Link
Section titled “Enrol From a Setup Link”When a PlaidCloud user sends you a Data Foundation setup link, enrol the agent instead of creating the configuration file by hand. Enrolling needs PlaidLink 1.2.37 or later. On the setup page, click Show enrolment code. Then, in the agent’s install directory, from an administrator command prompt, run the Windows command the page shows:
PlaidLink.exe enrol <host><host> is the host name the setup page shows, without https:// or a path. The command asks for the enrolment code and doesn’t show it as you type. It writes the agent’s environment to %ProgramData%\plaidcloud\config.yaml and keeps any other environment already there. Then install the agent’s service, or restart it if it’s running.
A code works once. If the command can’t read or write config.yaml, it stops before using the code. If it says the code isn’t valid or has expired, show a new code on the setup page and run the command again. Once the agent is enrolled, the page gives no new code: for another server, ask for a new link.
Create a Configuration File
Section titled “Create a Configuration File”Copy the config-dist.yaml file in the agent’s directory to %ProgramData\plaidcloud\, and rename this copy config.yaml
(Edit this configuration with the values retrieved from PlaidCloud)
Install the Agent’s Service
Section titled “Install the Agent’s Service”Run the install_windows_service.bat file in the agent’s install directory OR
From an administrator command prompt, navigate to the agent’s install directory and run:
.\PlaidLink.exe installRunning the Agent
Section titled “Running the Agent”Type Services into Windows’ search bar and open the service manager. In the list of services, find PlaidCloud Agent.
Right-click the service and select “Start” to start the agent.
Freezing Updates
Section titled “Freezing Updates”If at any point you want to disable the agent’s auto-update feature, open the agent’s ‘yaml’ configuration file,
and at the root level of the file, add a line that reads freeze_updates: true, and restart the agent’s service.