FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
stevekrouse
stevekrousesetup-clay-proxy
Remix of charmaine/clay-api-proxy
Public
Like
setup-clay-proxy
Home
Code
3
README.md
H
main.tsx
sdk.ts
Branches
1
Pull requests
Remixes
History
Environment variables
1
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
/
Code
/
Search
main.tsx
https://stevekrouse--01988abfa7cc72c7998fe86869b4c3ff.web.val.run
README.md

Clay API + SDK

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

Clay setup

  1. Create workbook using this Clay template

  2. Remix this val

  3. Get your Clay workbook's webhook 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 as in the HTTP API column in Clay, with /clay-webhook on the end of it

Enrich by Email

Create val
// Update this to the module URL of your sdk.ts file import { clay } from "https://esm.town/v/charmaine/clay-proxy/sdk.ts"; const result = await clay({ email: "charmainekmlee@gmail.com", source: "user_signup", }); console.log(result);
HTTP
  • main.tsx
    stevekrouse--01…ff.web.val.run
Code
README.md
H
main.tsx
sdk.ts
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.