> 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="/files/2UQCbVxQwHsifVIoZh5D" alt=""><figcaption></figcaption></figure></div>

<div data-with-frame="true"><figure><img src="/files/26jiYp9BiDR9dkyHeOAz" 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="/files/3pqTjeqStXHca9FhARR1" 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="/files/vkzzMespGom3OhsFXkYo" 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="/files/K8uixzoI7wSiGrkj6pZ4" 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="/files/DZdKEUNXWq0aeywYCFuo" 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="/files/sCYi8npZVC9huRhnV65d" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
