Set up with AI
Add usage limits with your AI coding tool
Paste one prompt into Cursor, Claude Code, GitHub Copilot or another coding agent. It adds an Ordainer check to one handler in your project, in shadow mode, using a test key. In shadow mode, plan and test-limit denies are logged as would-deny and the call still runs, until you choose to enforce.
-
Get your test keys
Sign up with your email and copy a key that starts with
Get test keysord_test_.You sign up, not the agent. The prompt tells your agent not to create an account for you. When it needs a key, it stops and asks you.
-
Copy the prompt
It works in any language we support: Node, Python and Ruby.
Turn on JavaScript to see the prompt, or set up by hand with a quickstart below.
Copies the setup prompt, 2,170 characters, to paste into your coding agent. -
Paste it into your coding tool
Open your project, paste the prompt, and answer its two questions: your test key, and which tool or endpoint to limit. It finishes by calling that handler once and showing you the decision it logged.
Prefer to do it by hand?
- Node quickstartExpress middleware
- Python quickstartClient and decide()
- Ruby quickstartRails initializer
- Shadow modeLog before you enforce
Ordainer is free during the beta: sign up for test keys with 1,000 decisions a month, no credit card needed.