Step 1: Create or Select a Google Cloud Project

First, you need a Google Cloud project to house your reCAPTCHA keys. If you don’t have one, you’ll need to create one.

  1. Go to the Google Cloud Console at console.cloud.google.com.
  2. In the project selector at the top of the page, choose an existing project or click “Create Project” to start a new one.

Step 2: Enable the reCAPTCHA Enterprise API

Even for the standard reCAPTCHA service, you need to enable the reCAPTCHA Enterprise API within your project.

  1. From the navigation menu (the “hamburger” icon ☰) on the top left, go to “APIs & Services” > “Library.”
  2. Search for “reCAPTCHA Enterprise API” and select it from the results.
  3. Click the “Enable” button.

Step 3: Create a reCAPTCHA Key

Now you’ll create the actual key pair for your website.

  1. In the navigation menu, go to “Security” > “reCAPTCHA.”
  2. Click “Create key.”
  3. Fill out the key details:
    • Display name: Give your key a descriptive name (e.g., “My WordPress Site”).
    • Application type: Select “Web.”
    • Domain list: Add your website’s domain name (e.g., example.edu). You can add multiple domains if needed.
    • Additional settings (optional): These settings allow you to choose the type of reCAPTCHA challenge, difficulty of those challenges, and threshold for policy-based challenges.
  4. Click “Create key.”

Step 4: Get Your Site Key and Secret Key

After creating the key, you’ll be shown a screen with your public Site Key and a private Secret Key.

  1. Copy both keys immediately.
    • Site Key – shown at the top of the page next to the name you chose for your project
      (e.g., ID: 6LfRCZ0rAAAAALt7CJbYYbk237vjiOvpu00xw5l_)
    • Secret Key – look for a link labeled Use legacy key or Integrate with a third-party-service or plugin to open a popup that displays your Secret Key.
  2. These are the values you’ll use in your WordPress plugin settings. The Site Key is used on the front-end of your website, and the Secret Key is used by the plugin’s back-end to verify requests.