Google Service Account

Access the Google API using a Service Account in 2 minutes 💨

Create an integration

In Tenklo (free signup), go to Integrations -> Configure New Integration -> Google Service Account.

Authorize Google Service Account

Go to Connections -> Add Test Connection -> Authorize, then enter your Google Service Account credentials. Later, you'll let your users do the same directly from your app.

Call the Google API

Let's make your first request to the Google API using your service account (fetch a list of calendars). Replace the placeholders below with your Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/calendar/v3/users/me/calendarList?maxResults=10" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials dynamically via the Node SDK or API.

✅ You're connected! Check the Logs tab in Tenklo to inspect requests.

Next step: Embed the auth flow in your app to let your users connect their Google Service Account accounts.

Questions? Join us in the Slack community.

On this page