Tried Astro Flight motors?

Who knows how to install Astro Flight motors as a mid-drive setup? I want to use those motors on a new, custom cargo bike. It seems Astro Flight sells the motors to the DIY crowd but I don’t have that experience. I had looked at the Bosch ebike cargo line, but I really want Astro Flight motors and parts as much as possible.