You normally have a flat on your shaft then weld or ad a collar with a grub screw threaded to a flat spot on the shaft.