---
title: "Web Governance integration setup for Drupal"
date: "2025-12-09T12:51:57+00:00"
summary:
image:
type: "page"
url: "/web-governance/web-governance-integration-setup-drupal"
id: "cf3ee85f-4ecc-4d18-92b4-e2d152cf75c6"
---

**Introduction**

Acquia Web Governance is available as a powerful and intuitive Drupal module specifically engineered to empower content editors and site administrators. Its core functionality revolves around enhancing critical aspects of a website, including: 

*   Search Engine Optimization (SEO)
    
*   Accessibility
    
*   Data Privacy
    
*   Readability
    

Web Governance provides real-time feedback and actionable insights, and enables users to proactively identify and address potential issues as content is created or updated, rather than after publication. This proactive approach saves valuable time and ensures that the website consistently adheres to best practices and regulatory standards.

This document provides instructions on how to do the initial setup, explains key features and functionalities, and provides practical tips on how to use the module effectively to ensure that your website remains optimized, inclusive, and engaging for all visitors.

### What you will achieve

*   **Improved SEO**: Identify and get instructions on how to improve search engine optimization deficiencies.
*   **Enhanced Accessibility**: Ensure adherence to WCAG 2.0/2.1/2.2 compliance standards.
*   **Better Readability**: Assess and improve content complexity levels.
*   **Real-time Analysis**: Obtain immediate feedback during content creation.
*   **Canvas Integration**: Perform a seamless content scan within the Canvas authoring environment.

Prerequisites and requirements
------------------------------

### System requirements

*   Drupal Core: Version 10.3+ or 11.x
*   PHP: Version 8.1 or higher
*   Composer: 2+
*   Node: 18+
*   NPM: 10+

### Account requirements

*   Web Governance account: An [active registered](https://new.monsido.com) Web Governance account.
*   API credentials: An API Key and API URL retrieved from your Web Governance dashboard. This requires Administrative access in Web Governance. For instructions, visit [API tokens](/node/58521).
*   Appropriate permissions: Administrative access in Drupal is required to configure the module.

Installation guide
------------------

1.  Install the Drupal module with the Composer (recommended) plugin.
    
    `composer require drupal/acquia_optimize`
    
2.  Enable the Drupal module with one of the following methods
    

*   Enable with [Drush](#Enable)
    
    `drush en acquia_optimize -y`
    
*   Enable with the Drupal Admin UI
    
    *   Navigate to `admin > modules` and enable the Acquia Web Governance module.
        

Initial configuration
---------------------

### Access the Configuration Page in Drupal

*   Navigate to: `/admin/config/content/acquia-optimize`
    

### API Configuration

1.  Log in to your Web Governance account.
2.  Retrieve the API token. For instructions on how to retrieve the API token, visit [API tokens](/node/58521).
3.  Generate or copy your:
    *   API Key: A unique identifier for your account.
    *   API URL: The designated endpoint for API communication.

### Configuring API settings in Drupal

*   API Key: Enter your Web Governance API token.
*   API URL: Enter the API endpoint URL.
*   Connection validation:
    *   The system automatically validates the provided credentials.
    *   Pre-validation checks are performed before the system makes a successful connection.
*   Debug Mode: Enable this so that the user can see the logs in the console when they perform a quick scan with the Acquia Web Governance extension.

### Setting accessibility guidelines

Select your desired accessibility compliance level in Drupal:

Guideline

Description

Use Case

WCAG2-A

Basic accessibility

Minimum compliance

WCAG2-AA

Standard accessibility

Recommended for most sites

WCAG2-AAA

Highest accessibility

Government/public sites

WCAG21-A/AA/AAA

Updated 2.1 standards

Modern compliance

WCAG22-A/AA/AAA

Latest 2.2 standards

Future-proofing

Recommendation: WCAG2-AA is recommended for general websites.

User management and permissions needed in Drupal
------------------------------------------------

There are two available permissions for this module in Drupal:

*   Scan Acquia Web Governance
*   Administer Acquia Web Governance 

### Scan Acquia Web Governance 

*   Who needs it:
    *   Content editors
        *   Authors
        *   Reviewers
*   What it allows:
    *   Users with this permission can do quick scans on content.
    *   Users with this permission can view scan results.
    *   Users with this permission can access the scan interface.

### Administer Acquia Web Governance 

*   Who needs it: Site administrators and technical leads.
*   What it allows:
    *   Users with this permission can access to configuration settings.
    *   Users with this permission can modify API credentials.
    *   Users with this permission can change accessibility guidelines.
    *   Users with this permission can enable or disable debug mode.
    *   Users with this permission gain access to all scanning permissions.

Additional resources
--------------------

The following resources are available for this application:

*   [Quick Scan in Drupal setup](https://docs.acquia.com/node/61336)
*   [How to do the Quick Scan in Drupal](/node/70221)
*   [Developers page about Drupal](https://docs.acquia.com/node/57906)
*   [Acquia](https://www.drupal.org/project/acquia_optimize) Web Governance page on Drupal.org