Prerequisites
- Node 20+ and npm
- Playwright available in the project (
npx playwright installif you’re starting fresh) - Stably account: Signup at app.stably.ai or grab an API key from Settings → API Keys
Installation
Install the Stably CLI globally:You can also use
npx stably without global installation if you prefer. The commands below will work with both approaches. To see all available commands, run stably --help.Step-by-step
1
Authenticate
STABLY_API_KEY. Run stably whoami to verify your authentication.2
Create resources with AI
3
Run tests locally
4
Fix failing tests
What you get
- Authenticated access to Stably’s testing infrastructure
- Playwright tests created with AI assistance, ready for version control
- Automated fixes for test failures, locally or in the cloud
Next steps
CLI guide
Explore commands, agent workflows, and maintenance tools