> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/integrations/content-management-system-cms/drupal.md).

# Drupal

Adding Didomi CMP to your Drupal site is straightforward and requires no development skills.&#x20;

**Follow these steps to add the CMP to your website!**

### **✅ Pre requisites**&#x20;

You need the two following Didomi parameters to properly configure the plugin and correctly deploy the Didomi notice on your website:

* *Organization Public API Key*
* *Notice ID*

{% hint style="info" %}
If you don't know where to find these parameters in the Didomi console, consult [this documentation](https://docs.didomi.io/integrations/content-management-system-cms/retrieve-didomi-parameters-for-cms-plugin.md).
{% endhint %}

### ✅ STEP 1: Install the Didomi CMP plugin for Drupal

* Go to the “Extend” admin page then click on “+ Add new module”:

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FUYolvct9lss0MGVe5Iaz%2Fimage-png-Jun-26-2024-08-05-17-5339-AM.webp?alt=media&amp;token=5f47c81d-c142-4ea5-b388-68feb8a42718" alt="" width="516">

* Enter the URL of the Didomi CMP plugin for Drupal in the *Add from a URL* field: <https://sdk.didomi.io/cms-plugins/drupal/didomi-plugin-drupal-latest.zip> then click on *Continue*:

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FTmPOykEbkPsBzzNzfPV0%2Fimage-png-Jun-26-2024-08-06-49-0867-AM.webp?alt=media&amp;token=9585ea6c-a0a4-4e24-8194-a07ff1601bbd" alt="" width="516">

### ✅ STEP 2: Activate the Didomi CMP plugin

* Navigate to the *Extend* admin page, search for *Didomi CMP* in the list of plugins, check the box then click on *Install*:

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FbQZT1oMyv9wKykWnyopx%2Fimage-png-Jun-26-2024-08-07-59-1968-AM.webp?alt=media&amp;token=79f7b0cf-6008-4635-84fe-4b5ccc9dde8f" alt="" width="516">

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2F0fW5uJUnyh5tUqVbLXPw%2Fimage-png-Jun-26-2024-08-08-06-6929-AM.webp?alt=media&amp;token=59b71dd2-8af7-46d2-b131-8c43b7151705" alt="" width="516">

{% hint style="info" %}
At this stage, the Didomi CMP plugin for Drupal is installed and activated on your website but no consent notice will show just yet.
{% endhint %}

### ✅ STEP 3 – Setup your Didomi notice

After installing and activating the Didomi CMP plugin (Steps 1 and 2) and retrieving the necessary parameters from Didomi (prerequisites), you can proceed to configure the plugin.&#x20;

* Navigate to the *Configuration* admin page and click on the *Didomi CMP* menu item under *System*:

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FxQ52YK9opWwvDVDsLg9F%2Fimage-png-Jun-26-2024-08-09-10-5945-AM.webp?alt=media&amp;token=b92c4d9c-c50e-4b82-aa42-2b1a428bd937" alt="" width="516">

* Enter your Didomi public organization API key and notice ID in the settings then click on *Save configuration*:&#x20;

<img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FtWShUoE9V94FhaiZ5H73%2Fimage-png-Jun-26-2024-08-09-33-6350-AM.webp?alt=media&amp;token=01a674ed-ddd6-46e3-859f-861621992a67" alt="" width="516">

The Didomi CMP notice will now be displayed on your website.


---

# 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://docs.didomi.io/integrations/content-management-system-cms/drupal.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.
