> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequence.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Configuration for Embedded Wallet

> Learn how to configure Google OAuth client for your Embedded Wallet instance. Follow steps to create OAuth Client ID for web, Android, or iOS applications.

In order to have Google auth integrated into your Embedded Wallet instance, you should configure a Google OAuth client in the Google Developer Console. Depending on whether you are integrating Embedded Wallet into a native mobile, desktop, or web application, you should pick the correct configuration accordingly.

## Create OAuth Client ID

To start with, access the [Google Developer Console](https://console.cloud.google.com/) and navigate to APIs & Services > Credentials. Once there, select Create Credentials > OAuth Client ID. If you haven't yet, you might have to also configure your OAuth Consent Screen to be able to move forward.

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/1.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=114bb08bde88ec595e8d16444f52cefa" alt="Google Developer Console Credentials" width="2524" height="1292" data-path="images/embedded_wallet/google/1.png" />
</Frame>

Depending on your application type, pick the Web Application, iOS or Android option:

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/2.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=04eac803af2146b1235e20e422cab1d5" alt="Application Type" width="2526" height="1174" data-path="images/embedded_wallet/google/2.png" />
</Frame>

Remaining steps will depend on the application type you are configuring for.

## Configure Web Application

If you are configuring your Client ID for a web application, you must provide the following:

1. Application name
2. Authorized JavaScript origins: A list of domains that will be whitelisted for interacting with this Client ID.
3. Authorized redirect URIs: A list of redirect URIs that the user will be redirected to on successful authentication, Sequence SDKs will by default redirect to the same page that loads the SDK.

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/3.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=884808389b73608895da566a1eb8e347" alt="Web Application Configuration" width="2518" height="1816" data-path="images/embedded_wallet/google/3.png" />
</Frame>

<Note>
  If you are adding a localhost address with a port (i.e. `localhost:4444`) to the list of authorized origins, you must also add `localhost` only without the port name for it to work during testing.
</Note>

## Configure Android Application

If you are configuring your Client ID for an Android application, you must provide the following:

1. Application name
2. Package name: This is the unique application package name for your Android project.
3. SHA-1 Certificate Fingerprint: This is the SHA-1 fingerprint for your application bundle, you can follow the instructions on the screen to generate this using `keytool`.

<img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/4.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=e166e2129098ae277393a931adc42250" alt="Android Application Configuration" width="2516" height="1328" data-path="images/embedded_wallet/google/4.png" />

## Configure iOS Application

If you are configuring your Client ID for an iOS application, you must provide the following:

1. Application name
2. Bundle ID: This is the unique bundle identifier for your iOS project.

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/5.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=bb13d78c89d4735803a0accebbdc84ac" alt="iOS Application Configuration" width="2518" height="1468" data-path="images/embedded_wallet/google/5.png" />
</Frame>

## Get Your Client ID

Once you create your application, you will be presented with a Client ID. Copy it and use it as your login provider Client ID in Sequence Builder.

<Frame>
  <img src="https://mintcdn.com/sequence-0fb8d9e6/EO81tWzeFuHvYzqy/images/embedded_wallet/google/6.png?fit=max&auto=format&n=EO81tWzeFuHvYzqy&q=85&s=3878f4a34437f0735fbdb291e1f18807" alt="Client ID" width="2518" height="1618" data-path="images/embedded_wallet/google/6.png" />
</Frame>
