Getting Started Install dependencies - npm install Spin up nodejs server - node server.js Note Rename the sample.env file to .env file Replace API URL and make appropriate changes as mentioned in the Google documentation here Vertex Code Generation AI API is paid service need to setup the project with active billing account Generate Authentication Token gcloud auth login gcloud auth print-access-token