How to Setup Mollom on Drupal 8

How to Setup Mollom on Drupal 8

An OSTraining member asked how to set up the Drupal 8 “Mollom” module. Mollom is a very useful way to protect Drupal from spammers invading your forms.

In this tutorial, I’ll show you how to go through the process of its installation and setting up.

If you are using Drupal 7, we have the How to use the Mollom Module in Drupal 7 class that covers how to do this in detail.

Let’s get started.

  • First, install and enable the module.


  • Select Configure


If you haven’t already, you will need to register with Mollom web site. Ssince this is a tutorial, I will walk you through the process of the registration.

  • Once on Mollom web site, please click on the “Pricing & Sign-up”
  • Select an account type. For the purpose of this tutorial I’m going to select the “Molom Free” personal account. The level of account you need really will depend on the site and on how much support you will need.


Once registered, you will receive an email prompting you to finish the registration process.

  • Enter the URL you expect to use for the site once finished.
  • Select expected language for the site. This can be helpful to filter messages in other languages that you don’t want.
  • Select the type of software your site is using, – “Drupal” in this case.
  • Tick the terms and condition chekbox and click on the “Next” green button.


Now we need to access the site manager and copy the keys into the Drupal configuration. In the top right corner you should see ‘Manage sites’ link.

  • Select “Manage sites”


  • Select “View”

Now you should see the information and statistics of the site.


  • Copy both the public and private keys into your Drupal configuration page.
  • Enabling testing mode here will allow you to check your forms. This is optional but I would advise you test your “Mollom” module before launching it on a production site.
  • Click on the “Save configuration” button.
  • Now that we have successfully set up our “Mollom” module, we need to tell it which forms data input to monitor. We can access our “Mollom” settings by going to “Reports” -> “Mollom Statistics” -> “Forms” tab and clicking on the “Add Form”


  • Once you have selected a form, the configuration options will appear to give you access to more specific details related to the type of your form. This allows us to be more strict on some of the forms and even the option to hold submissions for moderator approval. For this tutorial, I will just use the default settings applied to the sitewide contact form and click on the “Create protected Mollom Form” button.


To verify the form, please visit the page and you should see the following message:


You can disable this notification message when you take your site live, – simply select the checkbox located on the module settings page.

Congratulations! You just learned how to install and configure “Mollom” module for Drupal 8 web site.

Are you new to Drupal? If Yes, then please watch our completely free “Drupal Beginner Class”, which leads you step by step through the process of building a Drupal site.


0 0 votes
Article Rating
Notify of

1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
Kyle Taylor
Kyle Taylor
7 years ago

It might be good to update this article since Mollom posted the End of Life announcement. [url=][/url]

Would love your thoughts, please comment.x