Integration

The GitLab logo

GitLab Files

View GitLab files or permalinks into code blocks

View GitLab files or permalinks and display them in codeblocks in GitBook

Overview

The GitLab Files integration allows you to take a link to a GitLab file or a permalink to lines of code and display them into code blocks in GitBook.

How it works

After installing the GitLab Files integration, you're able to insert it into a GitBook file in the (CMD + /) menu.

Insert the integration, paste your link, and the integration will display the code in a formatted code block.

Configure

In order to view code from private repositories, you'll need to authorize with your GitLab Account in the integration's configuration page.

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Enterprise

Intelligent documentation that’s built to scale




Verifone thumbnail
Verifone logo - white
Verifone

How Verifone increased assistant traffic by 8x after migrating to GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry

Verifone thumbnail
Verifone logo - white
Verifone

How Verifone increased assistant traffic by 8x after migrating to GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry

Verifone thumbnail
Verifone logo - white
Verifone

How Verifone increased assistant traffic by 8x after migrating to GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry