Backend - Get Link Token
In your backend, set up a POST request to initialize a Oneloop session and get alink_token
from Link Token endpoint
Set up a React application using Vite
Scaffold your new React application using ViteInstall the React SDK
Oneloop’s React SDK gives you access to prebuilt components, hooks, and helpers for React. To get started using Oneloop with React, add the SDK to your project:Embed Oneloop API Key Manager
Now make the same request in your frontend to get thelink_token
and initialize the Oneloop session.
Feel free to pass workspaceId
and customerId
from your frontend. Or you can have them hardcoded in your backend.
Please make sure not to expose your Oneloop SDK key in your frontend code.
ApiSettingsPage.tsx