reCAPTCHA is a free service that can help protect your Fonteva communities from malicious activities. When enabled in Fonteva, your community sites use a default reCAPTCHA account where you can view aggregate traffic metrics across all Fonteva customers.

Before enabling reCAPTCHA, you can create a unique reCAPTCHA account for your association instead of using the default Fonteva account. A unique reCAPTCHA account is optional for customers using the force.com domain, but it is mandatory for customers using a custom domain.

Warning: You must create a unique reCAPTCHA account if your org uses a custom domain instead of the default force.com domain.

Required Versions

The following releases support customer reCAPTCHA accounts:

  • release 20spring.1.32 and later

  • release 21winter.0.25 and later

Associations on Fonteva release 20Spring.0 or earlier, and using a custom domain, should open a case with Fonteva Support to discuss using reCAPTCHA.

Step 1: Create a reCAPTCHA Account

Important: Fonteva supports reCAPTCHA v2 using “I’m not a robot” validation only. To work with your Fonteva instance, your reCAPTCHA account must be configured as detailed in the following steps.

  1. Go to the Google reCAPTCHA Register a New Site page.

  2. In Label, enter a name for your account.

  3. Under reCAPTCHA type, select reCAPTCHA v2, then select “I’m not a robot” Checkbox.

  4. Under Domains, click next to the plus icon and then enter your domain name.

    1. If using the default force.com domain, enter force.com.

    2. If using a custom domain, enter your unique domain name.

  5. (Optional) Under Owners, add the email addresses of additional account owners as needed.

  6. Select Accept the reCAPTCHA Terms of Service.

  7. Select whether you want to Send alerts to owners, then select Submit. The Adding reCAPTCHA to your site page opens to provide your Site Key and Secret Key.

The Site Key and Secret Key are required to configure your reCAPTCHA account in Fonteva. Leave this page open, or copy the information into a text file, for use in the next step.

Related Documentation: For more information about how to create and manage your reCAPTCHA account, refer to the Google Developer’s Guide.

Step 2: Create Custom Metadata Types

After creating your reCAPTCHA account, point Fonteva to your account instead of the default Fonteva account. Use the Site Key and Secret Key generated in the previous step to create two new metadata types in your org that act as pointers.

  1. Go to Setup > Custom Metadata Types.

  2. In the Label column, select Fonteva Registry Entry.

  3. Select Manage Fonteva Registry Entries, then select New to create your Site Key metadata entry.

    1. In Label, enter “(Captcha) Site .” The next field, Fonteva Registry Entry Name, autogenerates when you tab.

    2. In Entry Key, enter “Site,” then select Save.

    3. In Entry Category, enter “Captcha.”

    4. Select Is Enabled.

    5. In Entry Value, paste your reCAPTCHA account Site Key, then select Save

  4. Select Clone to copy your new custom metadata, then edit the fields to create your Secret Key metadata entry.

    1. In Label, enter “(Captcha) Secret.” The next field, Fonteva Registry Entry Name, autogenerates when you tab.

    2. In Entry Key, enter “Secret,” then select Save.

    3. In Entry Category, enter “Captcha.”

    4. Select Is Enabled.

    5. In Entry Value, paste your reCAPTCHA account Secret Key, then select Save.

Next Step

Enable reCAPTCHA by configuring three elements in your org: Remote Site Settings, Content Security Policy Site Settings, and the Community record(s).