To hook up an HP printer to WiFi, you can use one of the following main methods depending on your printer model and router capabilities:

1. **Wireless Setup Wizard (For printers with display screens):**
– On the printer, go to the control panel or touchscreen.
– Navigate to **Setup** or **Network Settings**.
– Select **Wireless Setup Wizard**.
– Choose your WiFi network from the list and enter your password.
– Wait for confirmation that the connection is successful[1].

2. **WPS (WiFi Protected Setup) Method (If your router supports WPS):**
– Press the WPS button on your router.
– Within 2 minutes, press the WPS button on your printer or use the printer menu to initiate WPS Push Button mode.
– Wait for the printer to connect automatically (indicated by a solid WiFi light or confirmation message).
– No need to enter a password manually with this method[1][2].

3. **Using the HP Smart App (for smartphones/tablets):**
– Turn on the printer and ensure the WiFi light is blinking blue.
– Open the HP Smart App (available on Android and iOS).
– Tap **Add Printer** and select your printer.
– Choose your WiFi network in the app and enter its password.
– Follow prompts until the printer connects and the WiFi light stops blinking[3].

4. **USB Setup Method (For printers without displays):**
– Connect the printer to a computer using a USB cable.
– Install the HP software or app.
– Use the software’s wireless setup wizard to select your WiFi and enter its password.
– After setup, unplug the USB cable and your printer will connect wirelessly[1].

**Additional tips:**
– Ensure your printer is within the WiFi router’s range and connected to the correct 2.4 GHz band if applicable[1][5].
– For troubleshooting, HP offers support resources that can help with wireless connection issues[1].

This covers the most common, reliable ways to connect your HP printer to WiFi depending on your device’s features and your network setup.