Assuming it's a sensored motor with the standard 9 pin connector
https://www.pswpower.com/products/kt-kunteng-electric-bicycle-motor-ebike-controller-24v-36v-48v-250w-500w-1000w-brushless-dc-sine-wave-sensor-controller-331
I think you'll need the first controller, PAS, LCD and cable - but...