Quick Start
Integrate DynamicInterfaces into your SaaS platform in less than 5 minutes
1. Create an Account
Sign up for free on DynamicInterfaces and access your dashboard
Create Free Account โ2. Generate Your API Key
From your dashboard, generate a new API key for your platform
sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3. Install the SDK
Add this script to your HTML, just before the closing </body> tag
<script src="https://dynamicinterfaces.com/sdk/dynamicui.js"
data-di-key="YOUR_API_KEY"
async></script>4. Done!
The SDK will automatically observe your visitors and personalize the UI for each one.
Try the API with curl
Replace YOUR_API_KEY with your real key and run this in a terminal. You should get a JSON response with personalization instructions.
curl -X POST https://dynamicinterfaces.vercel.app/api/v1/personalize \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://yoursite.com/dashboard",
"domain": "yoursite.com",
"fingerprint": "test_fp_123",
"page": {
"title": "Dashboard",
"headings": [{"tag":"h1","text":"Welcome"}],
"navigation": [{"text":"Home","href":"/"}],
"buttons": [{"text":"Buy now","selector":"#buy"}],
"distractions": [".cookie-banner"],
"hotSelectors": ["#buy"]
},
"visitor": {
"deviceType": "desktop",
"language": "en",
"isReturning": true
}
}'Expected response: { "instructions": { "hide": [...], "emphasize": [...], "shortcuts": [...] }, "personalizationId": "...", "creditsRemaining": 9 }