Getting Started with Price Pilot
Getting Started with Price Pilot
Quick Installation
npm install @price-pilot/sdk
Basic Setup
Add the Price Pilot SDK to your application:
import { PricePilot } from '@price-pilot/sdk'
PricePilot.init({
apiKey: 'YOUR_API_KEY',
domain: 'your-domain.com'
})
Configuration Options
| Option | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Your Price Pilot API key |
domain | string | Yes | Your website's domain |
debug | boolean | No | Enable debug logging |
Verifying Installation
Once installed, you can verify the SDK is working:
PricePilot.isReady().then(() => {
console.log('Price Pilot SDK is ready!')
})