# Setup reCAPTCHA in forms

### Step 1 <a href="#step-1" id="step-1"></a>

First, we need an API key, so head on over to [**https://www.google.com/recaptcha/admin**](https://www.google.com/recaptcha/admin). To gain access to this page you’ll need to be logged into a Google account.

You’ll be asked to register your website, so give it a suitable name, then list domains (for example example.com) where this particular reCAPTCHA will be used. Subdomains (such as landing.example.com and code.example.com) are automatically taken into account.<br>

### Step 2 <a href="#step-2" id="step-2"></a>

With that done you’ll be given a site key and its partner secret key:<br>

![](/files/-LmlH0QbXuGui5ydPqx7)

Open the settings of your project from the dashboard in your account at [**builder.pixfort.com**](https://builder.pixfort.com/) and switch to the **Forms** tab, then select reCaptcha box and copy the reCaptcha secret key and paste it in the corresponding field at the bottom of the page and click the save button:<br>

![](/files/-LmlH2UASzGDj8VmaPbr)

### Step 3 <a href="#step-3" id="step-3"></a>

Open the builder and open the settings of the form (click the "**Form Settings**" icon from the blue bar above the form), then drag and drop the reCAPTCHA element from the right sidebar.\
After that, click on the "**Settings**" button on the right of the reCAPTCHA elements inside the form and fill in your "Site key" that you obtained in **Step 2**.

After that, save the project and the reCAPTCHA will be ready to use.

![](/files/-LmlH4Gmoe7i_OnBkqBK)

{% hint style="info" %}
**Note:** the reCaptcha widget will only show up after exporting the project (the reCAPTCHA element inside the builder is a placeholder image).
{% endhint %}


---

# 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://help.pixfort.com/integrations/setup-recaptcha-in-forms.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.
