After you have chosen a human proof service, you need to add the humanity proof service to your web application.
In this tutorial, we will show how to add it to React, but it can be implemented with any kind of library or framework.
First, we need to add the library of hCaptcha to our project, by using the command below:
npm install @hcaptcha/react-hcaptcha
Once you have installed the react-hcaptcha library, you need to import it on the file that will perform the call to the smart contract
import HCaptcha from '@hcaptcha/react-hcaptcha';
After we installed the library and imported it in the component, we will add it to our code. Also, we need to import the clu3.js file, this function is the one that will send the information to our clu3 service.