# Twitch Social Login with Embedded Wallets

> Twitch Social Login with Embedded Wallets | Embedded Wallets

Twitch supports social login, allowing users to [sign in using their Twitch credentials](https://dev.twitch.tv/docs/authentication/#user-access-tokens). Embedded Wallets supports Twitch as a social login provider, allowing developers to offer a familiar and quick authentication method for users with Twitch accounts.

## Prerequisites

- Registered [Twitch App](https://dev.twitch.tv/docs/authentication/#registration)

## Step 1: Create a Twitch app

1. Follow Twitch's [registration instructions](https://dev.twitch.tv/docs/authentication/#registration) to [register your app](https://dev.twitch.tv/console/apps/create).
2. Paste the following as a Redirect URI into the "OAuth Redirect URLs" field.
   - [https://auth.web3auth.io/auth](https://auth.web3auth.io/auth)

   

3. After creation of your Twitch app, click **Manage**.

   

4. Obtain the **Client ID**.

   

## Step 2: Create a Twitch connection

:::success Enable on dashboard

To use this feature, enable `Twitch` from the Social Connections section in the [dashboard](https://developer.metamask.io).

By default, Web3Auth uses its own pre-configured credentials for Twitch login.

:::

Follow these steps to create a Twitch connection:

1. Visit the [dashboard](https://developer.metamask.io).
1. Go to the **Social Connections** section.
1. Click the **Settings** icon near the Twitch connection.
1. Enter the `Auth Connection ID`.
1. Enter the `Twitch Client ID`.
1. Click the **Add Connection** button to save the settings.

## Usage

Since the Twitch connection details are available from the dashboard, developers don't need to pass any additional parameters to the `Web3AuthProvider`.

:::tip

Follow our [quickstart](/quickstart/?product=EMBEDDED_WALLETS&walletAggregatorOnly=NO&framework=REACT&stepIndex=0) to set up the basic flow.

:::

### Log in with Twitch

```jsx
await connectTo(WALLET_CONNECTORS.AUTH, {
  authConnection: AUTH_CONNECTION.TWITCH,
  authConnectionId: 'w3a-twitch-demo',
})
```
