Cant connect to google cloud for gemini code assist

using IDX and I am trying to connect to google cloud to use Gemini Code Assist . It tells me to get Google Cloud verification code “Go to the following link in your browser:” … which I do … but where do I paste it ? terminal has “Enter authorization code:source /home/user/pythonsandbox1/myenv/bin/activate” but when i paste the key I get “invalid_grant”. where do i paste the key ? replace the whole "Enter … " line or after the “:” or create a file somewhere ?