# Google Workspace

HockeyStack integrates with Google Workspace to allow your users to log in securely using their Google Workspace accounts. Follow these steps to configure Google Workspace for SSO with HockeyStack.

***

## Prerequisites

1. You must have a Google Workspace Organization for which you are an administrator.
2. Have your Google Workspace Admin credentials on hand.
3. Make sure you have the Client ID and Client Secret generated from the Google Developer Console (details below).

***

## 1. Set Up Your App in the Google Developer Console

1. Go to the Google Developer Console and create a new project (or select an existing one).
2. Under “APIs & Services” → “Credentials,” click “Create Credentials” → “OAuth client ID.”
3. Select "Web Application" as the application type.
4. Fill in the following:

   * Name: A descriptive name for your application.
   * Authorized JavaScript origins:\
     • <https://hockeystack-production.us.auth0.com>
   * Authorized redirect URIs:\
     • <https://hockeystack-production.us.auth0.com/login/callback>

   After saving, Google will generate a Client ID and Client Secret. Copy these for the next step.

***

## 2. Share Required Information with HockeyStack

Because HockeyStack uses Auth0 for SSO, we'll handle the Auth0 setup on your behalf. Simply send us your

1. Google Workspace Client ID
2. Client Secret

and we will finalize the integration.

***

## 3. Confirm Domain and Permissions

Google may require domain verification or additional permissions if your application requests sensitive or restricted scopes. If this applies to you, follow the relevant Google steps to verify your domain and complete the OAuth consent screen.

***

## 4. Test the Integration

Once HockeyStack has configured your connection with Auth0, you can verify the SSO flow:

1. Go to your HockeyStack login page.
2. Click "Sign in with Google Workspace."
3. Enter your Google Workspace credentials.
4. If successful, you should see your HockeyStack dashboard.

***

## Questions?

If you have any questions regarding this configuration or need additional help, please reach out to us at <support@hockeystack.com>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hockeystack.com/integrations/sso/google-workspace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
