Getting Started

Setting up our No-Code CI integration is straightforward. Follow these three steps:

  1. Create a repository integration
  2. Create a No-Code integration
  3. Set-up the No-Code integration

1. Create a repository integration

Integrate your code repository using the appropriate integration.

2. Create a No-Code integration

In the Datafold app, create a No-Code integration.

3. Set up the No-Code integration

Complete the configuration by specifying the following fields:

Basic settings

Field NameDescription
Configuration nameChoose a name for your Datafold integration.
RepositorySelect the repository you configured in step 1.
Data ConnectionSelect the data connection your repository writes to.

Advanced settings: Configuration

Field NameDescription
Pull Request LabelWhen this is selected, the Datafold CI process will only run when the ‘datafold’ label has been applied.
Custom base branchIf defined, the Datafold CI process will only run on pull requests with the specified base branch.

4. Create a pull request and click Add data diffs to create a new Data Diff in the Datafold app.

5. Create a new Data Diff

Configure your data diff depending on the diff type:

6. Your Data Diff has been created! Add a summary of the downstream impact.

Click on Save and Add Preview to PR:

7. In your PR, view the Datafold bot’s comment:

8. Set up is now done:

Cloning diffs from the last CI run

When you update your SQL file again, note that clicking on the Add Data Diff button generates a new CI run in Datafold. You can now either:

  • Create a new Data Diff from scratch
  • Clone diffs from the last CI run

You can diff downstream by clicking on the Add Data Diff button in the Downstream Impact table. This creates an additional Data Diff:

When you add a summary of the downstream PR again, you’ll see that a second summary has been added to the Datafold bot’s comment in your PR.