Google reCAPTCHA – How To Get Secret Key & The Site Key

Manas Singh 23rd Sep 2020

With the rise of spam attacks going crazy over the years, Google reCAPTCHA is one of the best Anti-Spamming security that will protect your websites from all sorts of attacks. However, integrating the latest Google reCAPTCHA v3 would be a rather tricky technique.

You will have to register the domain or app to get API keys for that purpose. Talking about the API keys, there are two types of keys.

You can use google reCAPTCHA in simple contact form or inquiry form to stop spam and enhance the form security.

The Public /Site Key

The Public or a Site Key is used to show and render the reCAPTCHA on a web page or page of an application.

The Private/Secret Key

The Private or a Secret Key is used to validate that will decide whether or not it’s the attack of spam. We will see Google reCAPTCHA v3 secret key throughout the tutorial today.

Summary:

A  lot of websites are attacked throughout the website journey and it’s rather hard to cope up with all the spams. This is due to the fact that if your spam plugin goes out, it’s all over for you. No one wants a website full of spam as it’s rather messy and the credibility decreases as a whole.

In this tutorial, we are going to get Google reCAPTCHA API keys by following the simple process that is as follows:

  1. Registering yourself on the Google reCAPTCHA
  2. Choosing a reCAPTCHA type for your application or website.
  3. Copy and Integrate the API key to use in your site or app.

Steps to getting Google reCAPTCHA site and Secret Key

Step 1: Go to Google reCAPTCHA Home

The first step is to visit the Google reCAPTCHA homepage as you can see in the screenshot below. After that, by clicking the “Admin Consoles” button, you will be redirected to the reCAPTCHA page.

 

You will see a whole bunch of options like the website label, reCAPTCHA type, domains, owners, and some other stuff.

Now let’s move to the next step.

Step 2: Sign Up For Web or Application for reCAPTCHA API Key

In this step, our main focus would be getting Google reCAPTCHA v3 site key and the secret key. In this form, you will have to enter a couple of things.

Taking about the reCAPTCHA type, you will have two options:

  • reCAPTCHA v3 - Verify requests with a score
  • reCAPTCHA v2 - Verify requests with a challenge

 

Sign Up For Web or Application for reCAPTCHA

 

In order to stay relevant and have the best reCAPTCHA solution, we recommend the Google reCAPTCHA v3 option.

By choosing the v3, you will have to deal with scoring when encountering those reCAPTCHAs.

Just enter all the information, agree with the terms of service, and you’re good to go. You will get the message as follows:

“Your site”' has been registered.

reCAPTCHAs.

Step 3: Submit the Site Information for Registered API Keys

After entering all the information, you will receive both the Secret key and the Site key. The request that you just entered was fruitful! Viola. The process was simple, wasn’t it? By using Google reCAPTCHA admin control panel, you can take a look at all the domains you’ve included.

 Following these steps, you now have Google reCAPTCHA v3 and you are ready to integrate them into your website.

By visiting the Google reCAPTCHA analytics section, you can view all the reports of total requests and total spams you’re receiving regularly.

 

submit site information

Here,  you can use the Google reCAPTCHA to secure any kind of form where users need to enter data on your sites for spam or abuse. Read the full implementation at google developer tool, it is used for highly advanced risk analyses technique.

 

Authored By Manas Singh

He is a continuous blogger and has blogged on different topic. He loves to surf Internet and always trying to get new Idea about new Technology and Innovations and sharing these great information to all the technology lovers.

Also on DiscussDesk