Install and configure Clay SDK/CLI authentication. Use when setting up a new Clay integration, configuring API keys, or initializing Clay in your project. Trigger with phrases like "install clay", "setup clay", "clay auth", "configure clay API key".
Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.
Method 1 - skills CLI
npx skills i jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/clay-pack/skills/clay-install-authMethod 2 - openskills (supports sync & update)
npx openskills install jeremylongshore/claude-code-plugins-plus-skillsAuto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.
Installation Path
Download and extract to one of the following locations:
No setup needed. Let our cloud agents run this skill for you.
Select Provider
Select Model
Best for coding tasks
No setup required
Set up Clay SDK/CLI and configure authentication credentials.
# Node.js
npm install @clay/sdk
# Python
pip install clay# Set environment variable
export CLAY_API_KEY="your-api-key"
# Or create .env file
echo 'CLAY_API_KEY=your-api-key' >> .env// Test connection code here| Error | Cause | Solution |
|---|---|---|
| Invalid API Key | Incorrect or expired key | Verify key in Clay dashboard |
| Rate Limited | Exceeded quota | Check quota at https://docs.clay.com |
| Network Error | Firewall blocking | Ensure outbound HTTPS allowed |
| Module Not Found | Installation failed | Run npm install or pip install again |
import { ClayClient } from '@clay/sdk';
const client = new ClayClient({
apiKey: process.env.CLAY_API_KEY,
});from clay import ClayClient
client = ClayClient(
api_key=os.environ.get('CLAY_API_KEY')
)After successful auth, proceed to clay-hello-world for your first API call.