> For the complete documentation index, see [llms.txt](https://docs.startupstarterkits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.startupstarterkits.com/ssk-pro-features/index-2/chapter-1.md).

# Setting Up reCAPTCHA

## Step 1: **Sign Up for Google reCAPTCHA**

1. Go to the [Google reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin).
2. Register your site by adding your domain (e.g., `localhost` for development and your production domain).
3. Choose **reCAPTCHA v3**.
4. Copy the **Site Key** and **Secret Key**.

## Step 2: **Add Keys to Your Environment**

1. Open your `.env` file and add the keys:

```bash
NEXT_PUBLIC_RECAPTCHA_SITE_KEY=your_site_key
RECAPTCHA_SITE_SECRET=your_secret_key
```

## Step 3 - Whitelisting Domains

In your backend, ensure that the domains allowed to submit forms are whitelisted. The SSK Form Component provides this by default for production and development environments.

```tsx
const WHITE_LISTED_HOSTNAMES = [
  'localhost',
  'yourdomain.com',
  'www.yourdomain.com',
]
```

This prevents tokens from untrusted sources from being processed.
