Open the left sidebar again and go to API & Services > Credentials.
2
Select + Create Credentials > Service Account.
3
Enter a Service account name. The Service Account ID will be automatically generated.
4
The remaining fields are optional. Select Done to create the service account.
5
Select your newly created service account, then go to the Keys tab.
6
Select Add Key > Create new key, choose JSON as the key type, then select Create.A JSON file will be downloaded to your machine. Keep this file secure—you’ll need it to configure the integration.
The downloaded JSON file contains sensitive credentials. Store it securely and never share it publicly. The file structure looks like this:
Domain-wide delegation is required if you want your bot to:
Create Google Meet links for events
Send invitations to attendees
Act on behalf of users in your organization
Without domain-wide delegation, the service account can only manage its own calendar and cannot invite attendees or create Meet links.This feature is only available for Google Workspace accounts. Personal @gmail.com accounts do not support domain-wide delegation.
In Botpress Studio, select Explore Hub in the upper-right corner.
2
Search for the Google Calendar integration, then select Install Integration.
3
In the Configuration menu, select the drop-down and choose Configure manually.
Fill in the integration’s configuration fields:
Calendar ID
In Google Calendar, go to Settings and select your calendar.
Scroll to Integrate calendar to find your Calendar ID.
Copy the Calendar ID and paste it into the Calendar ID field in Botpress.
Client Email
Open the JSON file you downloaded in Step 3 and copy the client_email value.
Private Key
Open the JSON file you downloaded in Step 3 and copy the entire private_key value, including the -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY----- markers.
Impersonate Email (Google Workspace only)
Enter the email address of a user in your Google Workspace that the service account will impersonate.This field is required for:
Creating Google Meet links
Sending attendee invitations
The email must belong to an actual user in your Google Workspace domain. Without this field configured, Meet creation and attendee invitations will not work.
This field only applies if you have configured domain-wide delegation. Personal @gmail.com accounts do not support impersonation.
When you’ve filled in all the fields, select Save Configuration.
You’ve successfully configured the Google Calendar integration!