# Captcha

**reCAPTCHA** option allows adding a popular service providing anti-abuse security to protect your application. For integrating Google reCAPTCHA in an application, the app or web domain has to be registered to get the **API keys.**

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FSLWxUhryXssGucEAIUfu%2Fimage.png?alt=media&#x26;token=37d0a26d-fb97-4721-8e7c-1be8e32c93ef" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**IMPORTANT**

If you are using additional security plugins, such as Wordfence, which may add reCAPTCHA verification **across the entire site**, the reCAPTCHA tab of Global Settings **should be left blank.**
{% endhint %}

## How to Obtain reCAPTCHA Credentials?

It is a quite straightforward action.

{% stepper %}
{% step %}
After visiting the [link](https://www.google.com/u/0/recaptcha/admin/create) provided, you can fill in the form fields like this:

{% embed url="<https://www.google.com/u/0/recaptcha/admin/create>" %}

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FHVAQif557m7usqnvvRxg%2Fimage.png?alt=media&#x26;token=886ba933-1a41-4623-9413-efced2bbff10" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After clicking the submit button, on the opened page you can get your **Public Key** and **Secret Key:**

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FmL4IpUZNh0YIfu1XlEKY%2Fimage.png?alt=media&#x26;token=54b5d1fb-9665-4439-84b9-75cc30d17864" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Copy and paste those keys to their designated areas in the settings. Do not forget to **save** the changes.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FTkGI2iSjPQn2tf4isQe3%2Fimage.png?alt=media&#x26;token=b5c408e4-9e65-4e1d-b13d-d4cd1400cb0e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Now you can enable Google reCAPTCHA in the [**Order Form settings** ](https://docs.stylemixthemes.com/cost-calculator-builder/calculator-settings/order-form#captcha-by-google-to-prevent-bots)of the **Calculator Settings**:

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FYCZPfIdGE83k3nJoGio5%2Fimage.png?alt=media&#x26;token=0f062382-bb51-4507-b329-85e64c883292" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

The badge displayed during order submission confirms that reCAPTCHA is active for this calculator.

<figure><img src="https://834137925-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTO7zmTA5-HpvK8JDA%2Fuploads%2FglAdEWqYQxvPJC4LF2cx%2Fimage.png?alt=media&#x26;token=9118de7d-a173-4958-b328-a59d37ae5617" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
You can review here how to set up **ReCaptcha v2** with the [**Contact Form 7**](https://contactform7.com/recaptcha-v2/) Plugin.&#x20;
{% endhint %}
