[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-17。"],[],[],null,["# Understand the implementation of reCAPTCHA\n\nThis document shows the implementation path of\nreCAPTCHA to protect your websites, mobile applications, APIs,\nor content served by a web application firewall (WAF).\n\nreCAPTCHA workflow for websites\n-------------------------------\n\nThe following illustration provides a high-level overview of the implementation\nof reCAPTCHA on websites:\n\nSetting up reCAPTCHA on websites involves the following steps:\n\n1. Create reCAPTCHA keys: Choose the reCAPTCHA key type that is best for\n your use case and create keys.\n\n2. Integrate reCAPTCHA with your website: To collect information\n about the user actions and send it to reCAPTCHA, install\n the keys that you created on your web pages by using the reCAPTCHA JavaScript API.\n\n3. Integrate reCAPTCHA with your backend: From your backend\n server, create assessments to verify the token sent by\n reCAPTCHA and assess the risk. Interpret the assessment scores\n and the associated risk, and define how to handle users---for example, allow\n the user to sign in only when the score is high, which indicates low risk.\n\nAfter you set up reCAPTCHA, we recommend that you annotate the\nassessments whenever you have more information about the user interactions.\nThis helps reCAPTCHA to tune your site-specific model and improve\nthe risk detection.\n\nYou can also set up additional security to protect user accounts and payment\nworkflows on your websites.\n\nFor instructions, see\n[Set up reCAPTCHA on websites](/recaptcha/docs/setup-overview-web).\n\nreCAPTCHA workflow for mobile applications\n------------------------------------------\n\nThe following illustration provides a high-level overview of the implementation\nof reCAPTCHA on mobile applications:\n\nSetting up reCAPTCHA on mobile applications involves the\nfollowing steps:\n\n1. Create reCAPTCHA keys: Create score-based keys for your mobile applications.\n2. Integrate with your mobile application: To collect information about the user actions and send it to reCAPTCHA, install the keys that you created on your mobile application by using the reCAPTCHA SDK.\n3. Integrate with your backend: From your backend server, create assessments to verify the token sent by reCAPTCHA and assess the risk. Interpret the assessment scores and the associated risk, and define how to handle users---for example, allow the user to sign in only when the score is high, which indicates low risk.\n\nAfter you set up reCAPTCHA, we recommend that you annotate the\nassessments whenever you have more information about the user interactions.\nThis helps reCAPTCHA to tune your site-specific model and improve\nthe risk detection.\n\nYou can also set up additional security to protect user accounts on your\nmobile applications.\n\nFor instructions, see\n[Set up reCAPTCHA on mobile applications](/recaptcha/docs/setup-overview-mobile).\n\nreCAPTCHA workflow for WAF\n--------------------------\n\nThe following illustration provides a high-level overview of the implementation\nof reCAPTCHA at the WAF layer:\n\nSetting up reCAPTCHA at the WAF layer involves the\nfollowing steps:\n\n1. Select WAF features: Understand the WAF features and choose one or more WAF features that suit your use case.\n2. Integrate with your website or mobile application: Create reCAPTCHA keys for WAF. To collect information about the user actions and send it to reCAPTCHA, install the keys that you created on your web pages by using the reCAPTCHA JavaScript API or on mobile applications by using the reCAPTCHA SDK.\n3. Integrate with your WAF service provider: To let your WAF service provider manage the incoming user requests, configure policies based on the scores returned by reCAPTCHA.\n\nAfter you set up reCAPTCHA, we recommend that you annotate the\nassessments whenever you have more information about the user interactions.\nThis helps reCAPTCHA to tune your site-specific model and improve\nthe risk detection.\n\nFor instructions, see\n[Set up reCAPTCHA at the WAF layer](/recaptcha/docs/setup-overview-waf).\n\nreCAPTCHA express workflow for application servers\n--------------------------------------------------\n\nThe following illustration provides a high-level overview of the implementation\nof reCAPTCHA express on application servers.\n\nSetting up reCAPTCHA express on application servers involves the\nfollowing steps:\n\n1. Create express keys for your application server.\n2. Integrate with your backend: From your backend server, create assessments to assess the risk. Interpret the assessment scores and the associated risk, and define how to handle users---for example, allow the user to sign in only when the score is high, which indicates low risk.\n\nAfter you set up reCAPTCHA, we recommend that you annotate the\nassessments whenever you have more information about the user interactions.\nThis helps reCAPTCHA to tune your site-specific model and improve\nthe risk detection.\n\nFor instructions, see\n[Set up reCAPTCHA express on application servers](/recaptcha/docs/express-standalone).\n\nWhat's next\n-----------\n\n- [Set up reCAPTCHA on websites](/recaptcha/docs/setup-overview-web)\n- [Set up reCAPTCHA on mobile applications](/recaptcha/docs/setup-overview-mobile)\n- [Set up reCAPTCHA at the WAF layer](/recaptcha/docs/setup-overview-waf)\n- [Set up reCAPTCHA express on application servers](/recaptcha/docs/express-standalone)"]]