# Discord Social Login with Embedded Wallets

> Discord Social Login with Embedded Wallets | Embedded Wallets

[Discord login](https://discord.com/developers/docs/topics/oauth2) is a social login provider that allows users to sign in using their Discord credentials. Embedded Wallets supports Discord as a social login provider, allowing developers to offer a familiar and quick authentication method for users with Discord accounts.

To integrate Discord with Web3Auth, developers must first create a Discord App via the [Discord Developer Portal](https://discord.com/developers/applications).

## Step 1: Create a Discord app

1. Create a Discord [API application](https://discord.com/developers/applications).

2. Navigate to **OAuth2** from the sidebar, and paste the following as Redirect URI into the "Redirect URI" field.
   - https://auth.web3auth.io/auth

   

3. Ensure you save your changes.

4. Copy the **Client ID** from here. We will use this in the Embedded Wallets dashboard.

   

## Step 2: Create a Discord connection

:::success Enable on dashboard

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

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

:::

Follow these steps to create a Discord connection:

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

## Usage

Since the Discord 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 Discord

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