# Install Secure Privacy Drupal Module – Step-by-Step

> Learn how to install and configure the Secure Privacy Drupal module for GDPR-compliant cookie consent management. Full setup guide for Drupal 8, 9, and 10.

- Canonical: https://support.secureprivacy.ai/article/how-to-install-secure-privacy-on-drupal
- Product: Consent Management
- Category: Integrations
- Published: 2026-03-06T12:42:00+00:00
- Updated: 2026-03-24T23:34:22.6+00:00
- Reading time: 3 minutes

---

[Drupal](https://new.drupal.org/home) is a powerful, open-source content management system (CMS) known for its flexibility and modular architecture. Since 2001, it has evolved into a favored platform for complex, scalable websites used by governments, enterprises, educational institutions, and communities. Its modular structure allows extensive customization through contributed modules and themes — making it an ideal CMS for integrating a consent management platform (CMP) like Secure Privacy for GDPR and cookie consent compliance.

This guide walks you through installing and configuring the **Secure Privacy Drupal module** to enable cookie consent management on your Drupal site.

-   **New to Secure Privacy?** Please follow the entire guide.
-   **Already onboarded?** You can skip directly to the ["Downloading the Drupal Module"](#downloading) section.

* * *

## Who Is This For?

-   Drupal developers and administrators integrating Secure Privacy
-   Website owners seeking compliance with GDPR, CCPA, and other privacy regulations
-   Technical teams setting up a cookie consent management system (CMP) on Drupal

## Getting Started with Secure Privacy

1.  Activate your email address and log in to your Secure Privacy account.
2.  After login, you will see an onboarding screen similar to this:  
    ![Secure Privacy onboarding screen showing platform selection options](https://knowledgebasecdn.helpwise.io/uploads/234834/206059/f957a8047d95dbae337ae082a4b63449b5738931-1744269441-d8f065185c271a80a08333d6e95f80fd388f7316)
3.  Select **Drupal**.
4.  Copy the displayed Secure Privacy script code and save it for later.
5.  Keep this tab open and open a new tab to continue with the Drupal module installation.

## Downloading the Secure Privacy Drupal Module

1.  Download the [Secure Privacy Drupal Module](https://secure-privacy.cdn.prismic.io/secure-privacy/Z_Tpl3dAxsiBwbp4_secure_privacy_drupal.tar "Download Secure Privacy Drupal Module") and save it locally.
    1.  Extract the downloaded archive on your local machine.
2.  Upload the extracted `secure_privacy` folder to your Drupal site's `modules` directory using FTP or your server's file manager.
    1.  For Drupal 8, 9, and 10, use the recommended paths: `/modules/contrib/` or `/modules/custom/`
3.  Set correct file permissions (`755` for folders and `644` for files).

## Installing the Secure Privacy Module in Drupal

1.  While logged in as Administrator, go to the **Configuration** tab.
2.  Scroll to the **System** section and click on _Secure Privacy_.  
    ![Drupal Administrator Configuration tab showing the Secure Privacy option under the System section](https://pub-7bd19505838640d0a08ef1bd6ec3fb9b.r2.dev/articles/1319f06afa19a2bc9eba-f326c729ab79.webp)
3.  Enable the _Secure Privacy_ module by selecting it and clicking **Install**.

## Configuring the Secure Privacy Drupal Module

1.  While logged in as Administrator, go to the **Configuration** tab.
2.  Scroll to the **System** section and click on _Secure Privacy_.  
    ![Secure Privacy configuration option in the Drupal System section](https://knowledgebasecdn.helpwise.io/uploads/234834/206059/b16a5e644691c657690c27870eb9eba10e1bbdf9-1744127829-a570ac3845edb18ee8d5d221d74d4fcaf49e6d0c)
3.  On the configuration screen, paste the Secure Privacy installation script you copied earlier into the _Secure Privacy Script_ text box.  
    ![Pasting the Secure Privacy script into the Drupal module configuration text box](https://knowledgebasecdn.helpwise.io/uploads/234834/206059/361587086e7803e6b0378c2e0e14d76e54f2cf7c-1744127860-84b536e797f788feca051eaae6411e8017b70a84)
4.  Check _Enable Secure Privacy_ and click _Save configuration_.

## Complete the Secure Privacy Setup

1.  Return to the Secure Privacy onboarding tab.
2.  Click **Test Installation**.
3.  A toast notification confirming successful installation will appear at the bottom left of the screen.  
    ![Toast notification confirming successful Secure Privacy installation on Drupal](https://pub-7bd19505838640d0a08ef1bd6ec3fb9b.r2.dev/articles/c5a0007956160c220066-59a41deec681.webp)

## Common Issues & Fixes

### The Secure Privacy module is not showing up in the Extend list. What should I do?

Verify the `secure_privacy` folder is correctly uploaded to the `modules/contrib/` or `modules/custom/` directory and that file permissions are set correctly (`755` for folders, `644` for files).

### I cannot see the configuration screen for the Secure Privacy module.

Ensure the module is enabled in the **Extend** menu and that you are logged in with administrator privileges.

### The Secure Privacy cookie consent script does not load on my website.

Double-check that the correct installation script has been pasted into the _Secure Privacy Script_ field and that the configuration has been saved with _Enable Secure Privacy_ checked.

## See Also

-   [Using Secure Privacy with Drupal (CMP v1)](https://support.secureprivacy.ai/article/cmp-v1-secure-privacy-installation-guide-for-drupal--stepbystep)
-   [Customizing Secure Privacy Cookie Banners with CSS](https://support.secureprivacy.ai/article/customizing-secure-privacy-cookie-banners-with-css)
-   [Adjust Trust Widget Placement in Secure Privacy](https://support.secureprivacy.ai/article/customize-trust-widget-placement--secure-privacy)
