# 4. Privacy Data Permissions

## Configure Privacy Consent

The KYB privacy permissions flow easily allows business's to consent to sharing their [privacy data](/integration/how-to-integrate/request-privacy-data/list-of-privacy-data.md) with your dApp in a few simple, secure steps.

You can configure the KYB onboarding application to request for privacy consent by passing `requestPrivacyConsent` as `true` to the onboarding component.

The applicant will be presented with the following screen after validating their business's email address.

Once privacy consent is granted, a callback function will be triggered to inform your dApp.

<figure><img src="/files/WWpvGCpkeqTwU6YNKDTl" alt=""><figcaption></figcaption></figure>

## Require Granted Consent

You can pass `isPrivacyConsentRequired` as `true` to prevent the application from going forward unless consent is granted.

The applicant will receive the following screen in this case, when they click "Don't Allow".

<figure><img src="/files/BbwqgsZOLoCqANQlNFWo" alt=""><figcaption></figcaption></figure>

## Example

```typescript
<QuadrataKyb
    requirePrivacyConsent={true}
    isPrivacyConsentRequired={true}
    ...
/>
```

{% hint style="warning" %}
In order to use this feature, application owners must have a working implementation of the Quadrata KYB Client. \
\
A full example and integration steps can be found here: [5. Full Example](/integration/how-to-integrate/onboard-users/business-passport-onboarding/5.-full-example.md)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quadrata.com/integration/how-to-integrate/onboard-users/business-passport-onboarding/4.-privacy-data-permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
