MindTickle Install & Auth
Overview
Set up MindTickle API for sales readiness, training content management, and rep performance analytics.
Prerequisites
- MindTickle account and API access
- API key/credentials from MindTickle dashboard
- Node.js 18+ or Python 3.8+
Instructions
Step 1: Install SDK
npm install @mindtickle/sdk
# API key from MindTickle Admin > Integrations > API
Step 2: Configure Authentication
export MINDTICKLE_API_KEY="your-api-key-here"
echo 'MINDTICKLE_API_KEY=your-api-key' >> .env
Step 3: Verify Connection (TypeScript)
import { MindTickleClient } from '@mindtickle/sdk';
const client = new MindTickleClient({ apiKey: process.env.MINDTICKLE_API_KEY });
const users = await client.users.list({ limit: 5 });
console.log(`Found ${users.total} users`);
Step 4: Verify Connection (Python)
import mindtickle
client = mindtickle.Client(api_key=os.environ['MINDTICKLE_API_KEY'])
users = client.users.list(limit=5)
print(f'Found {users.total} users')
Error Handling
| Error | Code | Solution | |-------|------|----------| | Invalid API key | 401 | Verify credentials in dashboard | | Permission denied | 403 | Check API scopes/permissions | | Rate limited | 429 | Implement backoff |
Resources
Next Steps
After auth, proceed to mindtickle-hello-world.