# Google Instructions

### Create Google OAuth 2.0 Credentials

1. Go to the [Google Credentials page](https://console.developers.google.com/apis/credentials).
2. Click **Create credentials > OAuth client ID**.&#x20;
3. If you're asked to **Configure Consent Screen**, make sure you choose **External** User Type, and enter your app's information.
4. Select the **Web application** application type.
5. Name your OAuth 2.0 client.
6. Add your website URL as Authorized JavaScript origins.
7. Add `https://www.cotter.app/api/v0/oauth/token/callback/GOOGLE` as the **Authorized redirect URIs.**
8. Click **Create.**
9. Copy your Client ID and Client Secret to your Dashboard > Social Login > Google, then add the [Scopes](https://developers.google.com/identity/protocols/oauth2/scopes) that you need.

![](/files/-MH_FtedP3WRlU8TceOG)

&#x20; 8\.  Go to the OAuth consent screen section in Google's console, make sure the **User type** is **External** to allow any user with a Google account, then verify the [OAuth Consent Screen at Google's console](https://console.developers.google.com/apis/credentials/consent).

![](/files/-MXp040PzHFif7iggmRf)

### That's it!

Go back to the [Social Login instructions](/sdk-reference/web/sign-in-with-social-login-provider.md#setting-up-social-login-provider) to finish your setup.


---

# 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.cotter.app/sdk-reference/web/sign-in-with-social-login-provider/google-instructions.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.
