Skip to main content
This requires an account on Latch. Register for a free account and log into the Latch Console

1. Install Latch:

Run this in your terminal to install the Latch CLI and all of its dependancies:
Terminal
We recommend installing Latch SDK in a fresh environment for best behavior.

For Linux/ MacOS

You can use venv to a create an fresh enviroment to install the Latch SDK.

For Windows

The Latch SDK is a Python package, so we recommend installing Latch SDK in a fresh environment for best behavior. To do so, you can use venv.
  1. First, install the WSL command:
This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.
  1. Activate the Linux shell:
Now, you are in a Linux environment and can create a virtual environment like so:

3. Authenticate with Latch

Run this to authenticate your Latch CLI locally. This will open up a new browser window and authenticate the CLI using your account’s API key.
Terminal

4. Create your first workflow from a template

This will download the subprocess workflow template using the Latch SDK framework to a directory called covid-wf.
Terminal

5. Register your workflow

This will upload your workflow to your account here on Latch where you can then view the parameters and run it.
Terminal
To launch the workflow, use the Test Data button at the top of the parameters and click Launch.
  1. Congratulations! You successfully uploaded your first workflow to Latch

Next steps are: