Connecting to the printer is the easiest option.
On your printer, go to Settings, then to Device Settings, and finally to Wireless LAN Settings.
Select Default settings or Setup without cable.
Select the name of your network. This is called SSID.
Enter the password for your WiFi network.
Press OK.
Regards,
Will