.env file, never into the chat.
want to use Edgeful directly in Claude Desktop or Claude Web? connect MCP to read reports and build your own in chat. this page is for a coding agent setting up a local project that calls the REST API, which also covers your settings and saved custom reports.
1
get a coding agent running
you need a coding agent on your machine — Claude Code, Codex, Cursor, or similar. already have one running? skip to step 2.never installed one, or only ever used AI in a browser? start with never used AI? — it walks you through setting one up in about 10 minutes, then sends you back here for step 2.
2
paste the prompt
paste this into your running agent. it points the agent at a prompt-only setup page, so it does not need to parse this human guide. the agent creates a local the full agent prompt is also available at ai-agent-setup-prompt. it is intentionally not in the sidebar.
.env, makes a verified first call, and guides you through connecting MCP if you want to build and save custom reports.prompt — paste into your agent
3
add your API key
the prompt sets up everything except your API key, that part’s on you. the agent creates a
.env file, then pauses and asks for your key. here’s where to get it:- sign in to edgeful at edgeful.com.
- open the API dashboard (
edgeful.com/api-dashboard) and go to API Keys. - click generate API key, name it, and copy the value. it starts with
ef_live_and is shown only once. - paste it into the
.envfile the agent created (afterEDGEFUL_API_KEY=), save, and replydone.