Prerequisites
- A React or Next.js frontend
- AdMesh API key
Step 1: Install the SDK
Step 2: Generate Session ID and Wrap Your Page with AdMeshIntentAssistant
For publisher integrations, use the SDK’s utility function to generate session IDs from URL structure.Step 3: Verify Integration
- Open a content page where the assistant is rendered
- Confirm the floating assistant appears in the selected corner
- Click a suggestion and verify recommendation UI appears
- Check browser console for SDK initialization logs
Next Step
UI SDK Integration
Explore advanced configuration options for AdMeshIntentAssistant.