> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.teleporthq.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to set up reCaptcha for your forms

When publishing on a custom domain, a reCaptcha key is necessary to provide spam/fraud protection. Here is how to set up reCaptcha for your website.

||| Without reCaptcha keys set up, your TeleportHQ forms will not collect submissions when the website is published on a custom domain.

1. [Add a TeleportHQ form](#2-add-a-teleporthq-form)
2. [Set up reCaptcha for the website](#2-set-up-recaptcha-for-the-website)
3. [Publish the website](#2-publish-the-website)

${youtube}[How to set up reCAPTCA for your forms](Dg94LllNaOQ)

## Add a TeleportHQ form

Before setting up your reCaptcha you will need to add a form to your website. You can [__learn more about forms in this article__](https://help.teleporthq.io/en/article/how-to-use-create-forms-and-use-inputs-1gih72q/#2-2-how-to-create-a-form). 

## Set up reCaptcha for the website

To set up the spam filter, go to: 

* **Left panel -> Forms tab**
* **Click on the form** you just created
* Scroll to the Spam filter section and click on the **Google reCAPTCHA admin link**
* You will be redirected to the [__https://www.google.com/recaptcha/admin__](https://www.google.com/recaptcha/admin) website
* Set up a new website: add a **label**, **set up the reCaptcha type** and **add the domain**
* **Agree with the terms** and **submit**
* Copy the **Site key** and **Secret key**
* Paste the **Site key** and **Secret key** in TeleportHQ
* Click **Save**

![How to set up reCaptcha in TeleportHQ when using custom domain](https://storage.crisp.chat/users/helpdesk/website/-/6/0/c/4/60c4bca58bb99c00/captcha_1w4yw0z.gif)
## Publish the website
Once the reCaptcha is set up, from the **Right side of the Top bar **click **Publish** and use the Custom domain setting.

The submissions from the form will now be collected in the TeleporHQ forms tab.
