From 49422c11467238d027bb9a2890ca5b31fb961913 Mon Sep 17 00:00:00 2001 From: "mintlify-development[bot]" <109878554+mintlify-development[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 02:13:25 +0000 Subject: [PATCH] docs: document GitLab support for the Slack agent --- agent/index.mdx | 4 ++-- agent/slack.mdx | 7 +++++-- es/agent/index.mdx | 4 ++-- es/agent/slack.mdx | 8 ++++++-- fr/agent/index.mdx | 4 ++-- fr/agent/slack.mdx | 8 ++++++-- zh/agent/index.mdx | 4 ++-- zh/agent/slack.mdx | 6 ++++-- 8 files changed, 29 insertions(+), 16 deletions(-) diff --git a/agent/index.mdx b/agent/index.mdx index 58e005626..ef28cc014 100644 --- a/agent/index.mdx +++ b/agent/index.mdx @@ -28,7 +28,7 @@ Use the agent to: - Update existing documentation for new features or API changes. - Process and include images, diagrams, and other files from Slack attachments. - Search and revise code examples and API references across your docs. -- Reference source code from any repository that has the Mintlify GitHub App installed. +- Reference source code from any repository connected through the Mintlify GitHub App or GitLab integration. - Automate documentation maintenance with workflows. - Answer questions about your docs and technical writing topics. - Address code review feedback to maintain documentation quality. @@ -41,7 +41,7 @@ By default, the agent opens pull requests attributed to the Mintlify bot. To att ## Connect repositories as context -The agent can only access repositories that you connect through the Mintlify GitHub App. Configure which repositories the agent can access in the agent panel **Settings** or in the [GitHub App settings](https://github.com/apps/mintlify/installations/new). +The agent can only access repositories that you connect through the [Mintlify GitHub App](/deploy/github) or the [GitLab integration](/deploy/gitlab). Configure which repositories the agent can access in the agent panel **Settings** or in the [GitHub App settings](https://github.com/apps/mintlify/installations/new). For GitLab-hosted projects, manage access from your GitLab integration settings in the dashboard. ## Use AI tools alongside the agent diff --git a/agent/slack.mdx b/agent/slack.mdx index 5bf7c569b..eed6b7bbf 100644 --- a/agent/slack.mdx +++ b/agent/slack.mdx @@ -40,6 +40,9 @@ other team members. You can switch to a different deployment at any time during conversation by clicking the **Switch deployment** button on the agent's status message in the thread. The agent retains your conversation history so you can continue where you left off with the new deployment. + +Switching deployments mid-thread is not supported when your current deployment +is connected to GitLab. Start a new thread to work with a different deployment. ## Connect additional integrations from Slack @@ -110,9 +113,9 @@ The agent reads the context of the request or thread and creates a pull request ## Reference other repositories -The agent can read source code from any repository that has the Mintlify GitHub App installed, even if it isn't your documentation repository. This lets the agent build deeper context to guide documentation updates. +The agent can read source code from any repository connected through the [Mintlify GitHub App](/deploy/github) or [GitLab integration](/deploy/gitlab), even if it isn't your documentation repository. This lets the agent build deeper context to guide documentation updates. -When you mention another repository in your request, the agent clones it on demand and inspects the relevant files before drafting changes. +When you mention another repository in your request, the agent clones it on demand and inspects the relevant files before drafting changes. The agent uses GitHub or GitLab credentials based on which provider hosts the repository. Example prompts: diff --git a/es/agent/index.mdx b/es/agent/index.mdx index e2d7e928d..bc6b78c85 100644 --- a/es/agent/index.mdx +++ b/es/agent/index.mdx @@ -28,7 +28,7 @@ Usa el agente para: * Actualizar documentación existente con nuevas funcionalidades o cambios en la API. * Procesar e incluir imágenes, diagramas y otros archivos a partir de archivos adjuntos de Slack. * Buscar y revisar ejemplos de código y referencias de API en toda tu documentación. -* Hacer referencia al código fuente de cualquier repositorio que tenga instalada la aplicación de GitHub de Mintlify. +* Hacer referencia al código fuente de cualquier repositorio conectado mediante la GitHub App de Mintlify o la integración con GitLab. * Automatizar el mantenimiento de la documentación mediante flujos de trabajo. * Responder preguntas sobre tu documentación y temas de redacción técnica. * Atender comentarios de revisión de código para mantener la calidad de la documentación. @@ -45,7 +45,7 @@ De forma predeterminada, el agente abre solicitudes de extracción a nombre del ## Conecta repositorios como contexto -El agente solo puede acceder a los repositorios que conectes mediante la Aplicación de GitHub de Mintlify. Configura a qué repositorios puede acceder el agente en la sección **Settings** del panel del agente o en la [configuración de la Aplicación de GitHub](https://github.com/apps/mintlify/installations/new). +El agente solo puede acceder a los repositorios que conectes mediante la [GitHub App de Mintlify](/es/deploy/github) o la [integración con GitLab](/es/deploy/gitlab). Configura a qué repositorios puede acceder el agente en la sección **Settings** del panel del agente o en la [configuración de la Aplicación de GitHub](https://github.com/apps/mintlify/installations/new). Para los proyectos alojados en GitLab, gestiona el acceso desde la configuración de la integración con GitLab en tu panel.