G
Code & Repositories

GitLab

Sync GitLab repository docs with webhook auto-indexing

What is GitLab?

GitLab is a complete DevOps platform used by enterprises and open-source projects, with a particularly strong following among teams that prefer self-hosted version control. Many organizations store their internal documentation entirely within GitLab repositories.

Integration

How BeforeQuery works with GitLab

Everything you can do once the integration is connected.

Self-hosted GitLab support

Connect BeforeQuery to any GitLab instance — gitlab.com, self-managed Community Edition, or Enterprise Edition — using a personal access token or deploy token.

GitLab token webhook verification

Incoming webhooks from GitLab are verified with the X-Gitlab-Token header, ensuring only authenticated GitLab push events trigger re-indexing.

Configurable path and branch scope

Index specific directories (docs/, wiki/) on a chosen branch. Exclude files matching glob patterns to skip generated output.

GitLab Wiki indexing

Optionally index your GitLab project or group wiki alongside repository markdown files.

Setup

How to set it up

1

Add a GitLab source in BeforeQuery and enter your GitLab instance URL and access token.

2

Select the repository, branch, and paths to index. BeforeQuery registers a push webhook in your GitLab project automatically.

3

Trigger the first sync. The index updates automatically on every push to the configured branch going forward.

Ready to connect GitLab?

Start free. No credit card required. Connect your first integration in under 5 minutes.