-
Notifications
You must be signed in to change notification settings - Fork 0
GitLab Integration
ewyct edited this page Apr 7, 2026
·
2 revisions
Lastest supports GitLab for authentication, repository sync, and CI/CD -- including self-hosted instances.
- OAuth login -- sign in with your GitLab account
- Self-hosted support -- connect to your own GitLab instance
- MR comments -- automatic build results posted to merge requests
- Webhook-triggered builds -- builds run when MRs are opened or updated
- Go to GitLab > Preferences > Applications (or Admin > Applications for instance-wide)
- Create a new application
- Set the callback URL to
http://your-lastest-url/api/auth/callback/gitlab - Select scopes:
read_user,api - Note the Application ID and Secret
GITLAB_CLIENT_ID=your-application-id
GITLAB_CLIENT_SECRET=your-secret
GITLAB_REDIRECT_URI=http://your-url/api/auth/callback/gitlab # Optional
GITLAB_INSTANCE_URL=https://gitlab.your-company.com # Default: https://gitlab.com
GITLAB_WEBHOOK_SECRET=your-webhook-secret # Optional- Go to Settings > GitLab
- Click "Connect GitLab"
- Authorize the application
- Select repositories to sync
Set GITLAB_INSTANCE_URL to your GitLab instance URL. All API calls and OAuth flows will use this URL instead of gitlab.com.
Lastest Wiki
Getting Started
Core Features
- Visual Diffing
- AI Configuration
- Agent Monitoring
- Gamification
- Scheduled Runs
- Bug Reports
- Settings Reference
Integrations
- GitHub Integration
- GitLab Integration
- Google Sheets Integration
- Custom Webhooks
- VSCode Extension API
- MCP Server
Deployment & CI
Administration
Reference