Auto-Learn spam/ham installer

Hi all.
I have a running hestiacp serving a few domains.
I have just added (post installation) sieve using /usr/local/hestia/install/upgrade/manual/install_sieve.sh

How can I go on to add the auto-learn spam/ham functionality that is being talked about here?
Where in github would I get the mentioned bash script and would I simply run it as root?

Cheers,
Kos