Software Development Tutorials

How to Get Google reCaptcha v3/2 Site Key and Secret key

Google reCAPTCHA is a free and well-known service which secures your website from abuse and spam. To get the site key and security key, your application or domain name must be registered with Google reCaptcha.

We can also acknowledge the site and secret key as public and private keys. Google allows you to have these keys after registering your web or mobile application.

  • Site key: Invokes the reCaptcha service on your web site or mobile application.
  • Secret key: It makes the communication between your application’s backend and reCaptcha server to validate the user’s response.

In this tutorial, we will learn how to quickly get the Google reCaptcha API keys by going through the following steps mentioned below.

Get Google reCaptcha Site and Secret Key

Step 1: Go to Google reCaptcha website click here.

Step 2: Click on “Admin Console” large blue button at the top right corner.

Step 3: Login into your google account to register Google reCaptcha.

Register a new site for Google reCAPTCHA

Step 4: Register a new application, select reCaptcha v3 or v2 from the reCAPTCHA type option and register the domain name and click on save button.

Registration form in Google reCaptcha dashboard allows you to register your app. There are two reCaptcha options v3 or v2 you can choose either of the version.

The reCAPTCHA v3 verifies the requests with a score.

The reCAPTCHA v2 validates the requests with a challenge and offers three methods to process the validation.

  • “I’m not a robot”: Checkbox Validate requests with the “I’m not a robot” Checkbox
  • Invisible reCAPTCHA badge Validate requests in the background
  • reCAPTCHA Android Validate requests in your android app

Get Google reCaptcha Site and Secret Key

Once the required information is added, you will be landed on a new page. Here you can see your reCAPTCHA Site Key and Secret Key for the registered web or mobile application.

Copy your Site and Secret keys.

Now, you can freely use the site and secret key in your web application and can configure the Google reCaptcha easily.

Digamber

I am Digamber, a full-stack developer and fitness aficionado. I created this site to bestow my coding experience with newbie programmers. I love to write on JavaScript, ECMAScript, React, Angular, Vue, Laravel.

Recent Posts

React Router DOM 6 Fetch Current URL / Pathname Tutorial

If you want to learn how to get the current route's name, component pathname or…

2 days ago

React Js Hide & Show with React Bootstrap Collapse Tutorial

React show and hide example. In this tutorial, we will show you how to step…

5 days ago

How to Integrate Tabs in React Js with React Bootstrap

Tabs are one of the best UI elements for displaying multiple contents in a single…

1 week ago

How to Build Toast Component in React Js with Bootstrap

In this tutorial, we will learn how to create a toast notification component in the…

2 weeks ago

React Js Bootstrap Modal Popup Component Tutorial

Bootstrap offers tons of custom UI solutions. On top of that, it is easy to…

2 weeks ago

React Build Counter using useReducer Hook Tutorial

React js counter using the useReducer hook example. In this post, we will learn how…

2 weeks ago