---
title: "Register Flow Enterprise Server with GitLab Cloud"
canonical: "https://support.appfire.com/space/FD/1801912522/Register%20Flow%20Enterprise%20Server%20with%20GitLab%20Cloud"
format: markdown
---
To integrate Flow Enterprise Server with GitLab Cloud, you must configure an OAuth integration in GitLab. Consider configuring the OAuth integration using a service account with access to all teams and repositories in the organizations you want to show data for in Flow.

1. [Create an OAuth application in GitLab (external site, opens in new tab)](https://docs.gitlab.com/ee/integration/oauth_provider.html). Fill out the following fields:
  - **Name:** This should be an easily recognizable name for your Flow Enterprise Instance.
  - **Redirect URI:** This is the URI that GitLab will redirect the user browser to after OAuth authentication has been performed, This should be in the format of `https://<your Flow Enterprise hostname>/accounts/complete/gitlab/`. For example, if your Flow Enterprise instance is at `flow.mycompany.com`, you would enter `https://flow.mycompany.com/accounts/complete/gitlab/`.
  - **Scopes:** select the **api** and **read_user** scopes.
2. Once your application is created, copy the Client ID, found in the **Application ID** field, and Client Secret. Make sure to copy and store these immediately after creating your application.
3. Add this key and secret pair to the KOTS admin console for Flow Enterprise Server. Learn how to [configure Flow Enterprise Server.](https://appfire.atlassian.net/wiki/spaces/FD/pages/1802338475)
4. Once this is complete, follow the OAuth connection instructions in the [GitLab Cloud setup article](https://appfire.atlassian.net/wiki/spaces/FD/pages/1802600546) to complete your connection.

Once you have your OAuth app authorized in both GitHub and the KOTS admin console, managing your GitLab Cloud integration is identical in Flow Cloud and Flow Enterprise Server.