This is a Next.js project bootstrapped with create-next-app
.
- First, install the dependencies:
npm install
-
In
src/_components/OnboardingFormWrapper.tsx
, updateclientLabel
andflowLabel
with your own values. -
Update other configurations as needed in the same file.
-
In studio you should whitelist your domain in security settings. See docs for more details. It can be
localhost:3000
for local development or ngrok domain for testing. -
run the development server:
npm run dev
Check out @formsort/react-embed
package documentation to learn more about embedding Formsort flows in React applications.