General
Quickstart
Embed benefits administration in a few easy steps
Prerequisite: Create a react app project (guide).
1) Install the Clasp SDK
Using a package manager:
2) Add Clasp’s stylesheet
You’ll need to import the style.css
CSS file distributed by the package. This should be done at the root of your project (in index.js
or App.tsx
of your React app) and will look like:
3) Import and embed a component from the SDK
In this guide we’re importing the Employer Component.
4) Reload the page
Congrats! You just embedded your first benefits component 🎉