Do you mean the A-300Pro? If so, once the drivers are installed Sonar will show 3 midi inputs. One is from the actual keyboard (A-pro 1), one is from the controller function of the keyboard (A-pro 2), and the other is the external midi input on the side of the keyboard (A-Pro Midi in).
In Sonar, make sure you have chosen only the keyboard input for your midi track(A-Pro 1 Midi omni), and that the output of that track is set to the synth you are using for audio and not looping back to the A-300Pro
If your keyboard is not an A-300Pro, ignore all of that:)