# Google

### Create Google Oauth 2.0 Client

* <https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/google-logins?view=aspnetcore-6.0​>
* Go to <https://console.cloud.google.com/apis> ​
* If no project exists create a new project​
* Select the “Oauth consent screen“ tab​
* Select User Type - External and CREATE.​
* In the App information dialog, Provide an app name for the app, user support email, and developer contact information
* Step through the Scopes step
* Step through the Test users step
* Review the OAuth consent screen and go back to the app Dashboard.

### Create the credentials

* Go to the Credentials tab&#x20;
* Click create credentials -> Oauth client ID&#x20;
* Select application type “Web application” and choose a name&#x20;
* Add a redirect URI with the following format&#x20;
  * Https\://{yourURL}/AppsService/signin-google&#x20;
  * Https\://{yourURL}/Platform/signin-google&#x20;
  * Https\://{yourURL}/Apps/signin-google&#x20;
* Click the create button&#x20;
* Save the client ID and Client secret

### Copy ClientId and ClientSecret

* Sign in to the Any2Info platform and go to Settings​
* Click on the group Authorization and select “Google SSO”​
* Copy the value of the newly created clientId&#x20;
* Paste the value in the clientId setting&#x20;
* Copy the value of the newly created secret&#x20;
* Paste the value in the clientsecret setting
* Enable the EnableGoogleSSO setting
* Save the settings

### Connect Google id to the users

* For each user that should be able to sign in to the platform/app using Google make sure the SSO username is filled.


---

# 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://academy.any2info.com/any2info-academy/no-code-platform/platform/settings/google.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.
