Skip to main content
The GitHub integration connects your organization to a GitHub account through the Nekt GitHub App. Once it is connected, your workspaces can keep their Queries, Notebooks, and Context Layer in GitHub repositories.
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.
Only an owner of the GitHub account can install or configure the App. If you are not one, ask an owner to run these steps.

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.
Choosing specific repositories is available on the Growth and Custom plans; on Starter every workspace may use every repository of the installation. A repository that is in use by a Query, a Notebook, or the Context Layer cannot be removed from a workspace’s list: disconnect what uses it first. Inside a workspace, its members see the repositories it may use in Settings → GitHub, read-only.

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.
Workspaces that connect GitHub from now on start with pull requests. Workspaces that were already using GitHub before pull requests were available keep committing directly until their admin switches them.

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

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.