The ideal location for installation of an electric or non-electric water softener is just after the stop cock of the mains feed into the property.
If this is not feasible, then only install an electric water softener on the mains supply in a LDU (decon room) before a washer disinfector.