GitHub
Integration GitHub with Synq
This guide will show you how to securely connect Synq to your dbt source code by using GitHub’s deploy keys.
We need this information so we can extract information about code changes to your dbt models and link these to your data assets to make debugging dbt models easier.
To be able to finish this guide, you’ll need the following:
→ Access to GitHub
→ Admin Access to your dbt or Looker repository (only repo admins can add deploy keys).
⏱️ Estimated time to finish: 10 minutes.
Access
We follow the least privilege principle and require read-only access limited to the selected repository that contains your dbt source code.**
Name your integration
For example dbt Cloud GitHub
Repository URL
The full URL of the Git repository that contains your dbt or Looker project (we only support SSH URLs).
Branches to analyze
Synq, by default, analyses a master
and main
branches. If you prefer for us to process the code from any other branch, provide the name.
Path to analyze
Synq, by default, looks for your source code in the root of the repository. If you store your code in a sub-directory, please provide us with a path (e.g., dbt/
if your dbt project uses dbt/
as a directory). In most cases, it is best to leave to use default to analyze everything in the repository.
Copy the Public key
Click Create to set up the Git integration and copy the Public key that Synq provides
Setup a deploy key
- In the upper-right corner of any GitHub page, click your profile photo, then click Your profile
- On your profile page, click Repositories, then click the name of your repository.
- From your repository, click Settings
If you don’t see the settings tab you likely don’t have Admin Access to your dbt repository
- In the sidebar, click Deploy Keys, then click Add deploy key
- Provide a title, and paste the public key that Synq has provided you.
Leave the Allow write access unticked
- Click Add key.
For more details, see the official guide on how to set up Deploy keys on GitHub.