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
FYI: Latch currently supports Python >=3.8, <3.11. Learn More...
FYI: Latch currently supports Python >=3.8, <3.11. Learn More...
We recommend installing Latch SDK in a fresh environment for best behavior.This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.Now, you are in a Linux environment and can create a virtual environment like so:
For Linux/ MacOS
You can usevenv
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 usevenv
.- First, install the WSL command:
- Activate the Linux shell:
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
-
Congratulations! You successfully uploaded your first workflow to Latch
- Visit a detailed tutorial on how to author your own workflow.
- Understand how to test and debug your workflow.