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

# Link Accounts (Onboarding)

> Onboarding component which walks users through connecting business accounts.

The Link Accounts component is intended to be used during onboarding into an accounting experience, regardless of whether the business is additionally enrolling in bookkeeping services or not.
It will prompt users to connect all their business accounts in sequence and prompt them to confirm whether any accounts are personal and should be excluded.

This component is automatically included in the [Onboarding](/embedded-components/components/onboarding) component flow, but is available to be embedded standalone here as well.

```tsx theme={null}
<LinkAccounts onComplete={() => navigate('../overview')} />
```

***

Users will be first prompted to connect their bank.
![Link Accounts starting state](https://github.com/user-attachments/assets/5c3ee713-bc7c-41eb-98dc-08c9f03c3f34)

***

After connecting accounts, the component will show cards for each transaction as well as loading progress.
![Onboarding after linking](https://github.com/user-attachments/assets/fbb78255-6386-416d-9b6b-4d1af8a47e84)

***

Users will be prompted to confirm which accounts are used by their business.
![Confirming business accounts](https://github.com/user-attachments/assets/11344c86-c0d4-4708-88d8-33cfcd0c45ae)

### Properties

<ParamField body="onComplete" type="function">
  A function to navigate to the next screen in the onboarding flow.
</ParamField>
