> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keephq.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitLab Pipelines

> GitLab Pipelines Provider is a provider that interacts with GitLab Pipelines API.

## Authentication

This provider requires authentication.

* **access\_token**: GitLab Access Token (required: True, sensitive: True)

## In workflows

This provider can be used in workflows.

As "step" to query data, example:

```yaml theme={null}
steps:
    - name: Query gitlabpipelines
      provider: gitlabpipelines
      config: "{{ provider.my_provider_name }}"
      with:
        url: {value}  
        method: {value}  
```

As "action" to make changes or update data, example:

```yaml theme={null}
actions:
    - name: Query gitlabpipelines
      provider: gitlabpipelines
      config: "{{ provider.my_provider_name }}"
      with:
        gitlab_url: {value}  
        gitlab_method: {value}  
```

If you need workflow examples with this provider, please raise a [GitHub issue](https://github.com/keephq/keep/issues).

## Connecting with the Provider

Create your personal access token in GitLab

* On the left sidebar, select your avatar.
* Select **Edit profile**.
* On the left sidebar, select **Access Tokens**.
* Select Add **new token**.
* Enter a **name** and **expiry date** for the token.
* Select the desired scopes.
* Select Create **personal access token**.

## Useful Links

* [GitLab PAT](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token)
* [GitLab Pipelines API](https://docs.gitlab.com/ee/api/pipelines.html)
