The bike frame isn't straight. I used a metal plate 3/16" thick by 2" width, bought at Home Depot. I bent it to make the bracket supporting the battery. I attached it to bike frame by using stainless steel hose clamps.
By adding the e-bike motor and the battery, the bike becomes heavy. I had to insatll a heavy duty bike kickstand.
An 1 1/4" ABS plumbing pipe and a bike bottle cage adapter are used to hide wire connections.
Riding our electric bike at Mont-Tremblant, Quebec, Canada.