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

# enable

> Enable multi-factor authentication

## Import

```ts theme={null}
import { enable } from '@rhinestone/sdk/actions/mfa'
```

## Usage

```ts theme={null}
const transaction = await account.prepareTransaction({
  chain,
  calls: [enable(validators, threshold)],
})
```

## Parameters

<ParamField path="validators" type="OwnableValidatorConfig | WebauthnValidatorConfig | null[]" required>
  List of validators to use
</ParamField>

<ParamField path="threshold" type="number" required>
  Threshold for the validators
</ParamField>

## Returns

<ResponseField name="call" type="LazyCallInput">
  Calls to enable multi-factor authentication
</ResponseField>
