Welcome to the HP Support Community!
Not sure what device you are referring to (HP Touchscreen?)
When I connect the ancient Palm Bluetooth keyboard I use to my various HP devices (TouchPad, Slate tablets), I see no dialog to enter a code but entering four zeros (0000) then hitting the return key does the trick!
Initiate the pairing from the HP device, and immediately try entering the code followed with a return. If using an Android device, look for the Bluetooth symbol to change color. This will indicate success!
WyreNut
-------------------------------------------------
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!