First, let’s configure a new Google Console project to enable Sheets API.
Open the Google Cloud Console and create a new project:

Click on Enable APIs and Service
, search for Sheets API
, enable the service:

Once enabled, we can configure the service:

We now create credentials, in this tutorial, we’ll use Web Application data
access:

We need to create a service account (the generated email will be useful later 💡):
