Skip to Content
AnalyticsPrefectGetting Started

Getting Started with Prefect

Prerequisites

Ensure you have Python 3.11, Docker + Docker Compose, and access to the Prefect server before continuing.

cd apps/analytics/prefect

Copy the environment file

cp env-sample.txt .env

Fill in DB connection strings and source system API credentials in .env.

Start local services

docker-compose up -d

This starts the Prefect server and worker containers.

cd .prefect

Install dependencies

pipenv install

Deploy all workflows

prefect deploy --all

This reads prefect.yaml and registers all deployments with the Prefect server.

Open the Prefect UI

Navigate to http://localhost:4200  to monitor flows and deployments.

In production, Prefect runs on Kubernetes. See Infrastructure → Kubernetes → Helm Charts for the prefect chart. The Prefect server, agents, and workers are all Helm-managed.

Last updated on