Install and configure Perplexity SDK/CLI authentication. Use when setting up a new Perplexity integration, configuring API keys, or initializing Perplexity in your project. Trigger with phrases like "install perplexity", "setup perplexity", "perplexity auth", "configure perplexity API key".
From perplexity-packnpx claudepluginhub nickloveinvesting/nick-love-plugins --plugin perplexity-packThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Set up Perplexity SDK/CLI and configure authentication credentials.
set -euo pipefail
# Node.js
npm install @perplexity/sdk
# Python
pip install perplexity
# Set environment variable
export PERPLEXITY_API_KEY="your-api-key"
# Or create .env file
echo 'PERPLEXITY_API_KEY=your-api-key' >> .env
// Test connection code here
| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in Perplexity dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.perplexity.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
import { PerplexityClient } from '@perplexity/sdk';
const client = new PerplexityClient({
apiKey: process.env.PERPLEXITY_API_KEY,
});
from perplexity import PerplexityClient
client = PerplexityClient(
api_key=os.environ.get('PERPLEXITY_API_KEY')
)
After successful auth, proceed to perplexity-hello-world for your first API call.