@get-asset/react

AssetOnboarding

A self-contained business-onboarding wizard. It walks the operator through a bookkeeping plan, company details and a books start date, creates the business via the Asset API, then on the final step a single “Link With Plaid” card connects accounts (linked as business, no personal/business step) and shows them grouped by institution, read-only. Configure the available plans — pass a single plan and the bookkeeping step is skipped and that plan submitted automatically. Mount it under one AssetProvider with businessId omitted; once the business is created the wizard calls setBusinessId, and the provider re-provisions a business-scoped token for the connect step.

Preview

Bookkeeping

1/4

How would you like to manage your bookkeeping?

Choose how hands-on you want to be. You can change this later.

Required scopes

The access token used by AssetProvider must include these scopes for this primitive to fetch data successfully:

  • business:create
  • plaid:create
  • plaid:read
  • ledger:read

API reference

Root props

PropTypeDefaultDescription
externalIdstringYour stable identifier stored against the created business. Required.
plansBusinessPlan[]Plans offered on the bookkeeping step. Defaults to ["diy", "managed"]. One entry skips the step.
entityTypesBusinessEntityType[]Override the filing types offered.
industriesstring[]Override the industries offered.
defaultValuesOnboardingDefaultsPre-populate any form field. Each value seeds the field's initial state and stays editable.
statusBusinessStatusInitial business status, forwarded to the create request.
onCreated(business) => voidCalled once the business is created, before the connect step shows.
onComplete(business, reason: "finished" | "skipped") => voidCalled when the user finishes on the last step. reason distinguishes Finish up ("finished") from Skip for now ("skipped").
onConnected(institutions, account) => voidCalled after bank accounts are linked on the connect step.
onError(error) => voidCalled if creating the business fails.
classNamestringForwarded to the wizard container.

States

PlanStep 1 — choose a bookkeeping plan (omitted when one plan).

Bookkeeping

1/4

How would you like to manage your bookkeeping?

Choose how hands-on you want to be. You can change this later.

Company details

Company details

2/4

Tell us about your business

These help us organize your finances and reports the way your business works.

Financial year start *
Start date

Start date

3/4

How far back should we go?

We'll pull in and organize your transactions from this date forward. Most owners start at the beginning of their current financial year.

Connect accountsStep 4 — connect against the created business.

Bank accounts

4/4

Link your business bank accounts

This lets us bring in your transactions automatically, so your finances stay current without manual entry.

We sync your transactions using industry-leading security standards and never store your login details. Add business accounts only. You can add personal accounts later in the app.