JS Quickstart
The Frigade JS SDK is a lightweight library that allows you to easily integrate Frigade into any stack that runs Javascript. Unlike the React SDK, it is completely headless and does not include any UI components. Instead, it provides a simple API that allows you to quickly build your own components powered by Frigade with any Javascript framework or library.
Install the JS SDK
Initialize the SDK
Simply import { Frigade } from '@frigade/js'
and initialize the SDK with your public API key from the Developer page of the dashboard.
Start building with Frigade
That’s pretty much it! You can now use the Frigade JS SDK. Here’s how to get a Flow:
We recommend taking a quick look at the JS SDK API documentation to get a better understanding of the available methods and how to use them. Also, check out our guide on building custom components for more information on how to build custom experiences with Frigade.