---
title: "Installation"
manual: "Prive Consent"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/oliverkroener/ok-prive-consent:installation@5.0"
source: "Installation/Index.rst"
rendered: "2026-11-02T01:10:12+00:00"
---

# Installation {#installation}

## Install with Composer {#installation-composer}

> [!NOTE]
> This is the recommended way to install this extension.

Install the extension via Composer:

```bash
composer req oliverkroener/ok-prive-consent
```

See also [Installing extensions](https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Extensions/Management.html).

## Install via Extension Manager {#installation-extension-manager}

Download or upload the extension and activate it via
**Admin Tools** \> **Extensions**.

## No further setup required {#installation-typoscript}

There is nothing more to configure. The consent banner is injected on the
frontend by a PSR-14 event listener that is registered automatically when the
extension is installed -- no TypoScript, site set, or Fluid template change is
needed.

> [!NOTE]
> A site set named `oliverkroener/ok-prive-consent` (shown in the backend as
> *\[kroener.DIGITAL\] Prive Consent*) is still shipped so that existing site
> configurations referencing it under `dependencies` keep working. It is now
> a no-op and entirely optional -- you may leave it or remove the dependency.
>
> See [Site set](https://docs.typo3.org/permalink/oliverkroener/ok-prive-consent:configuration-site-set@5.0) for details.

After installing the extension, clear all caches and open
**Web** \> **Prive** to add your script (see
[Usage](https://docs.typo3.org/permalink/oliverkroener/ok-prive-consent:usage@5.0)).
