Install the SDK and connect to your app.
npm install @trevi/sdk
import { TreviProvider } from '@trevi/sdk';
function App() {
return (
<TreviProvider appId="your-app-slug" serverUrl="https://api.trevi.dev">
<YourApp />
</TreviProvider>
);
}