> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Let your agent book meetings on Google Calendar

> Connect your Google account and your agent can book meetings into your Google Calendar while it is on a call.

Connect your Google account and your agent can book meetings into your Google Calendar
while it is on a call. One Google connection covers both Google Calendar and Gmail: to
send email as well, see [Send email from your Gmail address](https://docs.getsmartalex.com/how-to/gmail.md).

## What you need

| You need | Details |
| - | - |
| A Google account | The one whose calendar should get the bookings. |
| An agent | See [Set up your first voice agent](https://docs.getsmartalex.com/how-to/first-voice-agent.md). |
| Your business hours (optional) | So the agent books only when you are open. |
| Time | About three minutes. |

No add-on is needed.

## 1. Connect Google

1. Open **Agent Settings**, then **Connectors**.
2. On **Browse**, find **Google** ("One connection. Send email from your Gmail address
   and book meetings on your Google Calendar.") and click **Install connector**.
3. Under **Choose Google apps to connect**, switch on **Google Calendar** (and
   **Gmail** if you want email too). Click **Continue**.
4. **Approve the apps you selected** lists what SmartAlex asks Google for. For the
   calendar that is "Create, move and cancel calendar events", plus "Your name and email
   address". Click **Continue to Google**.
5. Sign in to Google in the new window and allow access.

You see "Google connected", and the card shows **Connected as** with your Google
address. The connection belongs to your whole workspace.

## 2. Turn on booking for an agent

Connecting Google does not change any agent on its own. Choose what each agent may do:

* On the Google card, click **Choose agent tools**, or
* When the chat asks you to **Choose what your agent can do**, switch on **Book
  meetings on your calendar** and click **Turn on**. **Not now** leaves the agent as it
  is.

## 3. Set your business hours (recommended)

Open **Settings**, then **Profile**, then **Business hours**. Set the days and times
you are open, and turn on **Only allow meeting bookings during business hours**:
"When on, your agent won't book meetings or viewings outside these hours, and offers
the next open time instead."

## How booking works on a call

* **Length**: every meeting is 30 minutes.
* **Which times**: the agent looks for free time inside the agent's own calling hours,
  then your business hours, then 09:00 to 17:00 if neither is set.
* **No double booking**: the agent will not book over a meeting already in the
  calendar. All-day events do not block a time.
* **Time zone**: the caller's time zone if they say one, otherwise the call's, otherwise
  your business time zone.
* **Where it goes**: the meeting is saved in SmartAlex and added to your main Google
  calendar.

## Disconnect Google

Open the Google card, then **Account access**, and click **Disconnect Google**. The
warning reads: "Your agent will stop sending email and booking meetings through Google,
and SmartAlex's access is removed from your Google account." You see "Google
disconnected".

## If it does not work

| What you see | What to do |
| - | - |
| "Could not connect Google." | Click **Install connector** and try again, and make sure you allow access on the Google page. |
| "Your browser blocked the connection window." | Allow pop-ups for SmartAlex and click **Continue to Google** again. |
| The agent says it cannot book | Check **Book meetings on your calendar** is on for that agent. |
| The agent offers a later time than the caller asked for | That time is outside your business hours, or already taken in your calendar. |
| A booking is missing from Google | Check the card still shows **Connected as** with the right address. If not, connect again. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.