> For the complete documentation index, see [llms.txt](/llms.txt).

# Enable MFA

Use the `useEnableMFA` hook to let users enable Multi-Factor Authentication for their embedded wallet.

note

This is a paid feature and the minimum [pricing plan](https://web3auth.io/pricing.html) to use this SDK in a production environment is the **Scale Plan**. You can use this feature in Web3Auth Sapphire Devnet network for free.

info

MFA is only available for social login embedded wallets. It is not supported for external wallet connections.

## Import[​](#import "Direct link to Import")

```
import { useEnableMFA } from '@web3auth/react-native-sdk'

```

## Usage[​](#usage "Direct link to Usage")

```
import { useEnableMFA } from '@web3auth/react-native-sdk'

function EnableMFAView() {
  const { enableMFA, loading, error } = useEnableMFA()

  return (
    <View>
      <Text>Secure your wallet with Multi-Factor Authentication.</Text>
      <Button
        title={loading ? 'Setting up MFA…' : 'Enable MFA'}
        disabled={loading}
        onPress={() => enableMFA()}
      />
      {error && <Text style={{ color: 'red' }}>{error.message}</Text>}
    </View>
  )
}

```

## Related[​](#related "Direct link to Related")

- [useEnableMFA hook reference](/embedded-wallets/sdk/react-native/hooks/useEnableMFA/)
- [useManageMFA hook reference](/embedded-wallets/sdk/react-native/hooks/useManageMFA/)
- [MFA advanced guide](/embedded-wallets/sdk/react-native/advanced/mfa/)
