Connecting your GitHub account to dbt Cloud unlocks exciting and compelling functionality in dbt Cloud. Once your GitHub account is connected, you can:
- Trigger CI builds when Pull Requests are opened in GitHub
- Log into dbt Cloud via oauth through GitHub
- Add new repos to Cloud in a single click (no need to fuss with Deploy Keys)
Use Github On-Premise?
This method will not work for On-Premise Github deployments. Please reference our Importing a project by git url to setup your connection. This alternative method does not include the benefits mentioned above.
Linking dbt Cloud to your GitHub account
On the next page, you can select a GitHub organization to install the dbt Cloud application into.
Note that only the Github admin who sets up new dbt Cloud projects needs to connect their GitHub account. It’s not necessary for every dbt Cloud user to connect GitHub (but it can be convenient to do so!)
Connect your personal GitHub account
To connect your personal GitHub account, navigate to your User Profile select the Integrations section from the left sidebar. Under “GitHub”, if your account is already connected, you’ll see "Your user account is linked to a GitHub account with username <your-github-username>."
If your account is not connected, you’ll see "This account is not linked to a GitHub account.” Click the button to begin the setup process. You’ll be redirected to GitHub, and then back into dbt Cloud. When you are redirected to dbt Cloud, you should now see your connected account. The next time you log into dbt Cloud, you will be able to do so via oauth through GitHub.