SDK
You can integrate with Clasp using our SDK
Note: When using React, ensure you’re using version 18 or higher.
Installing Clasp using a package manager:
Troubleshooting
Here’s how to solve some common problems when working with the SDK.
The SDK is not rendering in my UI.
The SDK is not rendering in my UI.
Check that clasp-components
exists in your /nodes_module
folder. If not, re-install it using the command above. Also ensure that you are passing in the right config parameters. Each Component’s parameters can be found here.
The clasp component is unstyled
The clasp component is unstyled
Ensure that you have imported and passed in the Clasp styling object to your Component (see guide).
We want to render in a different framework than React
We want to render in a different framework than React
The SDK works best with React based projects. That said, there are custom workarounds that can be applied to have it work with other front-end frameworks. Reach out to the Clasp team for more info.