1. Access the Google Cloud Console
Log in to the Google Cloud Console
Select or create a new project dedicated to the TAC integration.
2. Enable the Required APIs
In the selected project:
Go to APIs & Services → Library
Enable the following APIs:
Gmail API
Google Calendar API
Admin SDK API (required for users and directory access)
3. Configure the OAuth Consent Screen
Go to APIs & Services → OAuth consent screen
Select Internal (recommended for companies).
Fill in the main fields:
App name: TAC – Mail & Calendar Integration
User support email
Developer contact information
Save and continue without publishing (if the app is internal).
4. Create OAuth 2.0 Credentials
Go to APIs & Services → Credentials
Click: Create credentials → OAuth client ID
Select:
Application type: Web application
Fill in the following fields:
Name: TAC Web App
Authorized redirect URI:
Save and take note of:
Client ID
Client Secret
5. Required Scopes and Permissions
The integration uses the following OAuth scopes to synchronize activity history.
Email (Gmail)
Calendar
User Directory (Admin SDK)
⚠️ The readonly scopes guarantee read-only access to emails and calendar events.
6. Configure Domain-Wide Delegation (Admin)
This step is required to allow TAC to access user data at the domain level.
Log in to the Google Workspace Admin Console
Navigate to:
Security → API controls → Domain-wide delegation
Click Add new
Enter:
Client ID (the one obtained from the Google Cloud Console)
OAuth scopes (comma-separated):
Save the configuration.
7. Configure the Integration in the TAC Portal
Log in to the TAC portal:
Go to:
Settings → Integrations
Select Google Workspace
Enter:
Client ID
Client Secret
Enable:
✅ Import Emails
✅ Calendar SynchronizationClick Save.
8. Integration Result
Once the integration is complete:
TAC synchronizes emails from Gmail associated with contacts
TAC synchronizes events from Google Calendar (meetings, calls, invitations)
Each contact will display a centralized activity history, useful for:
preparing before a call
tracking follow-ups and relationships
ensuring continuity even in distributed teams.


