Skip to main content

Install an integration package

Install an integration package with pip. 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 in prefect-aws:
To use a block’s 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 the read_secret task with the following code:

Customize tasks and flows from an integration

To customize pre-configured tasks or flows use with_options. For example, configure retries for dbt Cloud jobs: