Simply refer to the manual for your particular keyboard to find out how to set it up. If so, then you should be able to connect very easily to your Mac or PC with a standard USB Printer cable. If you have digital piano or keyboard have a USB output? It is sometimes labelled USB-Host or similar. Does Your Keyboard Already Have a USB Port?
You can see and hear it in action in all my latest home recording studio videos. Brilliant because it has 4 line inputs available – so plenty of scope to record the sound of your keyboard or other line level instruments, 2 built-in pre-amps for microphones, and MIDI ports on the back too. The Focusrite Scarlett 4i4 Audio Interface is the one I currently own. Scarlett 4i4 – USB Audio Interface with MIDI