# Android build for social login

### How to configure social login for the Android app build?

The social login feature is available for WordPress, WooCommerce and Custom app solutions, allowing app users to log in using Google. Follow these steps to configure your Android app build for social login:&#x20;

{% embed url="<https://scribehow.com/shared/Android_build_for_social_login__9mI_1FCqR0i9GSC28EyMnA>" %}

#### Step 1:  Access login build settings&#x20;

* From your app dashboard, navigate to [**Access < Login**](https://app.appmysite.com/app/login)**.**
* Click on the [**build settings button**](https://app.appmysite.com/app/login/build-settings) and enable the toggle for social logins.
* Click on the Generate button to create the SHA Key-1.

#### Step 2: Set up your Google Firebase

* Navigate to [**Google Firebase**](https://console.firebase.google.com/).&#x20;
* Generate the google-services.json file from Project Overview > Project Settings.&#x20;
* Under the General tab, go to the "Your Apps" section and click on your Android app.
* Download the google-services.json by clicking the "google-service.json" button.
* Upload the JSON file in the Google Firebase configuration field on the Build Settings screen in your AppMySite account.&#x20;
* Click on Save.&#x20;

Visit this link for a complete guide on how you can [create an app project on Firebase](/app/notifications/basic-notifications/create-firebase-project.md):

{% content-ref url="/pages/6SLKJlgk39WUqYLvDldm" %}
[Create Firebase project](/app/notifications/basic-notifications/create-firebase-project.md)
{% endcontent-ref %}

#### Step 3: Enable Sign-in provider on Firebase

Now, enable Google authentication as a Sign-in provider in your Firebase account:

* Navigate to the Authentication section from the sidebar.
* Click on the Sign-in method.
* Then, click on Add new provider.
* Select Google from the list of additional providers.
* In the popup menu, turn on the Enable toggle.
* Click Save to finalize the changes.

{% hint style="danger" %}
Google login will not function unless Google is selected as a provider in the **Sign-in Method** section of the authentication settings on your Firebase account.
{% endhint %}


---

# 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.appmysite.com/app/access/login/social-login-configuration/android-build-for-social-login.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.
