Skip to main content

Getting Started with BrainPredict Commerce

Get up and running with BrainPredict Commerce in just 10 minutes. This guide covers account setup, API integration, and your first AI-powered customer prediction.

Step 1: Create Your Account

Sign up at brainpredict.ai/signup and choose your plan:

  • Starter (): 1-10 licenses, all 20 AI models, 100% of features, Intelligence Bus integration
  • Professional (): 11-25 licenses, all 20 AI models, 100% of features, Intelligence Bus integration
  • Enterprise (): 26-50 licenses, all 20 AI models, 100% of features, Intelligence Bus integration
  • Custom (51+ licenses): Contact sales for custom pricing, volume discounts, dedicated account manager

All plans include a Custom quote for your specific needs. Payment method required (credit card, SEPA, or bank transfer).

Step 2: Get Your API Key

Navigate to Portal → Settings → API Keys and generate a new key:

# Your API key will look like this:
bp_commerce_live_1234567890abcdef1234567890abcdef

# Keep it secure - never commit to version control!

Step 3: Install SDK

Install the BrainPredict Commerce SDK in your preferred language:

# Python
pip install brainpredict-commerce

# Node.js
npm install @brainpredict/commerce

# Java
mvn install brainpredict-commerce

# PHP
composer require brainpredict/commerce

Step 4: Make Your First API Call

Let's predict customer behavior using the BrainCore AI model:

# Python
from brainpredict import CommerceClient

client = CommerceClient(api_key="bp_commerce_live_xxx")

# Predict customer purchase probability
prediction = client.braincore.predict_purchase({
    "customer_id": "cust_12345",
    "browsing_history": ["product_A", "product_B"],
    "cart_value": 150.00,
    "session_duration": 420
})

print(f"Purchase probability: {prediction['probability']}%")
print(f"Recommended products: {prediction['recommendations']}")
print(f"Optimal discount: {prediction['optimal_discount']}%")

Response:

{
  "probability": 78.5,
  "confidence": 94.2,
  "recommendations": ["product_C", "product_D", "product_E"],
  "optimal_discount": 10,
  "predicted_revenue": 165.00,
  "churn_risk": "low"
}

Step 5: Connect Your E-commerce Platform

Integrate with your e-commerce platform for automatic data sync:

# Shopify Integration
client.integrations.connect_shopify({
    "shop_url": "your-store.myshopify.com",
    "access_token": "shpat_xxx"
})

# WooCommerce Integration
client.integrations.connect_woocommerce({
    "site_url": "https://yourstore.com",
    "consumer_key": "ck_xxx",
    "consumer_secret": "cs_xxx"
})

Next Steps

Need Help?

Our support team is here to help you get started: