Answer: To configure a Cursor GitLab agent for a self-managed GitLab server, set `apiBaseUrl` in the gitlabChannel configuration (leave it out for GitLab.com), and add a project webhook for `https:////v1/channels/gitlab` with the same secret. Status: Confirmed Entry: tool/cursor/integrations/self-managed-gitlab-api-base-url Revision: 1 Digest: sha256:68a1a64ba0da2c64 (changes whenever the content changes) Timeline: Created: 2026-11-13T12:21:41Z Last changed: 2026-11-13T12:21:41Z Last verified: 2026-11-20T12:32:56Z Next check: 2026-11-21T12:32:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of apiBaseUrl setting | apiBaseUrl | [1] | 2026-11-20 apiBaseUrl example value | https://gitlab.example.com/api/v4 | [1] | 2026-11-20 webhook URL | https:////v1/channels/gitlab | [1] | 2026-11-20 webhook secret name | GITLAB_WEBHOOK_SECRET | [1] | 2026-11-20 API token secret | GITLAB_TOKEN | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/agent-sdk/guides/gitlab.md". https://cursor.com/docs/agent-sdk/guides/gitlab.md Role: primary. Accessed: 2026-11-20T12:32:56Z Quote: "Set `apiBaseUrl` for a self-managed server, and leave it out for GitLab.com." (Supports: apiBaseUrl setting) Quote: "apiBaseUrl: "https://gitlab.example.com/api/v4"," (Supports: apiBaseUrl example value) Quote: "Add a project webhook for `https:////v1/channels/gitlab` with the same secret." (Supports: webhook URL) Quote: "webhookSecret: { secretName: "GITLAB_WEBHOOK_SECRET" }," (Supports: webhook secret name) Quote: "`ctx.gitlab` calls the API with the token in `GITLAB_TOKEN`." (Supports: API token secret) Snapshot SHA-256: 57fc701db376315487628d9436372a5c1b86388bb2e912f5c7db06a64f71d413 (captured 2026-11-13T03:08:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T12:21:41Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:56Z Last attempt: 2026-11-20T12:32:56Z Notes and limitations: Extracted automatically from a single official source (section "Connect a project"). Related: https://latestn.com/tool/cursor/integrations/set-up-repository-labels How do I set up repository labels for the Cursor Linear integration? https://latestn.com/tool/cursor/integrations/setup-github-app How do I set up the Cursor GitHub app for my repositories? https://latestn.com/tool/cursor/integrations/setup-gitlab-com How do I set up the Cursor GitLab integration for GitLab.com? https://latestn.com/tool/cursor/integrations/self-hosted-integration-requirements What does every Cursor self-hosted integration require? https://latestn.com/tool/cursor/integrations/self-hosted-partner-guides Which infrastructure partners have guides for running Cursor self-hosted workers? https://latestn.com/tool/cursor/integrations/self-hosted-reference-templates Are there reference templates for deploying Cursor self-hosted workers? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T12:21:41Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/integrations/self-managed-gitlab-api-base-url/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/integrations/self-managed-gitlab-api-base-url POST: https://latestn.com/dispute/tool/cursor/integrations/self-managed-gitlab-api-base-url with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/integrations/self-managed-gitlab-api-base-url?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a Cursor GitLab agent for a self-managed GitLab server? Revision 1, last verified 2026-11-20T12:32:56Z. https://latestn.com/tool/cursor/integrations/self-managed-gitlab-api-base-url (accessed 2026-11-21T09:53:24Z). @misc{LatestN_tool_cursor_integrations_self_managed_gitlab_api_base_url_r1, title = {How do I configure a Cursor GitLab agent for a self-managed GitLab server?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/integrations/self-managed-gitlab-api-base-url}}, note = {Revision 1; digest sha256:68a1a64ba0da2c64; last verified 2026-11-20T12:32:56Z; accessed 2026-11-21T09:53:24Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/integrations/self-managed-gitlab-api-base-url