Setup overview for websites
Stay organized with collections
Save and categorize content based on your preferences.
This document provides a high-level overview of setting up reCAPTCHA
on websites.
Setting up reCAPTCHA on a website involves the following steps:
Create a reCAPTCHA key for your website (also known as key).
Key is required to collect information about the user actions and send it to reCAPTCHA.
- Choose the key type that is best for your use case.
- Create a key for your website.
Integrate with your website.
Install the key that you created on your web pages by using
the reCAPTCHA JavaScript API.
Integrate with your backend:
- To verify the token sent by reCAPTCHA and assess the risk,
create assessments
from your backend server.
- Interpret the assessment scores and the associated risk,
and define how to handle users, for example, allow the user to log
in only when the score is high and the risk is low.
What's next
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}