Getting Started

A step-by-step guide to building, deploying, and iterating on Flyte tasks and workflows


We recommend using an OSX or a Linux machine, as we have not tested this on Windows. If you happen to test it, please let us know.

Implement Your Workflows in Python


Make sure you have Git, and Python >= 3.7 installed. Also ensure you have pip3 (mostly the case).

Start a new project / repository

Install Flyte’s Python SDK — Flytekit (recommended using a virtual environment) and clone the flytekit-python-template repo.

pip3 install flytekit --upgrade
git clone myflyteapp
cd myflyteapp

The repo comes with a sample workflow, which can be found under myapp/workflows/ The structure below shows the most important files and how a typical Flyte app should be laid out.

Run the Workflow Locally

The workflow can be run locally, simply by running it as a Python script; note the __main__ entry point at the bottom of the file.

python myapp/workflows/


🎉 Congratulations! You just ran your first Flyte workflow locally, let’s take it to the cloud!