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

# Connect

`POST /api/onboarding/gcp/connect`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/onboarding/gcp/connect`
- Auth: none declared

## 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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
