Skip to main content

Four commands

1

Install the CLI

2

Sign in

Your browser opens for authorization. The token is then stored locally with chmod 600.
3

Create a set and add your keys

In the dashboard, create a set such as dev and add your keys. Then link your project:
4

Run your application behind the proxy

Prefix your usual command with elding proxy --:
Your API keys are loaded inside the proxy, never into your application’s memory.

Add it to npm run dev

To make protection automatic, add elding proxy -- to the dev script in package.json:
package.json
Now start your application as usual. The key is protected transparently:
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
Now try logging the key:
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.

Deploy to production

Development works. Now ship it. Run once, locally:
The CLI asks for a key name, creates it, and prints two variables:
Add them to your host (Vercel → Settings → Environment Variables, Railway, Render, etc.). Your code stays identical — the SDK switches automatically from the local proxy to the vault.
Copy the token immediately. It is shown only once. Do not run elding deploy in a CI pipeline with public logs.

All deployment options

CLI method, dashboard method, revocation.

What’s next?

Understand the proxy

Learn how injection and host locking work.