Shaft coupler question

A shaft coupler that fits the outer diameter of the flatted shaft and a setscrew to engage the flat will work.