We have all seen the ‘I’m not a robot’ challange when filling out a form. It helps website owners filter out bot submissions to real people, but how do you impliment this on to your website? Follow the handy guide below on how to create your own API keys to use Google’s reCAPTCHA service
To get the API keys, head over to the Google reCAPTCHA website and click on the ‘Get Started’ button located at the top right corner of the screen, or click this handy button.
You’ll be asked to sign in with your Google account. After that, you’ll see the “Register a new site” page where you need to provide some basic information to register your site.First, you need to type your website name or any name of your choice in the Label field. This will help you easily identify your site in the future.
Next, you need to select the reCAPTCHA V2 radio button.
V3 can also be used if required by refollowing the steps.
This will open up 3 new options. Since you want to add the reCAPTCHA checkbox to your site, you need to select the “I’m not a robot checkbox” option.
The Domains textbox allows you to add the domain name of your website where you would like to add the reCAPTCHA checkbox.
You can also add multiple domains or subdomains by clicking on the plus (+) icon. This will allow you to use the same API keys on different websites.
Under Owners, Google will already add your email address. You can also add another email if you want.
Next, you need to accept the terms of service to use Google reCAPTCHA on your site.
Also, select the “Send alerts to owners” checkbox to allow Google to send emails to you if they detect any misconfiguration or suspicious activity.
Once you’ve filled the form, you can click on the Submit button to register your site.
Google reCAPTCHA will now show you a success message along with the site key and the secret key on this page.
Please keep these safe as you may not be able to view them again
You can now use these API Keys in plugin settings on your website.