---
schema_version: "1"
id: 80b15cc1b923fbf8e07469a6a545a0239c868821b9ebdfa4618cdc93ca84e3cd
title: Protect Conversations in Enhanced Chat for Web with reCAPTCHA
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/miaw_recaptcha_verification.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.miaw_recaptcha_verification.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 79a750584e4672572dcfc2bcd84f21376cc3cdca5c68170548a335c7bc1d4698
description: Looking to secure your Enhanced Chat for Web channels from automated threats? Turn on reCAPTCHA v3. With reCAPTCHA verification, only human users can initiate messaging sessions. reCAPTCHA verification enhances protection against spam bots.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# Protect Conversations in Enhanced Chat for Web with reCAPTCHA

Looking to secure your Enhanced Chat for Web channels from automated threats? Turn on reCAPTCHA v3. With reCAPTCHA verification, only human users can initiate messaging sessions. reCAPTCHA verification enhances protection against spam bots.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <a name="miaw_recaptcha_verification__d1265e1065"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="miaw_recaptcha_verification__d1265e1065" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
              <strong>This article applies to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced Web Chat channels</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
              <strong>This article doesn’t apply to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat, Enhanced WhatsApp, Enhanced Facebook Messenger, Standard
              and Enhanced SMS, Enhanced Apple Messages for Business, Enhanced LINE, and Bring Your
              Own Channel</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_note.png)

Note

This feature is available only for API and Web customers.

Google reCAPTCHA is a resource used by Salesforce to support its users and partners and is provided by Google LLC. Google reCAPTCHA is a Non-SFDC Application for purposes of the Salesforce Main Services Agreement and is subject to the applicable Google terms and conditions and policies.

When enabled, reCAPTCHA v3 shows a badge above the chat button displaying Google’s reCAPTCHA Terms and Conditions and Privacy Policy. As required by Google, you must show the reCAPTCHA Terms and Conditions and the Privacy Policy link to end users as part of the workflow.

Enabling reCAPTCHA v3 sets a non-essential cookie, \_GRECAPTCHA, on the client browser. Google uses this cookie for risk analysis only.Blocking these cookies will still not affect the primary functionality of reCAPTCHA.

1. Register your domain on the [Google reCAPTCHA website](https://www.google.com/recaptcha/admin/create).
    
    - Enhanced Web Chat only supports the v3 reCAPTCHA type.
    - Make sure that reCAPTCHA is supported in your region. This feature may not be available in countries where Google is banned and reCAPTCHA URLs are blocked.
    - During site registration, add the domain of the web page that you deployed Enhanced Web Chat to.
    - Copy the site key and secret key for your registered domain to turn on reCAPTCHA.
2. From Setup, in the Quick Find box, enter Messaging Settings, and then select **Messaging Settings**.
3. On the Messaging Settings page, in the Messaging Channels list, click the dropdown arrow for your channel, and then select **Edit**.
4. In the reCAPTCHA Verification section, select **Use reCAPTCHA Verification**.
5. Click **New API Key Pair**. Enter the API Key Pair Developer Name, the reCAPTCHA API Site Key, and reCAPTCHA API Secret Key received while registering your domain with Google. Then click **Add**.
6. Save your changes.
7. On the Embedded Service Deployment Settings Setup page for the channel, click **Publish**.
8. If you’re an API customer, load the client-side reCAPTCHA scripts, generate the clientToken, and send it via the accessToken APIs. Enabling reCAPTCHA from Salesforce Setup may introduce an average latency of approximately 500 milliseconds to an accessToken API call.

To customize the badge placement, you can hide the default badge and replace it with a custom one. To hide the default badge, add this CSS:

```
.embeddedMessagingGRecaptchaBanner {
display: none;
}
```

#### See Also

- [Google Documentation: Register with Google reCAPTCHA](https://www.google.com/recaptcha/admin/create)
- [Google Documentation: Frequently Asked Questions](https://developers.google.com/recaptcha/docs/faq)
- [_Salesforce Developer Docs_: Enhanced Chat Developer Guide](https://developer.salesforce.com/docs/service/messaging-api/guide/setup-recaptcha.html)