# SSO with Google as your IdP

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

This page sets up Single Sign-On (SSO) into Statsig with Google Workspace as your identity provider (IdP). You register an OIDC client in Google, add Statsig's redirect URI, then enter the client ID and secret in your Statsig Project to connect the two. After setup, your team signs in to Statsig with their Google accounts.

## Requirements

- You must be the `Admin` of the Statsig Project you intend to add SSO with Google Apps to.
- You must be the Administrator of the Google Apps account you want to link.

## Supported features

You can enable Service Provider (SP)-Initiated Authentication for Single Sign-On (SSO) using OIDC on Statsig to connect your Google Apps account to your Statsig Projects.

## Configure SSO with Google

1. Follow the [Google OIDC instructions](https://developers.google.com/identity/openid-connect/openid-connect#getcredentials) to obtain the client ID and client secret from your Google account. At [Google Credentials](https://console.cloud.google.com/apis/credentials), you can create a new "OAuth 2.0 Client ID" or select an existing one to find the client ID and client secret (under "Additional information").
2. Add Statsig's redirect URI (go to [SSO configuration](https://docs.statsig.com/access-management/sso/overview#configure-sso-with-oidc) for more detail) under "Authorized redirect URIs" on the chosen OIDC Client: `https://console.statsig.com/sso/oidc`.
3. Navigate to [SSO configuration on your Statsig Project](https://docs.statsig.com/access-management/sso/overview#configure-sso-with-oidc) to complete setup. Set the OIDC Domain / Issuer field to `https://accounts.google.com`, and use the client ID and secret from step 1.
