You’ll need to contact the Cognition team or support@cognition.ai to enable GitLab.

Why integrate Devin with GitLab?

Integrating Devin with your GitLab repositories allows Devin to create merge requests, read and respond to your MR comments, and collaborate effectively with your team. This lets Devin be a true collaborator on your engineering team.

Setting up the Integration

The setup is easy! Here’s how to get started:

  1. Create a new GitLab account specifically for Devin (just like you’d create a personal account). You’ll use this account, not your personal one, during the integration process.

  2. In your Devin account, go to Settings > Organization Integrations and click the “Connect to GitLab” button.

  1. You’ll be redirected to GitLab where you should:

    • Log in with the GitLab account you created for Devin (not your personal account)
    • Grant the necessary permissions for Devin to work with your repositories
  2. Once completed, you’ll return to the Devin settings page where you can confirm the integration is active.

If you notice any issues, share the session link with us via Slack or support@cognition.ai so we can quickly resolve them. Also, we recommend enabling branch protections on main/master branches to ensure all changes go through proper review processes.

Using Devin with the GitLab Integration

After connecting GitLab, set up your repositories in Devin’s Workspace section.

While Devin can still see and address comments you leave on its merge and pull requests if you ask directly, Devin will no longer wake up automatically to respond to these comments.

Best Practices

  • Create a dedicated GitLab account for Devin
  • Enable branch protections on main/master branches

Support

  1. Create a Slack connect channel with our team at app.devin.ai/settings/support
  2. Share session links when reporting issues and provide screenshots