Hi!
Are the mouse and keyboard wired or wireless?
What specific difficulty are you having connecting the new keyboard and mouse?
What problem were you having with the old keyboard and mouse?
Keyboards and mice are generally plug-and-play, meaning you simply connect them and can start using them right away. It is best to use the rear USB ports.