> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusapien.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitLab

> Connect your GitLab data so your Agents can search and reference it through Knowledge Grounding

Connect your GitLab instance so your Agents can access repositories, merge requests, and documentation.

<Info>
  Once connected, your Agents can search repositories, code files, merge requests, and wikis from GitLab through [Knowledge Grounding](/overview/platform/knowledge-grounding). You control which Connectors are active for each conversation: toggle GitLab on or off from the Knowledge Grounding filter in the chat input bar.
</Info>

## Setting up

<Steps>
  <Step title="Navigate to your Connections page">
    Go to Settings, then open the Connections tab. Find GitLab in the list of available connectors.
  </Step>

  <Step title="Get your personal access token">
    In GitLab, go to User Settings > Access Tokens. Create a token with `read_api` scope.
  </Step>

  <Step title="Enter your details">
    Provide your GitLab URL (or use `gitlab.com` for cloud) and your personal access token. Select which projects to connect.
  </Step>

  <Step title="Complete the connection">
    Save your settings. Your Agents will begin indexing your GitLab content.
  </Step>
</Steps>

## What your Agents can access

Once connected, your Agents have access to repositories, code files, merge requests, and wikis from GitLab. This content becomes searchable through Knowledge Grounding and is referenced when relevant to your requests.

Your GitLab data works alongside your other connected tools and [Vault documents](/overview/platform/vaults) to give your Agents a comprehensive view of your organization's information.

<Note>
  Having trouble setting up this Connector? Contact us at [support@trusapien.com](mailto:support@trusapien.com).
</Note>

<CardGroup cols={2}>
  <Card title="Knowledge Grounding" icon="magnifying-glass" href="/overview/platform/knowledge-grounding">
    How your Agents search your connected data
  </Card>

  <Card title="All Connectors" icon="plug" href="/connectors/overview">
    Browse all 39 available Connectors
  </Card>
</CardGroup>
