Build with Claude
Paste one prompt into Claude Code and it builds your app on the Eden API, using the test key first.
View as markdownCopy the prompt below into Claude Code. Replace the first line with your idea. Claude reads these docs, builds the app with the free test key, and switches to your key when you're ready.
The prompt
Build me <describe your app> on the Eden API.
Read https://eden.so/developers/llms.txt first and follow it.
- Base URL: https://api.eden.so/v1. Send the key as "Authorization: Bearer <key>".
- While building, use the free test key eden_test_demo. It returns sample data.
- For real data, read my key from the EDEN_API_KEY environment variable.
- Call Eden from server code only. Never put the key in browser code.
- On a 202 answer, wait retry_after_seconds and try again.
- On a 402 answer, show the add_credits_url link.How to use it
- 01
Open Claude Code in an empty folder
Or in the project you want to add Eden to.
- 02
Paste the prompt and describe your app
Swap the first line for what you want, like "a tool that turns any TikTok link into a blog post" or "a dashboard of the top posts in my niche this week".
- 03
Let it build with the test key
The test key
eden_test_demoreturns fixed sample data for free, so Claude can build and test every screen without spending credits. - 04
Add your real key
Make a key in Settings → API and put it in an
.envfile asEDEN_API_KEY. Restart the app. Calls now return real data and cost 0.1 credit each.
Why the prompt says what it says
- Read llms.txt first.
https://eden.so/developers/llms.txtlists every page of these docs as plain markdown, so Claude reads the real routes instead of guessing. - Test key first. Sample data is free and always the same, which makes it easy to build against.
- Key in an environment variable, calls from the server. A key in browser code can be copied and spent by anyone.
- Handle 202 and 402. New links and new creators can take a few seconds the first time (
202withretry_after_seconds). An empty balance answers402withadd_credits_url.
Tips
- Ask Claude to save each answer it gets while building. Real answers have the same shape as the test answers, so the same code works for both.
- Any page here also works as markdown: add
.mdto its address, likehttps://eden.so/developers/transcripts.md. Paste one into Claude when you work on that part.