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

# Google Calendar の埋め込み

> Google Calendar の予約スケジュールをエージェントウィジェットに埋め込む方法

[Google Calendar](https://calendar.google.com) の予約スケジュールページをウィジェット内に埋め込み、エンドユーザーがその場で予約できるようにします。

## 前提条件

* Google Workspace アカウント
* [予約スケジュール](https://support.google.com/calendar/answer/11608874)の作成

## 埋め込みコードの取得

1. Google Calendar を開く
2. 作成済みの **予約スケジュール** をクリック
3. **予約ページを開く** をクリック
4. 予約ページの URL をコピー

## 設定

ダッシュボードの **エージェント設定 > アクション > アクションを追加 > 埋め込みコード** を選択し、以下のように設定します。

| 項目  | 値の例            |
| --- | -------------- |
| ラベル | 日程を予約する        |
| コード | 以下の iframe コード |

```html theme={null}
<iframe
  src="https://calendar.google.com/calendar/appointments/schedules/XXXXX?gv=true"
  width="100%"
  height="500"
  frameborder="0"
></iframe>
```

<Info>
  URL に `?gv=true` を付与すると、Google のブランディングを含むデフォルト表示になります。必要に応じてパラメータを調整してください。
</Info>
