Skip to main content

Google Vertex AI

Official website

Connect your Vertex credentials

Obtaining your credentials on Google Cloud can be tricky. As of March 28, 2024, here's the process to obtain them:

On Google Cloud

  • Navigate to and log in with your Gmail account.
  • Initiate the Console by selecting the option in the top right corner.
  • In the left panel, click on the "Models Garden" tab.
  • In the search box at the top, type "Vertex AI". Choose "Virtual Studio Vertex".
  • Ensure that you have enabled the Vertex AI API, Dataform API, and Compute Engine API.
  • Go to the Dashboard.
  • From the right-hand menu, select "API & Services" and then click on "Credentials". Click on the email associated with Service Accounts.
  • You'll be directed to the Service Account page; from there, navigate to the "Keys" tab and select "Add Key". The download should start automatically, saving the file as a .json.
  • Rename the downloaded file to "credentials".
  • For the Custom Link, customize it as needed, ensuring to change the LOCATION, PROJECT_ID, and MODEL.
  • Choose Vertex as Provider.
  • Set connection and link with your account on 🔑 button.
  • Paste the link model and Upload the credential.json file.
Remove Key

If you want to remove your API Key from CodeGPT, select Edit Connection on 🔑, and click on Disconnect

Google Models available in CodeGPT


  • gemini-nano
  • gemini-pro
  • gemini-1.0-pro
  • gemini-1.5-pro-latest
  • gemini-ultra

API Errors

If you are getting API errors check the following link: Vertex AI Documentation