Four commands
Create a set and add your keys
In the dashboard, create a set such as
dev and add your keys.
Then link your project:Add it to npm run dev
To make protection automatic, add elding proxy -- to the dev script in package.json:
package.json
This works with any command:
next dev, vite, node server.js, nodemon, and more.
Your workflow stays the same; Elding runs on top of it.The key moment
Your code only needs one line.configure() handles everything:
app.js
The OpenAI request still works: the proxy injects the real key at the last moment and
locks it to
api.openai.com. Your application, AI agent, and dependencies only see a
placeholder. The real key does not exist anywhere in your process.What’s next?
Understand the proxy
Learn how injection and host locking work.
run vs proxy
Choose the right mode for your use case.