To connect your GitHub to Y42, you will need to follow these steps:
- Create a new GitHub repository
- Authorize Y42 with the repository
- Select the repository in Y42
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)
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.
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.
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.
Your GitHub repository is ready to be used with the Y42 space.