Navigate to the Account settings > Environments and choose the environment to which you would like to connect the dbt project code repository.Simply Click the blue button that says “Connect with Elementary Github App” and follow the instructions.
In the menu that opens up later on, select the repository where your dbt project is stored, and if needed the branch and path to the dbt project.
Requires a user with permissions to install new applications in the repository.
If connecting the Elementary Github App isn’t an option, you can connect to Github using a fine-grained token managed by your team instead.
Token creation and permissions
In the upper-right corner of any page, click your profile photo, then click Settings.
On the bottom of the left sidebar, click Developer settings.
On the left sidebar, select Personal access tokens > Fine-grained tokens.
Click Generate new token.
Enter a token name, expiration (we recommend 90 days) and description.
Under Resource owner select the owner of the dbt project repo. If it is missing, you need to contact the resource owner administrator and ask him to approve fine-grained personal access tokens. Read more in For more information, see “Setting a personal access token policy for your organization”.
Under Repository access select Only selected repositories and select the repo of your dbt project (see picture).