Quick Start Guide

Get up and running with Knotie AI Pro MCP API in minutes

What You'll Learn

This guide will walk you through creating your first automated customer onboarding workflow using the Knotie AI Pro MCP API. You'll learn how to authenticate, create customers, and enable portal access programmatically.

1

Create Your API Key

Generate your partner API key from the Knotie AI Pro dashboard

First, log in to your partner dashboard and navigate to the API Keys section:

  1. Go to Partner Settings → API Keys
  2. Click "Generate New API Key"
  3. Copy your API key (starts with pkt_)
  4. Store it securely - you won't see it again!

Important: Keep your API key secure and never expose it in client-side code.

2

Test Your Connection

Verify your API key works by fetching your capabilities

Test your API key with a simple capabilities request:

curl -H "X-API-Key: YOUR_API_KEY" \
     -H "X-Partner-Email: your@email.com" \
     https://analytics.knotie-ai.pro/mcp/capabilities

Replace YOUR_API_KEY with your actual API key andyour@email.com with your registered partner email.

3

Create Your First Customer

Programmatically create and onboard a new customer

Create a customer using the MCP API:

curl -X POST \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "X-Partner-Email: your@email.com" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "customer@example.com",
    "first_name": "John",
    "last_name": "Doe",
    "company_name": "Acme Corp"
  }' \
  https://analytics.knotie-ai.pro/mcp/customers

Expected Response:

{
  "success": true,
  "customer_id": "uuid-here",
  "email": "customer@example.com",
  "message": "Customer created successfully"
}
4

Enable Portal Access

Give your customer access to their dashboard with auto-generated credentials

Enable portal access for your newly created customer:

curl -X POST \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "X-Partner-Email: your@email.com" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "CUSTOMER_ID_FROM_STEP_3",
    "send_email": false
  }' \
  https://analytics.knotie-ai.pro/mcp/customers/portal-access

Response includes:

  • • Auto-generated secure password
  • • Portal URL for customer access
  • • Login credentials ready to share