GitHub versioning is available on the Starter, Growth, and Custom plans.
Connect your GitHub account
An organization Owner or Admin connects the organization once. Each organization connects to one GitHub account (an organization or a user), and every workspace of the organization uses that connection.1
Start from Nekt
Go to Organization settings → GitHub and click Connect to GitHub.
2
Install the Nekt GitHub App
On GitHub, pick the account and, under Repository access, choose the repositories Nekt may use. Selecting only the repositories that will hold your code is recommended.
3
Return to Nekt
GitHub redirects you back to Nekt, and Organization settings → GitHub shows the connected account.
Find an installation that did not show up
If the App was installed directly on github.com, or the redirect back to Nekt was interrupted, the installation is not linked to your organization yet. In Organization settings → GitHub, click Find the installation: Nekt asks GitHub which installations of the App your GitHub user can see, and lists the ones not linked to any organization. Click Link next to the right account. If nothing is listed, authorize again with the GitHub user that installed the App, or install it on GitHub and come back through the redirect.What can block the connection
Choose the repositories of each workspace
Organization Owners and Admins decide which repositories of the installation each workspace may use. In Organization settings → GitHub, the Access per workspace table lists every workspace; click Configure next to one:- All repositories of the installation: the workspace may use every repository the App can reach, including ones added later.
- Only selected repositories: the workspace may use only the repositories you check.
How Nekt writes to GitHub
Each workspace admin chooses, in Settings → GitHub → How Nekt writes to GitHub, how changes made in Nekt reach GitHub:- Open a pull request (recommended): every change made in Nekt goes to a pull request on a branch Nekt creates. The change takes effect in Nekt only after the pull request is merged. Nekt merges it as soon as the checks pass and the branch rules allow; to require an approval, set it in the branch protection on GitHub. After the merge, Nekt deletes its branch.
- Commit directly on the branch: the change is committed to the branch and takes effect when you save. It does not work with a protected branch.
The pull request permission
Opening and merging pull requests needs the App to have the Pull requests: write, Checks: read, and Statuses: read permissions. If your installation predates them, GitHub asks an owner of the GitHub account to accept the new permissions. Until then, changes in a workspace that writes through pull requests stop with an error asking for the permission; once it is accepted, they resume.Remove the connection
Clicking Remove in Organization settings → GitHub uninstalls the Nekt GitHub App from your GitHub account and disconnects every Query, Notebook, and Context Layer folder of every workspace from its repository. Your repositories and the content in Nekt are kept. Uninstalling the App directly on GitHub has the same effect.What you can do after connecting
- Queries and Notebooks: link each one to a repository through the Versioning column. See Versioning (Queries) and Versioning (Notebooks).
- Context Layer: connect the whole layer, or one folder, to a repository. See Context Layer on GitHub.
API & MCP
Platform API
Not available in the Platform API yet.
MCP tools
List repositories, connect Queries, Notebooks, and the Context Layer, and follow pull requests.