> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v2.0/admin-manual/how-to-set-up-multi-factor-authentication/setup-of-recaptcha-registration-flow.md).

# Setup of ReCAPTCHA registration flow

For ReCAPTCHA set up during registration, do the following steps

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FRs5s01HRwiOqjYSwggBW%2F1.png?alt=media&amp;token=de90ec05-9763-4295-a84d-17098ba8329e" alt=""><figcaption></figcaption></figure>

1. Go to the Authentication tab

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FuLTSzMU5fMQzpTTUPGHE%2F2.png?alt=media&amp;token=8322f691-32c4-443e-8baf-ea8b245cfec2" alt=""><figcaption></figcaption></figure>

2. Click on Duplicate to copy the Registration flow.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F5Q2avEn3G5cwecjgRq3M%2F3.png?alt=media&amp;token=ef081209-5b77-4f7c-a8f8-c9ccceebcd6c" alt=""><figcaption></figcaption></figure>

3. Enter the name for the new flow - ReCAPTCHA Registration flow

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FTH7nqs5ItJMfQhKeO6BK%2F4.png?alt=media&amp;token=5c22b57b-3cb2-451d-95db-d4c01b62cefe" alt=""><figcaption></figcaption></figure>

4. Click on Duplicate.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FncEcdZn05EvUDsKNuYnY%2F5.png?alt=media&amp;token=a460f882-965c-4ba5-8872-242d0ba6fc62" alt=""><figcaption></figcaption></figure>

5. For the Recaptcha field, Click on Settings.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FYRreOuIT2R4UqQfBmE0x%2F6.png?alt=media&amp;token=5a782233-96c8-45cb-9c34-edefee589d60" alt=""><figcaption></figcaption></figure>

6. Now fill in the required details.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Fe0zXaJlEx1nwaqS2mdua%2F7.png?alt=media&amp;token=650d712b-3214-49c0-8503-8c94b8a9cd4f" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="196">Field Name</th><th width="147">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Alias</td><td>Text</td><td>Enter the Alias for the flow as required</td></tr><tr><td>Recaptcha Site Key</td><td>Text</td><td>Enter the value for the Recaptcha Site Key as generated from the Google reCAPTCHA portal.</td></tr><tr><td>Recaptcha Secret</td><td>Text</td><td>Enter the value for the Recaptcha Secret Key as generated from the Google reCAPTCHA portal.</td></tr><tr><td>Use recaptcha.net</td><td>Toggle</td><td>When activated, it utilizes recaptcha.net; when deactivated, it defaults to google.com.</td></tr></tbody></table>

7. Click on Save.
8. Now change the Recaptcha from Disabled to Required.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FOqGn6K2STbmagjiupveI%2F8.png?alt=media&amp;token=1c651dbc-204d-4e61-a038-624601eff370" alt=""><figcaption></figcaption></figure>

9. Click on the Actions, and then Bind flow.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FenXrBCTuQlEddFgR1ScM%2F9.png?alt=media&amp;token=9088f364-f577-41af-baa8-7e825874f7f3" alt=""><figcaption></figcaption></figure>

10. Select the Registration flow.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FgSf6jwxBFtUbVzQzm8XT%2F10.png?alt=media&amp;token=15a2c65f-18a3-491d-a315-94160dbd18c4" alt=""><figcaption></figcaption></figure>

11. Click on Save.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Fmni5Lylw3BDfApS5mOMt%2F11.png?alt=media&amp;token=8d9955d9-a006-4d6f-9d69-5292596092ec" alt=""><figcaption></figcaption></figure>

12. Go to Realm Settings.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FYKli0Wac5kX5snLuDy3q%2F12.png?alt=media&amp;token=636faddd-76c3-4685-86f7-49a09f956416" alt=""><figcaption></figcaption></figure>

13. Click on the Security Defenses tab.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2Foz4wN3bXy8ZoXS5caCF5%2F13.png?alt=media&amp;token=936110b8-f5a0-4c7c-9a58-8c921cb7682a" alt=""><figcaption></figcaption></figure>

14. Change the X-Frame-Options and Content-Security-Policy as required.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FlKmRlmSQIEkBYNvsecqq%2F14.png?alt=media&amp;token=52d17b5a-8977-40e4-adb4-ca4de47e1000" alt=""><figcaption></figcaption></figure>

15. Click on Save.
