Google
2 min read
Google connects Gmail, Calendar, and Drive to your agents. Before adding accounts, configure a Google Cloud application for the organization. The same application is reused by every account you connect later.
Configure the application
Open Settings > Google in Kujira. It provides the redirect URL and permissions to configure in Google Cloud.
Create the project
Set audience and permissions
Create the OAuth client
Save credentials
Permissions Kujira needs
openidandemailidentify the account authorizing the connection.https://mail.google.com/lets the agent read, send, and manage email.https://www.googleapis.com/auth/calendarlets it view and change calendars and events.https://www.googleapis.com/auth/drivelets it access Drive files according to connected-account permissions.
Restricted permissions
Gmail and Drive scopes are restricted. If you publish an external application, Google may require validation before people outside your organization can authorize it.
Connect accounts and assign them
Connect every account from Connectors or while configuring an agent channel. Assign it only to agents that need it, then select calendars, labels, or folders to watch.
| Service | Events it can receive | Actions of the authorized account |
|---|---|---|
| Gmail | Email filtered by sender or label | Read, send, and manage email |
| Calendar | Created, changed, cancelled events and reminders | View and modify calendars and events |
| Drive | Changes in the selected folder | Read, upload, edit, and share files according to account permissions |
Filters control events reaching the agent; they do not restrict the scope Google granted to the account. If you replace the Google application, accounts must authorize again.