⚙️ cPanel Setup Guide (PHP Only)
Works on ANY cPanel shared hosting — no Node.js needed!
Step 1 — Upload Files via cPanel File Manager
Upload these 3 files into your public_html folder (or a subfolder like public_html/social-agent/):
public_html/
├── index.html ← Frontend (this page)
├── api.php ← Backend API
└── config.php ← Your settings & API key
Copy
Step 2 — Edit config.php with Your API Key
Open config.php in cPanel File Manager → Edit, and set your key:
define('ANTHROPIC_API_KEY', 'sk-ant-your-key-here');
Copy
👉 Get your key free at console.anthropic.com
Step 3 — Test Your API
Visit this URL in your browser — if you see ✅ you're live!
https://yourdomain.com/social-agent/api.php?action=health
Copy
Step 4 — Set API URL in this app
Enter your domain so this page connects to your PHP backend:
Save & Test
✅ Requirements Checklist
✅ PHP 7.4+ (all cPanel hosts have this)
✅ cURL enabled (enabled by default on cPanel)
✅ No Node.js needed
✅ No npm install needed
✅ Just upload 3 files and done!