docs/v3/resources/recipes.mdx
Prefect recipes are common, extensible examples for setting up Prefect in your execution environment with ready-made ingredients such as Dockerfiles, Terraform files, and GitHub Actions.
These recipes show you how to deploy a worker, use event-driven flows, set up unit testing, and more.
The following recipes are specific to Prefect 2. You can find a full repository of recipes at https://github.com/PrefectHQ/prefect-recipes.
We're always looking for new recipe contributions. See the Prefect Recipes repository for details about how to add your Prefect recipe, share best practices with fellow Prefect users, and earn some swag.
Prefect recipes provide a cookbook of helpful code examples and common steps for specific Prefect use cases.
Contribute recipes that other Prefect users could benefit from (for example, a Prefect flow that loads data into Snowflake).
Have a blog post or tutorial you'd like to share as a recipe? All submissions are welcome. Clone the prefect-recipes repo, create a branch, add a link to your recipe to the README, and submit a PR.
How to create a recipe:
# Clone the repository
git clone [email protected]:PrefectHQ/prefect-recipes.git
cd prefect-recipes
# Create and checkout a new branch
git checkout -b new_recipe_branch_name
flows-advanced/ folder. A Prefect Recipes maintainer will help you find
the best place for your recipe. To direct others to a project you made, such as a repo or a blogpost,
link to it in the Prefect Recipes README.A thoughtful README can take a recipe from good to great. Here are some best practices for a great recipe README:
We hope you'll feel comfortable sharing your Prefect solutions as recipes in the prefect-recipes repo. Collaboration and knowledge sharing are defining attributes of our Prefect Community.
Have questions about sharing or using recipes? Reach out on our active Prefect Slack Community.