# Add reCaptcha to the form

### Step 1: Set up Google reCaptcha v2/v3 Site Key and Secret Key

Firstly, in order to activate reCaptcha v2 on your form, please make sure that you have filled out **Site key** and **Secret key** in the app’s **Settings**.

**Note:** If you have not finished this task yet, please read [this](https://help.samita.io/docs/samita-wholesale-pricing/customer-management/set-up-google-recaptcha-v2-v3-site-key-and-secret-key/) article to get Google reCaptcha Site key and Secret key and fill them in the app’s settings.

### Step 2: Add Google reCaptcha to app Settings

Please follow our below instructions:

1. From the app admin page, click **Settings**
2. Click **Google reCaptcha** tab > **reCaptcha type dropdown** > select **v2** or **v3**&#x20;
3. Enter **Site key** and **Secret key** you get in **step 1** above
4. Select language of the reCaptcha on front store
5. Click **Save** and save the app **Settings** too

### Steps 3: Enable **Google reCaptcha** on the form

1. From the app admin page, click **Registration** **Form** > open the form you want to edit
2. Click **Settings** > **Google reCaptcha >** tick on checkbox **Enable**&#x20;
3. Click **Save** to update the changes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.samita.io/samita-wholesale-b2b/registration-form/add-recaptcha-to-the-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
