> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/en/getting-started/setup/dpo.md).

# Appointing a DPO

Appoint a DPO and add them to the relevant entity in Dastra.

## Appoint a DPO

The data protection officer (DPO) is the conductor of GDPR compliance.

Article 37.1 of the GDPR (General Data Protection Regulation) **requires the appointment of a DPO** in three situations:

* where the processing is carried out by a **public authority or body**;
* where the **core activities** of the controller or processor consist of processing operations that **require regular and systematic monitoring of data subjects on a large scale**;
* where the **core activities** of the controller or processor consist of **large-scale processing** of special categories of data or of personal data relating to criminal convictions and offences.

To learn more about when and how to appoint a DPO, read the [CNIL practical guide on data protection officers](https://www.cnil.fr/sites/cnil/files/atoms/files/cnil-gdpr_practical_guide_data-protection-officers.pdf), which covers the role of the DPO and the appointment procedure.

## Add a DPO to Dastra

Only one DPO is attached to an entity.

1. In the left menu, click **Workspace settings**, then **Organizational units**.
2. Click the three dots to the right of the entity, then **Edit**.
3. In the **Data protection officer** field, select the DPO.
4. Click **Save changes**.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-a0e204fbc1c061e0f8db59d62f8c3c19b57345c5%2Fgetting-started-dpo-1.png?alt=media" alt="Entity edit window with the Data protection officer field"><figcaption><p>The entity edit window</p></figcaption></figure>

The DPO is a stakeholder of the directory. If the DPO is a natural person, add them as a natural person. If it is a company, for example an external DPO, add it as a legal entity: click **Create stakeholder** at the bottom of the field's list.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-53af76e0310f3e14910f116f7f1c52cdf1cf8848%2Fgetting-started-dpo-2.png?alt=media" alt="Form for adding a stakeholder to the directory"><figcaption><p>The form for adding a stakeholder</p></figcaption></figure>

Don't forget to save the entity. To change the DPO, see [How to change the DPO?](https://doc.dastra.eu/en/getting-started/setup/faq.md#how-to-change-the-dpo).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/en/getting-started/setup/dpo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
