React SDK Quickstart
How to set up Frigade in your React app
Install the React SDK
Add the Provider
Add the Frigade Provider
component to your app. Make sure to paste in your public API key and user ID.
Optionally, you can pass in user properties like firstName
, lastName
, and email
to decorate the user profile in Frigade.
For a full list of supported properties, see the Provider documentation.
Use your first component
That’s pretty much it! You can now use the SDK. Here’s an example of how to use the Announcement
component:
Be sure to create an Announcement
in Frigade web dashboard and link the FlowId to the component above. Check out our general Quickstart for more information.
Next steps
Now that you have Frigade running in your application, you will likely want to style them to fit your brand. See the styling guide to get started.