llms.txt: machine-readable documentation index. Markdown version of this page is also available.

JetBrains Air Help

Connect repositories

Before a cloud task can work on your code, Air Teams needs a connection to the VCS provider that hosts it. You connect a provider once, and from then on the repositories you can reach in that provider are available to your tasks and automations.

You can start the flow yourself from Air Teams. In Air in IDEs, the first cloud run for a repository prompts you when access is needed.

What the connection does behind the scenes differs from provider to provider – see Source control.

Before you start

  • You have access to the repository you want to work on in your VCS provider.

  • For GitHub organization repositories – the JetBrains Air connection app is installed in GitHub for the organization that owns the repository. A user with administrative permissions in that organization does this once – see Set up organization repository access.

  • For repositories on a self-hosted GitHub Enterprise Server – the instance is registered for your organization in JetBrains Console, and the generated app is installed on the server. An organization administrator does this once – see Set up organization repository access.

  • For repositories on a self-hosted GitLab Self-Managed – the instance is registered for your organization in JetBrains Console. An organization administrator does this once – see Set up organization repository access.

  • For personal repositories – no extra setup is needed. You authorize the app for your own account as part of the connection flow, and on GitHub you install it for your account at the same time.

Connect a VCS provider

  1. Start the connection flow.

    • From the web:

      In Air Teams, go to Settings | VCS Providers, find your VCS provider, and click Connect.

    • From Air in IDEs:

      Start a cloud run in the IDE – see Run a cloud task in Air in IDEs. The first cloud run for a repository prompts you to authorize the connection app.

  2. If the JetBrains Air connection app isn't authorized yet, click Authorize and complete the provider's authorization flow.

    Authorizing lets the app act on your behalf in the provider, for example, to read code and open pull requests. It doesn't widen what you can reach – you never gain access to repositories you can't already access in the provider.

  3. After the connection is established, the connected provider appears in Air Teams under Settings | VCS Providers, showing the connected account and the organizations available through that connection.

    The VCS Providers page in Air Teams showing a connected account and its available organizations
  4. Finish the flow. What happens next depends on your VCS provider.

    • GitHub and GitHub Enterprise Server – authorization grants access to your personal repositories but not to organization repositories.

      If the task still can't run, read access to the target repository is required. Click Manage to open GitHub and grant the app access to the repository, or request it if you aren't entitled to grant it yourself. See Change which repositories the app can access.

      A request doesn't give the app access until someone approves it, and GitHub may not notify the people who can. Contact an organization owner or the repository's admin directly.

      If you can't install the app in an organization yourself, GitHub sends an installation request, and Air Teams shows You requested a GitHub App installation when you return. The app stays inactive until an organization owner approves the request – see Who can grant the app access to a repository.

    • GitLab and GitLab Self-Managed – authorizing completes the connection. Cloud tasks can use every repository you can access in GitLab, with no extra step. If a repository is missing, check that you can access it in GitLab and that you connected the GitLab instance that hosts it.

If the agent also needs code from another repository, for example shared skills or configuration, start the task or the automation on several repositories – see Run a task on several repositories.

Repository access on GitHub

On GitHub and GitHub Enterprise Server, the connection app has its own list of repositories it can access. You choose which repositories go on that list, and a repository missing from Air Teams is usually missing from that list.

Change which repositories the app can access

  1. In Air Teams, open Settings | VCS Providers, find the connected provider, and click Manage Access. When a task needs read access to a repository, you can also click Manage in the task flow.

  2. Update repository access. For example, in GitHub you can choose:

    • All repositories – the app can access all current and future repositories in that account

    • Only select repositories – the app can access only the repositories you choose

    For an organization account, the list can also include repositories that you can't add yourself. On GitHub, such repositories appear with a Request badge. When you save, the app doesn't get access to them – the request waits for an organization owner or the repository's admin to approve it. GitHub may not notify them, so contact one of them directly and ask them to add the repository with Manage Access. Repository admins can add repositories they administer unless the organization restricts it.

  3. Save the changes.

If a repository does not appear in Air Teams

A GitHub repository appears in Air Teams only if the JetBrains Air app is installed in the account that owns the repository, the installation has access to the repository, and you have access to it yourself – see How to make a repository appear in Air Teams. Check these in order.

Find a missing GitHub repository

  1. Make sure the app is installed in the account that owns the repository – the personal account or organization before the repository name on GitHub.

    If that account isn't listed on the provider card under Settings | VCS Providers, click Manage Access and select the account on GitHub:

    • If GitHub offers Install, install the app and include the repository.

    • If GitHub offers Request instead, you can't install the app in that organization yourself. Send the request. The installation stays inactive until an organization owner approves it, and GitHub may not notify the owners. Contact one of them directly and ask them to install the app with Manage Access and include the repository.

    • If GitHub shows Configure, the app is already installed there.

  2. Make sure you have access to the repository yourself. For a private or internal repository, you need at least Read access granted to you directly or through a team. Organization membership alone isn't enough for an internal repository, even if you can open it on GitHub. If you don't have access, ask a repository admin to grant it on GitHub.

  3. Make sure the installation has access to the repository. Click Manage Access, then Configure next to the account. Under Repository access, if Only select repositories is selected, add the repository and click Save. If the repository has a Request badge, saving only sends a request. Contact an organization owner or the repository's admin directly and ask them to add the repository with Manage Access.

  4. Refresh the repository list in Air Teams. A repository you just created can take a few minutes to appear, because GitHub's search index may not include it yet.

A GitHub Enterprise Server instance has its own connection app and its own card under Settings | VCS Providers. Connect the card for the server that hosts the repository, then run the same checks there. If the server isn't listed at all, ask an organization administrator to register it in JetBrains Console – see Set up organization repository access.

27 November 2026