Quickstart
Install the SDK and render your first checkout screen in under 10 minutes.
Install the package
The SDK is hosted on a private GitLab registry. Add a .npmrc file to the root of your project with the following:
.npmrc
Replace NPM_TOKEN with your actual token, or set it as an environment variable.
Then install the package:
Render the checkout screen
The example below mounts the checkout screen into a #sdk-root container.
The portalObject must come from your backend. It’s a PORTAL_URL resource you create via the Solvimon API for the customer initiating the checkout. Replace the placeholder values with a real one.
Checkout example