SDK Installation
Install the Bklit Analytics SDK
SDK Installation
This guide covers installing the Bklit Analytics SDK in your project.
Package Managers
npm install @bklit/sdkpnpm add @bklit/sdkFramework-Specific Guides
- Vanilla JavaScript / React - Standard JavaScript setup
- Next.js - Next.js App Router integration
Requirements
- Node.js: 18+ (for build tools)
- Browser: Modern browsers (ES6+ support)
- Project ID: From your Bklit dashboard
- API Key: From your Bklit dashboard
Get Your Credentials
- Go to your Bklit dashboard
- Navigate to your project
- Go to Settings → API Tokens
- Create a token or use existing token
- Copy your Project ID and API Token
Next Steps
After installation:
- Configure the SDK - Set up initialization
- Test Integration - Verify it works
- Track Events - Start tracking custom events
Related Documentation
- Configuration - SDK configuration options
- API Tokens - Managing API tokens