Github Integration for Notebooks
On this page
Note
This is a Preview feature.
GitHub Integration for Notebooks supports the use of Git workflows directly within the notebook environment.
Key features include:
-
Create pull requests, add comments, view code diffs, and conduct code reviews.
-
Reproduce notebook results by running and sharing exact versions of the notebook files.
-
Collaborate with team members by sharing notebooks and integrating contributions.
-
Connect notebook development to existing CI/CD pipelines.
Connect a GitHub Account
-
In the Cloud Portal, navigate to the bottom-left corner and select the organization name to open the menu.
Select User Integrations. -
In the User Integrations page, enable GitHub.
-
The page redirects to GitHub.
Sign in using the GitHub credentials. If two-factor authentication (2FA) is enabled, complete the verification process to proceed. -
Select the organization or account required to connect.
Note
SingleStore recommends selecting a personal GitHub account to complete the OAuth flow and enable the integration.
A GitHub organization can be connected only by an Organization Admin. If the connecting account does not have admin privileges, a connection request is sent to the organization’s GitHub admin for approval. If a GitHub organization appears as Configured, it indicates that the integration has already been set up by another member of the organization. In this case, the organization is automatically added to the connected GitHub accounts once the OAuth flow is completed with a personal account. -
Select the repositories required to grant access under the selected organization or account:
-
To allow access to all repositories, select All Repositories.
-
To limit access, select Only select repositories, and then select the desired repositories.
-
-
Select Install & Authorize.
-
After authorization completes, view the connected GitHub account under Connected User.
-
Navigate to the bottom-left corner and select the organization name to open the menu.
Select Organization Details > Integrations in the Cloud Portal to view the GitHub integration and number of users. This page is accessible only to SingleStore organization owners. It can also be accessed from the info alert displayed on the User Integrations page visible to SingleStore organization owners only.
Configure GitHub Integration
-
In the User Integrations page, under GitHub, select Configure.
-
In the Configure GitHub Integration dialog, under the Actions column of the selected GitHub account, select Configure.
The dialog also displays any pending connection requests for GitHub organizations that require approval from the respective GitHub organization admins. -
To install and authorize the GitHub integration for another GitHub account, select Installation.
Load a Notebook from GitHub
-
Navigate to the Editor, and then select New > Import from GitHub.
-
Select the repository and branch that contains the notebook to import.
-
Select the notebook file.
-
Select the location of the notebook and then select Import to complete the process.
GitHub Version Control
Once the notebook is imported, the synced GitHub connection can be viewed in the right-hand navigation.
-
Fetch
-
Commit & Push
Fetch GitHub Content
To fetch the contents from Github repository, select Fetch.
Commit and Push Notebook Changes
To commit and push the changes in the notebook to the GitHub repository, select Commit & Push.
|
Commit message |
Enter the commit message. |
|
New branch name |
Enter the branch name if the changes are not being pushed to the default branch (main) used when connecting the notebook to the repository. |
Enable Include Notebook Cell Outputs if required and select Commit & Push.
Enable the GitHub Connection
GitHub version control can be enabled for individual notebooks that were not initially imported via GitHub integration.
-
Open the desired notebook.
-
Select the GitHub icon on the right upper side.
Select Enable GitHub Version Control. -
In the Upload & Push to GitHub dialog, enter the following details:
Repository
Select the repository in which the notebook will be uploaded.
New branch name
Enter the branch name if the changes are not being pushed to the default branch (main) used when connecting the notebook to the repository.
Commit message
Enter the commit message.
-
Enable Include Notebook Cell Outputs if required.
-
Enable Overwrite existing file if it already exists at selected GitHub path if required.
-
Select Upload & Push to upload the notebook in the selected GitHub repository.
To perform GitHub version control actions after uploading the notebook to the selected GitHub repository, refer to GitHub Version Control.
Disconnect the GitHub Connection
To disconnect the GitHub connection, select the ellipsis in the GitHub Connection and select Disconnect.
Disable GitHub Integration
To disable GitHub integration, select Organization Details > Integrations in the Cloud Portal and disable GitHub in the Availability column.
Only an Organization Admin can disable the GitHub integration.
Last modified: November 6, 2025