Connect your Github repository
To connect your GitHub repository to a Y42 space, follow these steps:
- Create a new GitHub repository
- Authorize Y42 with the repository
- Select the repository in Y42
Create a new GitHub repository
We recommend creating a new GitHub repository every time you set up a new space with Y42. This prevents errors in the set-up process.
If you have an existing dbt project, you can use it directly. However, it will need to meet the standard dbt project structure in order to be correctly read by Y42. Learn more → (opens in a new tab)
Create a new repo based on the Y42 template repository.
Create a GitHub repository from the Y42 dbt space template → (opens in a new tab)
Create a GitHub repository from the Y42 dbt space template
Authorize Y42 with the repository
In the Y42 app, click on “Authorize repositories in GitHub”. This will re-direct you to GitHub, where you will be prompted to connect your GitHub account with Y42.
Authorize repositories in GitHub.
You will then be prompted to choose which repositories to grant Y42 access to. We recommend you only grant access to repositories you want to use with Y42, rather than the entire organisation.
Choose which repositories to grant Y42 access to.
Select the repository in Y42
Select the repository from the list of repos Y42 has access to.
Select the repository from the list of repos Y42 has access to.
Afterwards, you will receive a confirmation that the space has been successfully linked.
Confirmation that the space has been successfully linked.
Your GitHub repository is ready to be used with the Y42 space.