# Google Sign In with Xano Database

*Skill Level: Expert*

## Before You Begin

* Follow the steps in the [Google Sign In Help Doc](https://help.adalo.com/component-basics/marketplace-components/sign-in-with-google)

### Setting up Google Sign In with Xano External Collections

**1.)**  Add new 'User Login' Action by selecting either "**Xano Signup**" or "**Xano Login"**

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FV2qFKgNqnqdMHHqPj2W1%2FSetting%20up%20Google%20Sign-In%20with%20Xano%20External%20Collections%20-%20Step%201.webp?alt=media&#x26;token=bcc2081a-0719-41e5-8394-6bc5dd71d9e2" alt=""><figcaption></figcaption></figure>

**2.)** For "Email" select "User's Email" from the Google Sign in Component and for "Password" select "Last Name"

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FKQESK7MPaPMAVc1OSgJb%2FSetting%20up%20Google%20Sign-In%20with%20Xano%20External%20Collections%20-%20Step%202.webp?alt=media&#x26;token=cbbbf71e-a4bc-4d72-a66c-5b9c72455ef2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
There is no way to access/create your User's password if using Google Sign-In. It is recommended that you use the 'First Name', 'Last Name', or a combination of the 2 as the password.
{% endhint %}

**3.)** Add desired Link Actions that will direct your users after the Login is successful.

<figure><img src="https://3467607506-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhGHkPsv15svPIU5I7C%2Fuploads%2FFKBff2ESz2doDwOjw3QA%2FSetting%20up%20Google%20Sign-In%20with%20Xano%20External%20Collections%20-%20Step%203.webp?alt=media&#x26;token=d269756a-7433-4bcc-844d-1db9b2acfad2" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
You cannot have Conditional Actions using the "Logged in User" data on the Login or Signup Screens as the data is not yet available. Please add these to the Home Screen or an Interstitial Screen to ensure they complete as expected.
{% endhint %}
