You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Company Onboarding workflow provides components for managing company-related onboarding tasks. These components can be used individually or composed into a complete workflow.
Default values for individual flow step components
onEvent Required
See events table for each subcomponent to see available events.
Using Company Subcomponents
Employee onboarding components can be used to compose your own workflow, or can be rendered in isolation. For guidance on creating a custom workflow, see docs on composition.
Available Subcomponents
CompanyOnboarding.AssignSignatory
CompanyOnboarding.CreateSignatory
CompanyOnboarding.InviteSignatory
CompanyOnboarding.Industry
CompanyOnboarding.DocumentSigner
CompanyOnboarding.FederalTaxes
CompanyOnboarding.PaySchedule
CompanyOnboarding.Locations
CompanyOnboarding.BankAccount
CompanyOnboarding.StateTaxes
CompanyOnboarding.OnboardingOverview
Legacy imports via Company.* (e.g. Company.OnboardingFlow) continue to work.
Company.AssignSignatory
A component allowing users to choose between creating a new signatory with full details or inviting someone else to become the signatory.
For more granular control, you can use Company.CreateSignatory or Company.InviteSignatory directly.
A standalone form for creating a new signatory with full personal details including name, contact information, SSN, and home address. Use this component when you want to provide only the create signatory flow without the invite option.
ID of the signatory. When set and matching an existing signatory, the form will pre-populate with their information for editing.
defaultValues
object
Default values for form fields: firstName, lastName, email, title, phone, birthday, ssn, street1, street2, city, state, zip. If signatory data is available via the API, defaultValues will be overwritten.
onEvent (Required)
See events table for available events.
Events
Event type
Description
Data
COMPANY_SIGNATORY_CREATED
Fired when a new signatory is created successfully
Fired when the create signatory process is complete
None
Company.InviteSignatory
A standalone form for inviting someone else to become the company signatory. The invited person will receive an email to complete their signatory information. Use this component when you want to provide only the invite signatory flow without the create option.
Fired when the invite signatory process is complete
None
Company.DocumentSigner
Provides an interface for company representatives to read and sign required company documents. The component handles document listing, signatory management, and document signing workflow.
ID of the signatory. When this is set and it matches the signatory ID of the currently saved signatory it is assumed the user is the signatory. This means fields are pre populated in the signature form with their information and they are able to sign documents.
onEvent (Required)
See events table for available events.
Events
Event type
Description
Data
COMPANY_VIEW_FORM_TO_SIGN
Fired when a user selects a form to sign from the document list
Default values for the company federal taxes form fields. If company data for these fields is available via the API, defaultValues will be overwritten.
onEvent (Required)
See events table for available events.
Events
Event type
Description
Data
COMPANY_FEDERAL_TAXES_UPDATED
Fired when federal tax details are successfully updated
{ frequency?: string (one of Every Week, Every other week, Twice per month, or Monthly), anchorPayDate?: string, anchorEndOfPayPeriod?: string, day1?: number, day2?: number, customName?: string }
Default values for the pay schedule form fields. If company data for these fields is available via the API, defaultValues will be overwritten.
onEvent (Required)
See events table for available events.
Events
Event type
Description
Data
PAY_SCHEDULE_CREATED
Fired when a new pay schedule is successfully created
An orchestrated component for managing company state taxes setup. Internally uses a state machine to switch between a list view and an edit form. For more granular control, you can use Company.StateTaxesList or Company.StateTaxesForm directly.
A standalone form component for editing state tax requirements for a specific state. This is the lower-level building block used internally by Company.StateTaxes for its edit view. Use this component directly when you need full control over navigation between the list and form views.
A standalone component that displays the list of state tax requirements for a company. This is the lower-level building block used internally by Company.StateTaxes for its list view. Use this component directly when you need full control over navigation between the list and form views.