To connect an HP printer to Wi-Fi, you can follow these common methods:

**Method 1: Using the HP Smart App**
1. Ensure your printer is powered on and has paper.
2. Connect your phone or computer to the target Wi-Fi network.
3. Download and install the HP Smart app on your device.
4. Open the app and sign in or create an HP account.
5. The app should automatically detect your printer; if not, add it manually.
6. Go to printer settings → Network Setup, select your Wi-Fi network, enter the password, and tap Connect.
7. Once connected, you can print wirelessly from your device[1][3].

**Method 2: Using WPS (Wi-Fi Protected Setup) Button**
1. Turn on the printer and ensure it’s ready.
2. Press and hold the Wireless button on the printer until the wireless light flashes.
3. Within 2 minutes, press the WPS button on your router for 3-5 seconds.
4. Wait for the printer’s wireless light to become solid, indicating connection success[4].

**Method 3: Using the HP Printer Install Wizard (on PC)**
1. Start the printer software installation.
2. When prompted, select “Network (Ethernet/Wireless)” as the connection type.
3. Follow on-screen prompts to find and connect your printer to Wi-Fi[1][2].

**Additional Tips:**
– Place the printer within Wi-Fi range.
– Enter your Wi-Fi password carefully.
– Print a test page after setup to confirm the connection.
– If connection fails, restart printer, router, and device and try again. Reset printer network settings if needed[2][4].

These steps apply broadly to most HP printers; for detailed, model-specific guidance, refer to your printer’s manual or HP’s official support resources.

References: [1] YouTube HP Deskjet setup, [2] HP official wireless setup guide, [3] YouTube HP Smart app guide, [4] HP support forum WPS connection.