Quick Start
Get Retake running in your Next.js app in 5 minutes. Follow these steps to start tracking purchase intent.
1
2
Install the SDK
Add our official packages to your Next.js project.
bash
3
Create API Route
Create a secure server-side endpoint. Your API key stays safe here.
typescript
4
Add Provider
Wrap your app with the Retake provider.
typescript
5
Track Cart & Orders
Use hooks in your components. Auto-debounce, session management, everything handled.
typescript