> For the complete documentation index, see [llms.txt](https://docs.empowergpt.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.empowergpt.ai/settings/system-settings/single-sign-on-sso-with-google.md).

# Single Sign On (SSO) with Google

{% stepper %}
{% step %}
**Creating a new project in Google Cloud Console**

1. Go to <https://console.cloud.google.com/> and login with your organization’s admin credentials.
2. Create a new project (or use existing one). To create a new project, on the top left click Projects → New Project.
3. Enter Project Name and select Organization and click ‘Create’.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2F7VG2nLpOSJdLk0P89OjZ%2Fimage.png?alt=media&amp;token=8528fde0-8168-46b7-bb6b-756752a26f33" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FcZrLnjLLOYmUCFJ62Jyu%2Fimage.png?alt=media&amp;token=5a7e89a4-f82e-4a36-bbed-07a0c71dd298" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Configuring OAuth Consent Screen**

1. Select the project and from the left navigation menu, navigate to APIs and Services → OAuth Consent Screen
2. Click ‘Get Started’.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FHO5rvX8SaoPUctfkOypG%2Fimage.png?alt=media&amp;token=c9995437-69bc-4a9c-a7e7-57d4ddcc0075" alt=""><figcaption></figcaption></figure></div>

3. Enter the following details:
   1. App Name (for example ‘EmpowerGPT SSO’).
   2. User Support Email.
   3. Audience → Internel
   4. Contact Information

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FBABRqVIz1bpgz9l207nk%2Fimage.png?alt=media&amp;token=b094df5c-9bf1-469a-b7f1-33ca0fcef094" alt=""><figcaption></figcaption></figure></div>

4. Click ‘Create’
   {% endstep %}

{% step %}
**Adding APIs and Scopes**

1. Navigate to ‘Data Access’ from the menu and click ‘Add or remove scopes’.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FFahQXkkrb8Lm18A6jTtt%2Fimage.png?alt=media&amp;token=a127b4b0-09dd-48d0-9d3a-d60d0acc262b" alt=""><figcaption></figcaption></figure></div>

2. Add the following scopes:
   1. <https://www.googleapis.com/auth/userinfo.email>
   2. <https://www.googleapis.com/auth/userinfo.profile>

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FQQ6UgxlBho4mh3Jgov6l%2Fimage.png?alt=media&amp;token=80491f7c-f986-4808-85ff-5529d207db25" alt=""><figcaption></figcaption></figure></div>

3. Click ‘Update’.
   {% endstep %}

{% step %}
**Copy Client ID and Client Secret**

1. Navigate to ‘Clients’ and create a new client.

<div data-with-frame="true"><figure><img src="https://2192711725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc2KRGWrkyRO0iZN5Lyeg%2Fuploads%2FZW5rpWzFyu5DUnnsyrvO%2Fimage.png?alt=media&amp;token=c3fe257c-936a-46fc-9319-ad9f803f98ec" alt=""><figcaption></figcaption></figure></div>

2. Select ‘Application Type’ as ‘Web Application’.
3. Enter Name (for example: EmpowerGPT SSO)
4. Add redirect URL as htps\://empowergpt.ai/auth/google/callback
5. Click ‘Create’.
6. Go to newly created client and copy ‘Client ID' and 'Client Secret’ and paste in EmpowerGPT.
   {% endstep %}
   {% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.empowergpt.ai/settings/system-settings/single-sign-on-sso-with-google.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
