Control Cubase with Yamaha KX-8 keyboard

Hello. I would like to control the volume and pan (in the inspector menu of Cubase) with the Yamaha KX-8 knob. Is someone know how to do that ?