
Dependency types
There are three types of dependencies for SQL projects.Prophecy Project
When you import a project from the Package Hub as a dependency, you gain access to all its components, including pipelines, gems, and functions for use in your own project. If a new version of the project is published, you can update your dependency version to take advantage of the latest changes. Prophecy Project dependencies have the following parameters:GitHub
Dependencies can be saved to GitHub repositories and imported from there. GitHub dependencies have the following parameters:dbt Hub
Packages in the dbt Hub can be used to extend typical SQL functionality. If the package contains macros, you can use them via the Macro gem. dbt Hub dependencies have the following parameters:Add a dependency to your project
To add a dependency to your project:- Open the project settings menu beside the project name in the project header.
- Select Dependencies.
- Click + Add Dependency.
- Choose the dependency type (Project, GitHub, or DBT Hub).
- Fill in the required fields to import the correct package version.
- Click Create.
- Click Reload and Save to validate and download the new dependency.
Dependencies are stored at the project level within the
packages.yml file of the project code.
Use dependency components in your project
When you add a dependency to your project:- The dependency will be visible in the Packages section of the left sidebar. Expand a dependency to view the various functions, gems, and other components that it may contain. You can drag these components directly onto the visual canvas.
- Any gems in the package will automatically appear in the gem drawer on the canvas itself.

