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

# GitLab CI Example

> GitLab CI/CD pipeline examples for KafkaCode

## Basic GitLab CI Pipeline

Create `.gitlab-ci.yml`:

```yaml theme={null}
stages:
  - security

privacy-scan:
  stage: security
  image: node:18
  before_script:
    - npm install -g kafkacode
  script:
    - kafkacode scan ./src --verbose
  allow_failure: false
```

## For more examples and advanced configurations, see the [CI/CD Integration Guide](/usage/ci-cd-integration).
