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

# Connect Google Meet for Incident War Rooms

> Authorize Scrubbe to generate Google Meet call links so your team can launch a video war room directly from any active incident ticket.

The Google Meet integration lets Scrubbe generate a dedicated Meet call link the moment an incident is opened or escalated. Instead of manually creating a meeting and sharing the link, Scrubbe handles both steps automatically so your response team can join a live call in seconds. You need the `ENGINEER` role or higher to connect this integration.

## Connect Google Meet

<Steps>
  <Step title="Initiate the OAuth flow">
    Send an authenticated `POST` request to the Google Meet connect endpoint. Scrubbe generates a Google OAuth authorization URL and returns it in the response.

    ```http theme={null}
    POST /api/v1/integrations/google/meet/connect
    Authorization: Bearer <your-access-token>
    ```

    **Response:**

    ```json theme={null}
    {
      "success": true,
      "message": "Google Meet OAuth URL generated",
      "data": {
        "url": "https://accounts.google.com/o/oauth2/v2/auth?..."
      }
    }
    ```
  </Step>

  <Step title="Authorize in Google">
    Open the `url` from the response in your browser. Google will ask you to sign in and grant Scrubbe permission to create Meet calls on your behalf. After you click **Allow**, Google redirects your browser to the Scrubbe callback endpoint automatically.
  </Step>

  <Step title="Scrubbe completes the connection">
    Scrubbe handles the OAuth callback at:

    ```
    GET /api/v1/integrations/google/meet/oauth/callback
    ```

    You do not need to call this endpoint yourself. Once the callback completes, Scrubbe stores your Google credentials and the Meet integration is active for your account.
  </Step>
</Steps>

## Verify the connection

After completing the OAuth flow, retrieve your integrations to confirm Google Meet appears as connected:

```http theme={null}
GET /api/v1/integrations/{userId}
Authorization: Bearer <your-access-token>
```

Look for an entry with `"provider": "GOOGLE_MEET"` and `"connected": true` in the response.

## How Meet calls are created

Once connected, Scrubbe can create a Google Meet call and attach the link to an incident ticket. The call is created using the credentials of the user who completed the OAuth flow, so the meeting appears in that user's Google Calendar and is accessible to anyone with the link.

<Info>
  Meet call links are generated using the Google Calendar API. The calendar event Scrubbe creates is titled with the incident name and set to the incident's start time so your team can find it in their calendars.
</Info>

<Warning>
  Google OAuth tokens expire after a period of inactivity. If Scrubbe fails to create a Meet call, disconnect and reconnect the integration to refresh your credentials. You can check the status of all integrations at any time with `GET /api/v1/integrations/:userId`.
</Warning>
