# 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.

![](https://107069962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QGDMRD8y_Kd-BpOvT%2F-MH_7vfMmIjopwJQ-ESI%2F-MH_FtedP3WRlU8TceOG%2Fimage.png?alt=media\&token=e258a8fb-baf9-428f-bc73-fff8ec9f7b4b)

&#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).

![](https://107069962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QGDMRD8y_Kd-BpOvT%2F-MXp-wKVhqX_SGfBHp7i%2F-MXp040PzHFif7iggmRf%2Fimage.png?alt=media\&token=24d81e65-7551-4bf2-9ec8-b661b75b1d6b)

### That's it!

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