Prerequisites
- A PrefID account (sign up free)
- An OAuth application (created in Developer Portal)
- Node.js 18+ or Python 3.9+
Step 1: Create an OAuth Application
Go to Developer Portal
Navigate to prefid.dev/developer and log in.
Create New Application
Click “Create OAuth Application” and fill in:
- App Name: Your application name
- Redirect URI:
http://localhost:3000/callback(for development) - Scopes: Select the domains you need (e.g.,
preferences:read)
Step 2: Install the SDK
Step 3: Initialize PrefID
Step 4: Authenticate Users
Step 5: Fetch Preferences
Step 6: Use with AI
Next Steps
Core Concepts
Deep dive into how PrefID works
OAuth Guide
Complete OAuth 2.0 implementation
MCP Integration
Use with Claude Desktop & Cursor
API Reference
Full endpoint documentation