If you’re using a wired keyboard or a wireless keyboard with a USB dongle, plug the keyboard into one of the two USB ports on the front of the PS4 console. These are the same USB ports that are used to charge the DualShock 4 controllers. After plugging in the USB cable or wireless USB dongle, wait a moment, and the PS4 should recognize your keyboard and mouse automatically. The PS4 will then ask which profile you would like to associate the keyboard and mouse with. Once you’ve made your selection, you’ll be able to use the keyboard and mouse with your PS4.