> For the complete documentation index, see [llms.txt](https://cmp.docs.sirdata.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmp.docs.sirdata.net/en/install/in-a-cms/loading-in-drupal.md).

# Loading in Drupal

You can easily copy/paste the Sirdata CMP tag into the header of your Drupal site.

**In Drupal :**

**1) Select "Extend" in the menu**<br>

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FOR0ruLLCDFJIrxVMvv4D%2Fimage.png?alt=media&amp;token=0626b384-3692-4a17-986a-c176606ef6fe" alt=""><figcaption><p>"Modules"</p></figcaption></figure>

**2) Click on "Add new module"**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2Fo4mgHuVlMzbnRl3toctN%2Fimage.png?alt=media&amp;token=7014befb-47d8-4212-bc43-308f2bfe4b47" alt=""><figcaption></figcaption></figure>

**3) Click on "Modules"**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FcalAIq6bMm3i2DLtwB9x%2Fimage.png?alt=media&amp;token=638bb64c-34dd-40df-bdbf-6d1c84ae9fa1" alt=""><figcaption></figcaption></figure>

**4) Search for "CMP Sirdata" in the search bar**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2Fvk3KhBIl0urzmMxbjjvS%2Fimage.png?alt=media&amp;token=27f55a17-5bc3-4108-a147-0e40c288f7ae" alt=""><figcaption></figcaption></figure>

**5) Select the "CMP Sirdata" Module**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FojG9y9yZBjzFJA6lR4g4%2Fimage.png?alt=media&amp;token=854cf5ad-fd2c-4944-a15f-1bf7d51f3236" alt=""><figcaption></figcaption></figure>

**6) Select the latest version :**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2F4IiZjzGWkFvaWcjfK6Z4%2Fimage.png?alt=media&amp;token=043f7831-9b0c-41fd-92f9-372c615ca82d" alt=""><figcaption></figcaption></figure>

**7) download the "tar.gz" file**

<figure><img src="https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FZNEARUdBGvucAL6PTLdb%2Fimage.png?alt=media&amp;token=827b74c4-40f0-4c34-ac70-2259864bed33" alt=""><figcaption></figcaption></figure>

**8) Add the file to your module**

\
![](https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2F6nHJ6GJ13ZtkVNaGtxRc%2Fimage.png?alt=media\&token=3705e2fa-145c-452c-9085-5f5ba248d32e)

**9) In your module list, install the CMP Sirdata module**

\
![](https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2F6nHJ6GJ13ZtkVNaGtxRc%2Fimage.png?alt=media\&token=3705e2fa-145c-452c-9085-5f5ba248d32e)

**10) Configure your CMP**

\
![](https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FsrmDV4m9DDwvQi1Wbf0v%2Fimage.png?alt=media\&token=ea157bba-0000-405f-a478-f5c36f91084b)

**11) Add the PartnerID and the configID on the**[ **CMP Sirdata portal**](https://cmp.sirdata.io/)

\
![](https://1869615683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-1972196547%2Fuploads%2FO5cDeJqh1v0NQjzELuvA%2Fimage.png?alt=media\&token=d1e0b709-fa6d-4875-bcbb-dcf45d7bb272)

And there you go, your Sirdata CMP is deployed on your Drupal site !

[Loading in PrestaShop](/en/install/in-a-cms/loading-in-prestashop.md)


---

# 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://cmp.docs.sirdata.net/en/install/in-a-cms/loading-in-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.
