Good day
Great laptop you have.
According to the following link(
https://www.hp.com/ch-de...) the HP active PEN G3 should be compatible (scroll down a bit).
Otherwise create a support ticket on the HP support website.
I am not from HP and therefore cannot guarantee my statement (to the best of my knowledge).
Best regards