To connect your HP printer to WiFi, follow these general steps:

1. **Place the printer** within range of your WiFi network and power it on.
2. **Access the printer’s wireless setup** menu on its control panel.
3. **Select your WiFi network** from the available list.
4. **Enter your WiFi password** when prompted.
5. **Wait for the printer to establish the connection** and confirm success.
6. **Print a test page** to verify the connection.

For most HP printers, you can also use the HP Smart app on your phone or computer, which will detect your printer and guide you through connecting it to your WiFi network. Simply download the app, add your printer, choose your WiFi, and enter the password through the app interface[1][3][5].

If your printer and router support WPS (WiFi Protected Setup), you may also connect by pressing the WPS button on your router and then initiating WPS connection on the printer for a quick setup[1].

If connection issues arise:
– Restart both your router and printer, wait for them to fully power on, then try again.
– Double-check your WiFi network name (SSID) and password to ensure you enter the correct credentials on your printer.
– Access the printer settings and use the Wireless Setup Wizard to select your network and enter the password again[2].

In summary, the easiest ways are via the printer’s wireless setup menu or using the HP Smart app, with additional options like WPS if supported. Restart devices and verify network info if you encounter problems[1][2][3][5].