dFlow LogodFlow
IntegrationsGit SourcesGitlab

Gitlab

Connect your Gitlab and deploy applications with ease.

GitLab Integration: Using a Personal Access Token (PAT)

To authenticate GitLab as a source in dFlow, you need a Personal Access Token (PAT).
This token grants secure, scoped access to Git operations—without relying on your password.

How to Create a PAT in GitLab

  1. Log in to your GitLab account.
  2. Click your avatar (top-right) → Edit profile.
  3. Navigate to Access Tokens in the left sidebar.
  4. Click Add new token.
  5. Provide the following:
    • Name (e.g., dFlow Integration)
    • Expiration date (default: 365 days; max up to 400 days if allowed)
  6. Select the appropriate scopes (see table below).
  7. Click Create.
  8. Copy and securely store the token — it will not be shown again.

Choose the least-privilege scopes necessary for your use case:

ScopeAccess Level
read_repositoryRead-only access to Git repositories
write_repositoryPush and pull Git operations

Token Reuse

The same token can be used for all private repository deployments.

Using the PAT in dFlow

Once you have the PAT:

  1. Create a new service and select type as app.

  2. Navigate to the GitLab tab.

  3. Enter the required details such as Repository URL and Branch.

  4. If the repository is private, provide your Personal Access Token (PAT) in the Git Token field.

    GitLab App setup in dFlow
  5. Click Deploy to launch and view it live.

On this page

Edit on GitHub