Skip to main content
Steps to complete:
  1. Run SQL script and create schema for Datafold
  2. Configure your data connection in Datafold

Run SQL script and create schema for Datafold

To connect to Amazon Redshift, create a user for Datafold with two permissions:
  • Read access (SELECT) to the schemas and tables you want to diff. Datafold only reads from your main database.
  • Write access to one dedicated temporary schema, which Datafold uses to materialize scratch work and keep data processing in your warehouse.
Create the temporary schema, create the user, and grant these permissions with the script below. Repeat the two GRANT ... <myschema> statements for each schema you want Datafold to read.
Grant read access to every schema in your diff or CI scope. If Datafold references a schema the user cannot read, diffs and CI runs against that schema will fail.

Column-level lineage (optional)

To build column-level lineage, Datafold reads Redshift’s system query logs. Grant the user access to them:

Configure in Datafold

Click Create. Your data connection is ready!