<br />

> [!NOTE]
> **Public preview:** The federated search is in public preview. This feature is subject to the "Pre-GA Offerings Terms" in the [General Service Terms section of the Service Specific Terms](https://cloud.google.com/terms/service-terms). Pre-GA features are available "as is" and might have limited support. For more information, see the [launch stage descriptions](https://cloud.google.com/products#product-launch-stages).

<br />

The GitLab connector for Gemini Enterprise lets you search across your GitLab data.

> [!NOTE]
> **Note:** When using federated search or federated connectors, your query string is sent to all enabled third-party search backends. The query string sent to a third-party system might contain parts of the data in your search request and conversation history. The third-party system can link the query with your identity. Once data is in the third-party system, it is subject to that system's Terms of Service and privacy policies, not Google Cloud's Terms of Service.

## Required permissions

To enable Gemini Enterprise to use the GitLab data store, you need to select scopes when configuring OAuth 2.0 for GitLab.

To allow search in the GitLab data store, select the following scope:

- `read_api`: Grants read access to the API.

> [!NOTE]
> **Note:** You need to create a GitLab App to use this connector. For more information, see [Creating GitLab apps](https://docs.gitlab.com/en/apps/creating-gitlab-apps)

For information on how to configure these permissions, see [Set permissions and obtain client ID and client secret](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/gitlab/gitlab-configuration.md.txt#set-permissions-and-get-credentials).

## Limitations

This section outlines known issues and limitations that may affect your use of the GitLab data store.


- When creating a new app or adding a data store to an existing one, it's recommended to associate only one data store with actions belonging to a single connector type.

<!-- -->

- Enforcing a VPC Service Controls perimeter on existing GitLab data stores is not supported. To enforce VPC Service Controls, you must delete and recreate the data stores. For more information on VPC Service Controls and how to use actions after enabling VPC Service Controls, see [Secure your app with VPC Service Controls](https://docs.cloud.google.com/gemini/enterprise/docs/use-vpc-service-controls.md.txt).

<!-- -->

- The GitLab data store is supported only in the `global`, `us`, and `eu` locations.

<br />

## What's next

- To create and configure a connector with GitLab, see [Set up a GitLab data store](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/gitlab/set-up-data-store.md.txt).