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
        • Pro
        • 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
      • Tabnine Pro team admin
        • Purchase Tabnine Pro
        • Adding and inviting users to Tabnine Pro
        • Assigning an admin role to a team member
        • Removing a team member
        • Tabnine Pro: Manage subscription and billing
        • Tabnine Pro - Change your payment method
        • Tabnine Pro - Change plan from monthly to annual
        • Unsubscribe from Tabnine Pro plan
      • Joining a Tabnine Pro team
      • 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 Remote 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
  • Why is this important?
  • Who has access to the Connection feature?
  • How to enable this feature:
  • How does the end user work with connected repositories?
  • Context Scoping
  • Get answers based on references from remote repositories
  • Navigate to Resource
  • Which Git providers are supported?
  • Which users have access to context from the remote repository?
  • Which files are being indexed?
  • Indexing Process and RAG Index

Was this helpful?

  1. Welcome
  2. Overview
  3. Personalization

Connection: Global Codebase Awareness

Last updated 2 days ago

Was this helpful?

What is Connection?

Connection (Global RAG) Tabnine to your organization’s code by extending the available context for to include remote code repositories, even if they’re not part of the local IDE workspace.

This enhances AI code suggestions, making them more accurate and relevant to the organization.

Why is this important?

In many cases, the relevant context for Tabnine is located in remote repositories that are not included in the current project.

For example, users may need specific code that resides outside the IDE or suggestions that rely on patterns from the remote codebase.

Who has access to the Connection feature?

The Connection feature is available to enterprise customers in all deployments.

To enable this feature for your team, please contact your account manager.

How to enable this feature:

The Enterprise team admin manages the connected repositories. The admin can establish connections to Git providers using:

  • SSH: By configuring Tabnine’s SSH key

  • HTTPS: By using access tokens from the Git providers

.

How does the end user work with connected repositories?

Context Scoping

Get answers based on references from remote repositories

Tabnine Chat may generate answers using context from remote repositories. The exact references used will appear in the "References" section.

Navigate to Resource

Quickly access relevant remote code references by clicking the corresponding link. The browser will open the original source code directly within the connected Git provider.

Which Git providers are supported?

Supported providers:

  • GitHub

  • GitLab

  • Bitbucket

Note:

Both cloud and self-hosted installations are supported, provided Tabnine servers can connect to the Git providers.

For other providers:

  • Indexing and retrieving chat answers from remote repositories generally works for most standard Git providers.

  • Navigating to remote repositories' references may not work consistently due to variations in URL patterns.

Which users have access to context from the remote repository?

Connections are managed at the team level.

Each user only has access to the repositories that are connected to their specific team.

Which files are being indexed?

Indexing Process and RAG Index

  • Your connected repositories are cloned to Tabnine servers for indexing and are deleted immediately after indexing is complete.

  • The RAG index is securely retained on Tabnine servers and remains private.

  • A periodic background process checks for updates in the connected repositories and refreshes the corresponding index when needed.

  • This update process can take up to one hour.

Perforce

This is currently in 'preview' mode. To get access, contact support@tabnine.com.

You can connect Perforce depots for global connection indexing.

On the Context enhancement page, scroll down to Connect external Perforce depots.

Press Add depot.

Enter the depot path below and select an available Perforce server.

Then click Connect.

Indexing might take a few minutes. When finished, the Perforce depot will be available in your context engine.

To remove the depot, press the X. You can also change the depot path by clicking the edit icon.

Specify which repositories are relevant for Tabnine to use as context. Learn more about .

Read more on the .

👋
personalizes
Tabnine Chat
Learn more
Context Scoping
Learn more
Index Lifecycle