How to configure LDAP authentication to the Grafana website [I'm not talking about login]

The server sites must have LDAP authentication restriction, in the sites managed by Apache, in .htaccess, there are LDAP settings, how do I do the same in Grafana?