> For the complete documentation index, see [llms.txt](https://shelfy.gitbook.io/welcome-to-shelfy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shelfy.gitbook.io/welcome-to-shelfy/integrations/google-android-integrations/setup-google-sso-for-android.md).

# Setup Google SSO for Android

This article describes how to setup Google single sign-on (SSO) for Android.

{% hint style="info" %}
**Shelfy backoffice path:** `Integration panel/social login/Google/Android`
{% endhint %}

<mark style="color:red;">**Resources**</mark>

* Shelfy console
* Your Firebase project

1. Go to <https://console.firebase.google.com/>
2. Select your existing project.
3. Click the **Android** icon.\
   &#x20;

   <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FtQ0GNZ81YREE6eiCkDn0%2F0?alt=media" alt=""><figcaption></figcaption></figure>
4. In the side menu, click **Authentication**.
5. In the Authentication window, click the **Sign-in method** tab.
6. Select **Google** to be the sign-in provider.<br>

   <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FzMFhkecd9wJnjIds6PQE%2F1?alt=media" alt=""><figcaption></figcaption></figure>
7. Enable Google.<br>

   <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FUiYN9DLTcyTm2oqzGRzI%2F2?alt=media" alt=""><figcaption></figcaption></figure>
8. Enter your project support email, and click **Save**.

   <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FwgBeOuzj0iZINEZ890gS%2F3?alt=media" alt=""><figcaption></figcaption></figure>
9. Go to your **Project settings**.<br>

   <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FMqSSyRebUv3Wh9ifBnb9%2F4?alt=media" alt=""><figcaption></figcaption></figure>
10. Copy the **Web API Key.**

    <br>

    <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FZ945hhHbFiaRGdbBVMU8%2F5?alt=media" alt=""><figcaption></figcaption></figure>

    <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FaqTGMZuZoKHJx6ST4g4F%2F6?alt=media" alt=""><figcaption></figcaption></figure>
11. Go to the **Google Play Console**.
12. In the side menu, expand **Setup** and click **App integrity**.\
    In the App integrity window, click the **App signing** tab.
13. Copy the **SHA-1 certificate fingerprint** and paste it on the back office.<br>

    <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FYlawrX6GA4QW4czz83jn%2F7?alt=media" alt=""><figcaption></figcaption></figure>
14. Copy the **SHA-256 certificate fingerprint** and paste it on the back office.
15. Go to the Firebase Console.
16. Select your Android app, and click **Add fingerprint**.
17. Add SHA-1. It will automatically be assigned as SHA-1.
18. Add SHA-256. It will automatically be assigned as SHA-256.
19. When the integration process finishes and all the fields’ values have been defined, simply download the file, including the latest update, from Firebase.
20. Upload the downloaded file into the Shelfy Console.
21. Click **Save To Version**, and publish it so that it goes live in the next version.<br>

    <figure><img src="https://2992732956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuodSDNXHYMkfwgZ6AayC%2Fuploads%2FjmctnCRmjcRzgxLJVSxy%2F8?alt=media" alt=""><figcaption></figcaption></figure>
