---
title: "POST /v1alpha1/customers:setupSasAnalytics"
method: POST
path: "/v1alpha1/customers:setupSasAnalytics"
tags: ["customers"]
---

# POST /v1alpha1/customers:setupSasAnalytics

`POST /v1alpha1/customers:setupSasAnalytics`

Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.

## Request body

- SasPortalSetupSasAnalyticsRequest — Request for the SetupSasAnalytics rpc.
  - `userId` string — Optional. User id to setup analytics for, if not provided the user id associated with the project is used. optional

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/prod-tt-sasportal.md) · [All operations](https://skmtc.net/google/apis/prod-tt-sasportal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/prod-tt-sasportal/revisions/1a009d78db94/schema)
