clay-install-auth
Set up authentication, API access, and webhook integrations for the Clay data platform.
Install
mkdir -p .claude/skills/clay-install-auth && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8145" && unzip -o skill.zip -d .claude/skills/clay-install-auth && rm skill.zipInstalls to .claude/skills/clay-install-auth
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Set up Clay account access, API keys, webhook URLs, and provider connections.Key capabilities
- →Configure Clay API keys for secure access
- →Initialize webhook endpoints for inbound data
- →Connect third-party enrichment providers
- →Verify Enterprise API connectivity
- →Store credentials in local environment files
How it works
The skill manages Clay integration by configuring webhook URLs for inbound data flow and connecting external provider API keys to reduce credit consumption. It also provides commands to verify Enterprise API connectivity and secure credentials in local environment files.
Inputs & outputs
When to use clay-install-auth
- →Store and secure Clay API keys
- →Initialize webhook endpoints for inbound data
- →Verify Enterprise API connectivity
- →Test provider data lookups
About this skill
Clay Install & Auth
Overview
Clay is a web-based data enrichment platform — there is no SDK to install. Integration happens through webhook URLs (inbound data), HTTP API enrichment columns (outbound calls from Clay), and the Enterprise API (programmatic people/company lookups). This skill covers account setup, API key management, provider connections, and webhook configuration.
Prerequisites
- Clay account at clay.com (free tier available)
- For Enterprise API: Enterprise plan subscription
- For webhook integration: HTTPS endpoint or tunneling tool (ngrok)
Instructions
Step 1: Get Your Clay API Key (Enterprise Only)
Navigate to Settings > API in your Clay workspace. Copy your API key. Clay's Enterprise API is limited to people and company data lookups — it is not a general-purpose table API.
# Store your Clay API key securely
export CLAY_API_KEY="clay_ent_your_api_key_here"
# Verify with a test lookup (Enterprise API)
curl -s -X POST "https://api.clay.com/v1/people/enrich" \
-H "Authorization: Bearer $CLAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}' | jq .
Step 2: Configure Webhook Inbound Source
Every Clay table can receive data via a unique webhook URL. This is the primary way to send data into Clay programmatically.
- Open a Clay workbook (or create one)
- Click + Add at the bottom of the table
- Search for Webhooks and click Monitor webhook
- Copy the generated webhook URL
# Store your table's webhook URL
export CLAY_WEBHOOK_URL="https://app.clay.com/api/v1/webhooks/your-unique-id"
# Send a test record to your Clay table
curl -X POST "$CLAY_WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Doe",
"company": "Acme Corp",
"title": "VP of Sales"
}'
The record appears as a new row in your Clay table within seconds.
Step 3: Connect Data Provider API Keys
Clay supports 150+ enrichment providers. Connecting your own API keys saves 70-80% on Clay credits.
- Go to Settings > Connections in Clay
- Click Add Connection for each provider
- Paste your API key
Common providers to connect:
| Provider | Key Location | Credit Savings |
|---|---|---|
| Apollo.io | Settings > API Keys | 2 credits/lookup saved |
| Clearbit | Dashboard > API | 2-5 credits saved |
| People Data Labs | Dashboard > API Keys | 3 credits saved |
| Hunter.io | Dashboard > API | 2 credits saved |
| ZoomInfo | Admin > API | 5-13 credits saved |
| Prospeo | Dashboard > API Key | 2 credits saved |
When you use your own API keys, 0 Clay credits are consumed — credits only apply when using Clay's managed provider accounts.
Step 4: Create .env for Local Integration Code
# .env — for local scripts that interact with Clay
CLAY_API_KEY=clay_ent_your_key # Enterprise API (if applicable)
CLAY_WEBHOOK_URL=https://app.clay.com/api/v1/webhooks/abc123 # Table webhook
CLAY_WORKSPACE_ID=ws_your_workspace # Found in Settings > Workspace
# Provider keys (optional — for direct provider calls outside Clay)
APOLLO_API_KEY=your_apollo_key
CLEARBIT_API_KEY=your_clearbit_key
HUNTER_API_KEY=your_hunter_key
Step 5: Verify Webhook Authentication
Secure your webhook endpoint with a shared secret in the header:
# Send authenticated webhook data
curl -X POST "$CLAY_WEBHOOK_URL" \
-H "Content-Type: application/json" \
-H "X-Webhook-Secret: your-shared-secret" \
-d '{"email": "[email protected]", "source": "auth-verification"}'
Error Handling
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid or expired API key | Regenerate key in Settings > API |
403 Forbidden | Feature not on your plan | Enterprise API requires Enterprise plan |
422 Unprocessable | Malformed webhook payload | Ensure valid JSON with Content-Type header |
429 Too Many Requests | Explorer plan: 400 records/hour | Throttle webhook submissions or upgrade |
| Webhook URL expired | Table deleted or webhook limit hit | Create new webhook (50K submission limit per webhook) |
| Provider connection failed | Invalid third-party API key | Verify key in provider's own dashboard |
Output
- Clay workspace configured with API access
- Webhook URL ready to receive programmatic data
- Provider API keys connected for credit savings
.envfile with all required credentials
Resources
- Clay University — HTTP API Overview
- Clay University — Webhook Integration Guide
- Clay Plans & Billing
Next Steps
After auth setup, proceed to clay-hello-world to send your first enrichment through Clay.
When not to use it
- →General-purpose table API usage
- →Non-Enterprise plan for Enterprise API features
Prerequisites
Limitations
- →Enterprise API is limited to people and company data lookups
- →Webhook submissions are limited to 50K per webhook
- →Explorer plan is limited to 400 records per hour
How it compares
Unlike manual configuration, this skill provides a structured setup process for webhooks and provider connections that minimizes credit usage and ensures secure credential management.
Compared to similar skills
clay-install-auth side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| clay-install-auth (this skill) | 0 | 25d | Caution | Beginner |
| twilio-communications | 3 | 6mo | Review | Intermediate |
| lindy-install-auth | 4 | 25d | Caution | Beginner |
| evernote-install-auth | 1 | 25d | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
twilio-communications
davila7
Build communication features with Twilio: SMS messaging, voice calls, WhatsApp Business API, and user verification (2FA). Covers the full spectrum from simple notifications to complex IVR systems and multi-channel authentication. Critical focus on compliance, rate limits, and error handling. Use when: twilio, send SMS, text message, voice call, phone verification.
lindy-install-auth
jeremylongshore
Install and configure Lindy AI SDK/CLI authentication. Use when setting up a new Lindy integration, configuring API keys, or initializing Lindy in your project. Trigger with phrases like "install lindy", "setup lindy", "lindy auth", "configure lindy API key".
evernote-install-auth
jeremylongshore
Install and configure Evernote SDK and OAuth authentication. Use when setting up a new Evernote integration, configuring API keys, or initializing Evernote in your project. Trigger with phrases like "install evernote", "setup evernote", "evernote auth", "configure evernote API", "evernote oauth".
instantly-install-auth
jeremylongshore
Install and configure Instantly SDK/CLI authentication. Use when setting up a new Instantly integration, configuring API keys, or initializing Instantly in your project. Trigger with phrases like "install instantly", "setup instantly", "instantly auth", "configure instantly API key".
openrouter-install-auth
jeremylongshore
Execute set up OpenRouter API authentication and configure API keys. Use when starting a new OpenRouter integration or troubleshooting auth issues. Trigger with phrases like 'openrouter setup', 'openrouter api key', 'openrouter authentication', 'configure openrouter'.
documenso-install-auth
jeremylongshore
Install and configure Documenso SDK/API authentication. Use when setting up a new Documenso integration, configuring API keys, or initializing Documenso in your project. Trigger with phrases like "install documenso", "setup documenso", "documenso auth", "configure documenso API key".