Set Proxy server automatically for clients

I searched for that but I can't find any complete solution to doing that.
Are this one is OK?
https://findproxyforurl.com/deploying-wpad/