Install an integration package
Install an integration package withpip
.
For example, to use prefect-aws
:
Register blocks from an integration
Once the packages is installed, register the blocks within the integration to view them in the Prefect Cloud UI: For example, to register the blocks available inprefect-aws
:
load
method, you must have a block saved. Learn more about blocks.
Use tasks and flows from an Integration
Integrations may contain pre-built tasks and flows that can be imported and called within your code. For example, read a secret from AWS Secrets Manager with theread_secret
task with the following code:
Customize tasks and flows from an integration
To customize pre-configured tasks or flows usewith_options
. For example, configure retries for dbt Cloud jobs: