---
title: "Connect"
method: POST
path: "/api/onboarding/gcp/connect"
tags: ["gcp-onboarding"]
---

# Connect

`POST /api/onboarding/gcp/connect`

## Request body

- ApiOnboardingGcpOfficialModelsConnectRequest — Request body for starting Google Cloud MCP onboarding.
  - `redirect_uri` string, nullable — OAuth redirect URI. Defaults to the configured redirect URL.
  - `project_id` string, nullable — Google Cloud project ID used for MCP quota and billing.

## Response `200`

Successful Response

- ApiOnboardingGcpOfficialModelsConnectResponse — Response body for starting the OAuth flow.
  - `success` boolean, required
  - `message` string, required
  - `authorization_url` string, required
  - `mode` string, nullable
  - `transport` string, nullable
  - `statsig_gate` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/2e2a6de8aeda/schema)
