Prefect welcomes contributions to existing integrations.

Thinking about making your own integration? Feel free to create a new discussion to flesh out your idea with other contributors.

Contributing to existing integrations

All integrations are hosted in the Prefect GitHub repository under src/integrations.

To contribute to an existing integration, please follow these steps:

1

Fork the repository 🍴

2

Clone your fork πŸ‘―

git clone https://github.com/your-username/prefect.git
3

Create a new branch 🌲

git checkout -b my-new-branch
4

Set up your environment πŸ“‚

Move to the integration directory and install the dependencies:

cd src/integrations/my-integration
uv venv --python 3.12
source .venv/bin/activate
uv pip install -e ".[dev]"
5

Make your changes πŸ‘©β€πŸ³

Make the necessary changes to the integration code.

6

Add tests πŸ§ͺ

If you’re adding new functionality, please add tests.

You can run the tests with:

pytest tests
7

Submit your changes πŸ“¨

git add .
git commit -m "My new integration"
git push origin my-new-branch
8

Create a pull request ⏰

Submit your pull request upstream through the GitHub interface.