> ## 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

> Set up social recovery.

## Import

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

## Usage

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

## Parameters

<ParamField path="guardians" type="Account[]" required>
  Guardians permitted to recover the account
</ParamField>

<ParamField path="threshold" type="number" required>
  Guardian signatures required to recover
</ParamField>

## Returns

<ResponseField name="call" type="LazyCallInput">
  Calls to install the social recovery validator
</ResponseField>
