Skip to main content

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

  1. Open a content page where the assistant is rendered
  2. Confirm the floating assistant appears in the selected corner
  3. Click a suggestion and verify recommendation UI appears
  4. Check browser console for SDK initialization logs

Next Step

UI SDK Integration

Explore advanced configuration options for AdMeshIntentAssistant.