# How to setup GDPR Compliant feature

This feature sends email notifications when a user account is deactivated or if there's any brute force activity detected. It ensures that users are kept informed about any actions taken on their data.



To align with GDPR Compliance guidelines, follow the below steps -

1. Click on Realm settings.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FYqaSLIEYukxsC9J6Dfq9%2F49.png?alt=media&#x26;token=e87ccf63-fe9e-4d03-af48-bf8cb2e2ea50" alt=""><figcaption></figcaption></figure>

2. Click on the Events tab.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F4Ivc5bT9WpNdJMBskLNU%2F50.png?alt=media&#x26;token=22543473-8215-4cdc-ae94-a048a56e5705" alt=""><figcaption></figcaption></figure>

3. For Event Listeners, search for gdpr\_event\_listener and select it.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FpPOhrJNzNF4o2BR6LfSH%2F51.png?alt=media&#x26;token=ff91f313-457d-4ac6-90a6-bc3c08b38bcf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FvzknD0tdT4hNvzGiqXaa%2F52.png?alt=media&#x26;token=38d33daf-f4e5-45ad-9304-2612510e85cf" alt=""><figcaption></figcaption></figure>

4. Click on Save.

This will run once every 5 minutes. In case any brute-force happens or the user account gets deactivated, it will send one notification mail to the User.

\
