Your printer needs to be eligible for HP Instant Ink. You can get all information regarding printer eligibility by visiting 123.hp.com.
Click ‘Check to see if your HP printer works with instant ink.’
You will notice all the names of eligible printers.
If you find your printer among eligible ones, go tohttps://support.hp.com/us-en/document/c03767639 and follow the setup steps.