Connect GitHub
Connect your Spice.ai project to a GitHub repository
Prepare the repository
Before connecting:
- Admin access: Ensure you have administrative access to the GitHub repository. This level of access is required to install the Spice.ai GitHub app.
- Matching repository name: The Spice.ai project and the GitHub repository names must match. For example:
- Spice.ai project: spice.ai/spiceai/demo
- GitHub repository: github.com/spiceai/demo
To quickly set up a new repository, use the spiceai/spicepod-template as a starting point:
Connect
- Ensure the repository is set up as per instructions above.
- In the context of the Spice project to connect, navigate to Settings, then find the Connect Git Repository section.
- Follow GitHub App installation instructions.
Ensure that you select all repositories or specifically the repository you intend to connect.
- Finally, link the repository to your Spice.ai project.
Once connected, the section is titled Connected Git Repository and offers a Production Branch selector and a Disconnect button.