How do i set up googe 2fa manually? Do they collect keys?

How do i set up google 2fa without their pop-up script reading the nitrokey with closed code? They could steal every key!
Why dont they just post the key so i can add it in the nitrokey app? How do i bypass googles 2fa setup madness? Thanks