Adding a module to your codebase
Before you can use a module with your website, you must first add the module to your website's codebase.
For procedures that you can use to set up and use Composer locally with your Acquia Cloud-hosted websites, see Using Composer with Drupal 8 sites. The Drupal community also offers support for using Composer to install Drupal packages on Drupal.org.
Installing a module
Installing using the Drupal interface
To install a module using the Drupal user interface, complete the following steps:
- Sign in to your website as an administrator.
- Go to the Modules page by using one of the following methods:
- In the administrative menu, click Extend.
- In your browser's address bar, go to
[your_site]is your website's URL).
- In the module list, find the module that you want to install, and then select its check box.
- Scroll to the bottom of the webpage, and then click Install.
Installing using Drush
For more advanced users who are familiar with the command line, you can also install and enable modules using a Drush command.
To install a module using Drush, complete the following steps:
- Open a command prompt to access your website's code.
- Using the
cdcommand, navigate to your website's docroot.
- Run the following command:
drush en module_name
module_nameis the project name from Drupal.org. For example, the project name for the Acquia Connector module is acquia_connector, from
After you have installed a module on your website, you will probably need to configure the module's settings or make changes to website user permissions. For additional information regarding these next steps, be sure to review the documentation provided either with your module or on your module's Drupal.org project page.