- Login to Google console
- Create or select a project
- Go to APIs and Services
- Create new service account
- Create and download service account key as
JSON - Rename downloaded file to
credentials.json - On
APIs and Services > Credentialscreate a new API key - Store generated key to to
.envfile with keyAPI_KEY - On Console enable
Sheets APIfor the project - Copy destination spreadsheet id from Goolgle sheet url
- Store id to
.envfile with keySPREADSHEET_ID - Continue to the next section
cd blueprint
npm install
zip -r ../blueprint.zip *
Use the outputted zip as AWS Lambda blueprint and add ENV variables on the console.