There’s probably a ‘midi learn’ mode in ableton, you’d enable that, click on a software control, then turn the md knob.