# Ninja

Have you been receiving form entries with temporary or invalid email addresses?&#x20;

Avoid such bad and invalid email leads at the time of capture on your Ninja Forms with the help of Clearout Email Validator!

Using the **Clearout WordPress plugin** in Ninja Forms can detect and reject :

* Misspelled and other **invalid email** addresses
* **Temporary**, disposable, or throwaway emails that cause bounces
* **Spam traps**, which can damage your *sender's reputation, can get you blacklisted*
* **Gibberish emails**, which are random email addresses created by spammers, usually
* **Role-based** email addresses that have low value to your sales and marketing

{% embed url="<https://www.youtube.com/watch?t=1s&v=Ip_ZNIXUqiM>" %}

## Steps to integrate Ninja Forms with Clearout WordPress Plugin

{% stepper %}
{% step %}
**Log in** to your Clearout account, navigate to the ‘**Developer**’ section. Click on '**+Create API Token**,' add a name and description, then click **Create**.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FFFG7qALkaa5uP1fbxilK%2FClearout-API-Token-creation.png?alt=media&#x26;token=b973bfc9-5ab1-4d09-a119-91a6fe291c34" alt="Clearout API Token Creation for Ninja Form Integration"><figcaption></figcaption></figure></div>

You’ll see the API token. **Copy Clearout API Token**, then go back to your WordPress site.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FlZYfSyvqur594Kawc4GN%2FClearout-API-Token-copying.png?alt=media&#x26;token=60d67b23-5dca-41be-8c96-44112a275c30" alt="Copy Clearout API Token Creation for Ninja Form Integration"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}
Set up the Clearout Email Validator plugin. Go to your form **Settings** > **Clearout Email Validator** *(make sure you’ve activated the plugin)*, **paste** your Clearout API token.

Note: By default, the plugin will block role-based addresses and disposable addresses. You can allow either or both by choosing the checkboxes in the settings.&#x20;

You can also enable "**Accept only Business Address as valid**", which will override all the other settings.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FaM6LmXlHxttPtJOkmUF0%2Fclearout-plugin-settings-1-768x345-1.png?alt=media&#x26;token=26ddc604-81c7-4646-a42f-e92473e2cdeb" alt="WordPress settings of Clearout Email Validator Plugin"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}
Next, if you scroll down, navigate to find the '**Apply Validation**' as shown below. Select '**Ninja Forms**' for the email validation to perform.

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2F9lAV8v4VpmwBv1YX129m%2Fclearout-plugin-settings-2-768x331-1.png?alt=media&#x26;token=5feca499-1b32-46df-9555-f0366eefc707" alt="WordPress settings of Clearout Email Validator Plugin for Ninja Forms"><figcaption></figcaption></figure></div>

That’s it! \
\
Now, when performing a test on your form, it will no longer accept invalid email addresses. \
\
Shown below is **an example** of a Ninja form integrated with Clearout Email Validator. A Gmail address with a typing error has been identified in real-time as invalid, giving the message ‘*This email address is invalid or not allowed – please check.’*

<div data-with-frame="true"><figure><img src="https://93738666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEXQQW0hsXyH0YD4ePoxb%2Fuploads%2FHM0K8bQiO3XxPGKNAc8I%2Fafter-1024x536-1.png?alt=media&#x26;token=afcabeea-4d60-4ef7-a48c-788e5c1bf93f" alt="Email Validation example on Fluent Forms"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}
