# reconnect | @account-kit/core

> Overview of the reconnect function from @account-kit/core

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

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function reconnect(config): Promise<void>;
```

Defined in: [account-kit/core/src/actions/reconnect.ts:19](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/core/src/actions/reconnect.ts#L19)

This method will use the current state in the client store and attempt to restore
connected instances of previously used accounts and the signer.

## Example

```ts
import { reconnect } from "@account-kit/core";
import { config } from "./config";

await reconnect(config);
```

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `config`
      </td>

      <td>
        [`AlchemyAccountsConfig`](../type-aliases/AlchemyAccountsConfig)
      </td>

      <td>
        the account config which contains the client store
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<`void`>