LogoLogo
Tabnine websiteContact Sales
  • 👋Welcome
    • Overview
      • Architecture
        • Deployment options
      • Security
      • Privacy
      • Protection
        • Provenance and Attribution
      • Personalization
        • Tabnine’s Personalization in Depth
        • Connection: Global Codebase Awareness
      • AI Models
        • Tabnine's private and protected Universal models
        • Tabnine's fine-tuned AI models
      • Integrations
        • Atlassian Jira
      • System Requirements
      • Supported Languages
      • Supported IDEs
      • Tabnine Subscription Plans
        • Dev Preview
        • Dev
        • Enterprise (SaaS)
        • Enterprise (private installation)
    • Support & Feedback
  • 🚀Getting started
    • Install
      • Client setup (SaaS)
        • VS Code
          • Install Tabnine in VS Code
          • Activate Tabnine in VS Code
        • JetBrains IDEs
          • Install Tabnine in a JetBrains IDE
          • Activate Tabnine in a JetBrains IDE
        • Visual Studio
          • Install Tabnine in Visual Studio 2022
          • Activate Tabnine in Visual Studio 2022
        • Eclipse
          • Install Tabnine in Eclipse
          • Activate Tabnine in Eclipse
        • Sign in
          • Using an email
          • Using an authentication token
      • Client setup (private installation)
        • Join your team (private installation)
        • VS Code (private installation)
        • JetBrains IDEs (private installation)
        • Visual Studio (private installation)
        • Eclipse (private installation)
    • Quickstart Guide
      • Menus and Icons
    • Getting the Most from Tabnine Code Completions
      • Pause (snooze)
    • Getting the Most from Inline Actions
    • Getting the Most from Tabnine Chat
      • Launching Tabnine Chat
      • Interacting with Tabnine Chat
      • Reviewing suggestions
      • Writing prompts
      • Chat Context
        • Understanding Context
        • Jira Connection
        • Context Scoping
      • Conversing with Tabnine Chat
      • Switching between chat AI models
      • Image Prompts
      • Tabnine's Prompting Guide
        • Getting Started
        • Basic Prompting
          • Be specific and clear
          • Define the context
          • Start a fresh conversation as appropriate
          • Include necessary details
          • Ask for examples
          • Be concise but complete
  • 💪Software Development with Tabnine
    • Overview
    • Plan
    • Create
    • Test
      • Intro to the Test Agent
      • Test Agent Workflow
      • Custom Commands
      • Generate Test Files with @Mentions
    • Review
    • Fix
    • Document
    • Explain
    • Maintain
  • 🏭Administering Tabnine
    • Start a team
    • Manage a team
    • SaaS
      • Enterprise (SaaS) team admin
        • Set up a Tabnine Enterprise (SaaS) account
        • Invite team members
        • Manage your team
        • AI models for Chat (Enterprise SaaS)
      • Enterprise (SaaS) team member
        • Join your Tabnine team by invitation email (team member)
        • Join Tabnine team by link (member)
    • Private installation
      • Server setup guide
        • Kubernetes (MicroK8s) Installation guide
        • Deployment guide
          • Tabnine update guide
        • Air-gapped deployment guide
      • Admin guide
        • Monitoring Tabnine
        • Prometheus Operator install
        • Audit logs
      • Managing your team
        • Tabnine teams
        • Roles in an enterprise
        • Inviting users to your team
        • Deactivating and reactivating users
        • Deleting PII data of a deactivated user
        • Reset user's password
        • Usage reports
          • Reports Glossary
          • CSV-based reports (V2)
            • Configuring scheduled CSV reports
            • CSV-based reports V1 (Depracted since version 5.7.0
          • Usage API
        • Settings
          • General
          • Single Sign-On (SSO)
          • Personalization (f.k.a. Workspace)
            • Connecting to External Code Repositories
          • Email
          • License
          • Models
          • Access Tokens
        • IdP Sync
      • Release Notes
  • 📣Product Updates
    • What's new?
      • What's new? (August 2024)
      • What's new? (July 2024)
      • What's new? (June 2024)
      • What's new? (May 2024)
      • What's new? (April 2024)
      • What's new? (March 2024)
      • What's new? (February 2024)
      • What's new? (January 2024)
Powered by GitBook
On this page
  • What is Connection?
  • Enabling Remote Codebase Awareness in Tabnine Enterprise
  • Setting Remote Git Providers
  • Managing Connected Repositories

Was this helpful?

  1. Administering Tabnine
  2. Private installation
  3. Managing your team
  4. Settings
  5. Personalization (f.k.a. Workspace)

Connecting to External Code Repositories

Connection is a feature within Tabnine Personalization, created to improve the relevance and precision of AI-powered code suggestions.

What is Connection?

Connection is a feature within Tabnine Personalization, created to improve the relevance and precision of AI-powered code suggestions. By making Tabnine aware of remote/external code repositories within the organization – beyond just the developer’s local environment – Connection provides a broader scope of contextual code examples.

Utilizing a Global RAG index, Connection retrieves relevant code snippets from these remote sources.

Enabling Remote Codebase Awareness in Tabnine Enterprise

(connection to software repository for global code awareness)

Codebase awareness is available only for Tabnine Chat, and not for Code Completions.

Note:

  1. Connection to the remote codebase is only available if Tabnine Context is enabled.

  2. If this feature is disabled, contact your account manager at Tabnine to enable it.

Setting Remote Git Providers

To start, an admin should go to the Admin Console. From there enter ⚙ Settings, then select Personalization (in older versions, from Settings go to Workspace).

If this feature is disabled, contact your Tabnine account manager to enable it.

Once enabled, the admin can link Connection to external remote repositories.

Next, the admin should define Connection to their git providers (using SSH Key or HTTPS credentials). Finally, the admin can add repositories using these connection methods.

Start with an empty state. Enable the Connection feature in order to connect to a provider.

Connection with an SSH Key

Next, set Connection to a git provider with an SSH key, which you can generate in the window:

Connection with HTTPS

Alternatively, you can set Connection to a git provider via HTTPS using PTA (personal access tokens) from the git providers:

Managing Connected Repositories

Adding Repositories

Before you add your first git repo, you will see a gray window. There, click the blue button reading Connect to a git repository.

Again, you can either use an SSH Key or HTTPS.

Either way, paste the link to the repo.

With HTTPS, also add the connection name under Select HTTPS Credentials.

For both SSH and HTTPS, next hit Connect.

You will see the following message in the lower righthand corner of the screen when a repo is successfully added:

Once you already have one git connected, the window will show the list of all available gits as well as a blue + Connect repository button.

Press that button, then follow the same process as above.

Optionally, you can add a link pattern for source code navigation.

Removing & Editing

To edit providers, select the blue Edit git providers text to the right above the Connect to a git repository window.

Alternatively, you can also delete current repositories. Once done, the following message will display in the lower righthand corner of the screen:

View Status

There might be a delay beforehand, where a status message will read Queued for indexing. Indexing might take a while, possibly up to an hour.

There will be one of four statuses: "Pending," "In process," "Successful," or "Failed."

Last updated 7 days ago

Was this helpful?

The admin then copies the SSH key and adds it to their git provider. For example: , , and .

🏭
GitHub
GitLab
Bitbucket
Generating an SSH key in Tabnine's Admin Console
Connection with SSH
Connection with HTTPS
Indexing might take a few minutes