To set up your **HP Envy printer to WiFi**, follow these general steps:

1. **Activate the printer’s wireless setup mode** by pressing and holding the wireless button on the back of the printer for about 5 seconds until the status light turns purple. This indicates the printer is ready to connect to WiFi[1][4].

2. **Install and open the HP Smart app** on your computer, smartphone, or tablet. This app is essential for wireless setup with HP Envy printers[1][2][5].

3. In the HP Smart app, **add a new printer** by clicking the plus (+) icon or selecting “Add Printer” and follow the on-screen prompts to choose your printer model and the WiFi network you want to connect to[1][2][5].

4. **Enter your WiFi network password** when prompted and continue the setup. The app will complete the connection process, which may take a few minutes[1][2].

Additional setup methods depending on your model or preference include:

– **Using the printer’s built-in touchscreen** (if available): Navigate to the wireless or network settings, select “Wireless Setup Wizard,” choose your WiFi network, and enter the password via the printer interface[3].

– **WPS method (if your router supports it)**: Press the WPS button on your router, then within 2 minutes, press the WPS button on your printer. This automatically connects the printer to your WiFi without needing a password[3].

– **USB setup**: Connect the printer with a USB cable to a PC, run the HP software, and configure wireless settings through the installation wizard before disconnecting the USB[3].

If you have difficulty or the printer is offline, reset the network settings on the printer (found in the settings or network menu) and repeat the above steps with the HP Smart app to reconnect[5].

Ensure your printer is within the WiFi range and the network is operating on a compatible frequency (generally 2.4 GHz)[3].

Following these carefully will get your HP Envy printer connected to your WiFi network for wireless printing[1][2][3][4][5].