Best way to integrate CrowdSec with HestiaCP IPTables?

Has anyone integrated this with hestia firewall. I had an issue with integrating and now have a potential work around, but I’m wondering if someone has found a more elegant solution.

Thanks!