To hook up an HP printer to WiFi, you generally have these options depending on your printer model:

1. **Using the printer’s built-in Wireless Setup Wizard (for printers with a display):**
– On the printer’s control panel, go to **Setup** or **Network Settings**.
– Select the **Wireless Setup Wizard**.
– Choose your WiFi network from the list.
– Enter your WiFi password.
– Wait for confirmation that the connection is successful[1][2].

2. **Using the WPS button on your router and printer (if supported):**
– Press the **WPS button** on your router.
– Within 2 minutes, press the **WPS button** on your printer.
– The printer connects automatically without entering a password[1].

3. **Using the HP Smart app (works with computers and smartphones):**
– Download and install the **HP Smart app** on your computer or phone.
– Make sure your device is connected to the WiFi network you want your printer on.
– Open the app and add your printer.
– Use the app’s network setup feature to select your WiFi and enter the password[2][3][4].

4. **USB setup method (for printers without display screens):**
– Connect your printer to your PC via USB.
– Install the HP software or HP Smart app.
– Use the software to configure the wireless settings.
– Disconnect the USB cable after setup[1].

Additional tips:
– Ensure the printer is within range of your WiFi router.
– If new to the network or changing networks, you might need to reset the wireless settings on the printer (like holding Wireless and Cancel buttons) to enter setup mode[5].
– Verify your router allows new devices to connect (no MAC filtering blocking).
– Use the latest HP drivers and software versions for best compatibility[2].

This covers most HP printers, including DeskJet, LaserJet, and All-in-One models. The exact menu names might vary slightly depending on the printer model and firmware version.