Anti-Spam with ReCAPTCHA

Integrating reCAPTCHA with the Form Builder in Breakdance

In this guide, learn how to use reCAPTCHA with your Form Builder forms in Breakdance. This process involves selecting your form builder element, configuring reCAPTCHA settings, and obtaining API keys from the Google Cloud Console.

Setting Up reCAPTCHA in Form Builder

Selecting the Form Builder Element

  1. First, select your Form Builder element in Breakdance.
  2. In the properties panel, scroll down to the ‘Advanced’ section.
  3. Expand the ‘Advanced’ accordion to access more settings.

Configuring reCAPTCHA Settings

  1. Open the reCAPTCHA popover within the Advanced settings.
  2. Enable reCAPTCHA by toggling the option on.
  3. Choose to use the default key or opt to use a custom key under the ‘Custom’ tab.

Obtaining the reCAPTCHA API Key

  1. Visit the Google Cloud Console at console.cloud.google.com. Note that you’ll need to create an account if you haven’t already.
  2. In the main menu, navigate to Security > Detections and Controls > reCAPTCHA Enterprise.
  3. Enable the reCAPTCHA Enterprise API.
  4. Create a new key and specify the platform type as ‘website’.
  5. Add your domain and click ‘Done’.
  6. After creating the key, use the ‘Use Legacy Key’ link to get your actual API key.

Applying the API Key to Your Form

  1. Return to your Breakdance form builder.
  2. Insert the secret key obtained from the Google Cloud Console into the appropriate field.
  3. Also, retrieve the site key from the Google Cloud Console and add it to the ‘Site Key’ field in Breakdance.
  4. Once both keys are entered, reCAPTCHA is set and ready to use.

Verifying reCAPTCHA on the Frontend

After saving your settings in the form builder, you can verify the activation of reCAPTCHA by viewing the form on the frontend. Look for the reCAPTCHA badge near the bottom right of the page, indicating that reCAPTCHA is active.

Additional Notes

This tutorial provides a step-by-step guide to integrating Google’s reCAPTCHA service with your forms in Breakdance. It’s essential to follow each step carefully to ensure the security feature is properly set up and functioning.