I have managed to obtain the key and connect to the hub using this method.
But looks like the better option is connecting the hub with Matter.