Get Started with LoyaltyDog AI

Ready to transform your customer engagement with AI? Follow these simple steps to get up and running in minutes.

01

Get Your API Key

Sign up for a free account and get instant access to our AI API.

Sign up now
02

Explore the Documentation

Learn about our AI endpoints and see code examples.

View docs
03

Make Your First API Call

Start with customer segmentation or predictive analytics.

Try playground

Quick Start Example

quick-start.js
// Install the SDK
npm install loyaltydog-ai

// Initialize the client
import { LoyaltyDogAI } from 'loyaltydog-ai';

const client = new LoyaltyDogAI({
  apiKey: process.env.LOYALTYDOG_API_KEY
});

// Your first AI-powered customer segmentation
async function segmentCustomers() {
  try {
    const segments = await client.ai.segment({
      criteria: 'behavioral_patterns',
      model: 'clustering_v3',
      timeframe: '30d'
    });
    
    console.log('Customer segments:', segments.data);
    return segments;
  } catch (error) {
    console.error('Segmentation failed:', error);
  }
}

segmentCustomers();

Ready to dive deeper?

Explore our comprehensive documentation, try our interactive playground, or contact our team for personalized onboarding.