Create credentials.json Goto https://developers.google.com/docs/api/quickstart/nodejs and generate and download configuration