Question about google calendar integration
# support
a
How can I integrate multiple google accounts’ calendars to allow me to create different assistants for different businesses with different google accounts as I can only see an option to log in with a single google account on the dashboard?
v
Thank you for your question! Based on the documentation, the dashboard currently allows connecting a single Google Calendar account at a time for tool integration. To clarify: Are you looking to have each assistant permanently linked to a different Google account (so each business has its own calendar integration), or do you need assistants to access multiple calendars from different accounts within the same assistant? This will help me provide the most relevant guidance for your use case. Source: - [Google Calendar Integration Documentation](https://docs.vapi.ai/tools/google-calendar)
a
Different assistants so each business has its own calendar integration
u
You have to make use of make.com or n8n for the other assistants By creating a function tool in vapi, you create a webhook in make and put the webhook url in the space provided the function tool
c
The dashboard only supports one Google credential at a time, but through the API you can add multiple credentials and then specify the
credentialId
you want to use for each call or tool.
Copy code
// Example API approach (based on typical OAuth2 patterns)
// 1. Create credentials for each Google account
POST /api/credentials
{
  "type": "google-calendar",
  "name": "Business A Calendar",
  "oauth2": {
    "accessToken": "...",
    "refreshToken": "...",
    "clientId": "...",
    "clientSecret": "..."
  }
}
// 2. Associate credentials with specific assistants 
PUT /api/assistants/{assistantId} 
{ 
  "tools": [
    { 
      "type": "googleCalendar",
      "credentialId": "credential-id-for-business-a" 
    }
  ] 
}
2 Views