We will configure the core contact form so that anonymous visitors to our site will be able to provide feedback about the site:
In Drupal 8, the contact module is enabled by default. We just need to set permissions to the ANONYMOUS and AUTHENTICATED roles to use the feedback form.
Now, open the d8dev site in your favorite browser, and click on the Extend link in the Admin toolbar. Scroll down to the module named Contact under the Core group; you will notice that the module is enabled. Then, click on the Permissions link:
On the Permissions page, you will notice that the Use the side-wide contact form permission is enabled for the ADMINISTRATOR, ANONYMOUS, and AUTHENTICATED roles by default. So, anonymous users can use the contact form.
Next, log out and navigate to
http://localhost/contact/feedback
. You will see a simple contact form, as shown in the following screenshot: