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

# Sa Connect

`POST /api/onboarding/gcp/sa/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/sa/connect`
- Auth: none declared

## Request body

- SAConnectRequest: Request body for service account onboarding.
  - `service_account_key` object, required: Google Cloud service account key JSON object.
  - `project_id` string, nullable: Google Cloud project ID. Defaults to the one in the service account key.

## Response `200`

Successful Response

- SAConnectResponse: Response after service account onboarding.
  - `success` boolean, required
  - `message` string, required
  - `client_email` string, nullable
  - `project_id` string, nullable
  - `mode` string, nullable
  - `internal_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)
