• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

setup-clay-proxy-2

Remix of charmaine/clay-api-proxy
Public
Like
setup-clay-proxy-2
Home
Code
3
README.md
H
main.tsx
sdk.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
/
x
/
stevekrouse
/
setup-clay-proxy-2
/
branch
/
main
/
version
/
2
/
code
/
README.md
/
README.md
Code
/
/
x
/
stevekrouse
/
setup-clay-proxy-2
/
branch
/
main
/
version
/
2
/
code
/
README.md
/
README.md
Search
8/8/2025
Viewing readonly version of main branch: v2
View latest version
README.md

Clay API + SDK

Setup your own API / SDK to enrich data with Clay.

Setup

  1. Remix this val

  2. Set up a Clay workbook with both a Webhook column and an HTTP API column (or use this template)

  3. Copy your Clay workbook's Webhook column URL

    CleanShot 2025-08-08 at 13.23.47@2x.png

  4. Set that as CLAY_WEBHOOK_URL in this val's env variables

  5. Copy main.tsx's HTTP endpoint URL

  6. Paste that in the HTTP API column in Clay, with /clay-webhook on the end of it

  7. Also paste that in CLAY_API_URL = in sdk.ts

Enrich by Email

Create val
// Update this to the module URL of your sdk.ts file import { clay } from "https://esm.town/v/[YOUR_USERNAME]/clay-proxy/sdk.ts"; const result = await clay({ email: "charmainekmlee@gmail.com", }); console.log(result);
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.