General
Quickstart Guide
Clasp API basics.
1. Prerequisites
What | Why |
---|---|
Clasp API key | Used as a Bearer token from your backend to call the API and mint component links. |
Never expose your long‑lived API key in the browser.
All API calls that use the Bearer key should originate server‑side.
2. Create an employer
The response includes an id
such as er_123
. Persist this for future calls.
3. Create an employee (members)
Save the returned member id
(e.g., mem_456
).
4. Create a group structure
5. Create a plan
6. Define a plan configuration
7. Set up a contribution strategy for the plan
8. Generate an Employee Component magic link
Response
Congrats! You’ve just set up your first plan. Open the magic link you just generated to enroll in the plan.
Need help? Ping us at support@withclasp.com or your dedicated solutions engineer.