Now in public beta·Generate, validate, and gate production-ready tests — without writing a single line.Book a demo
QUICKSTART

Up and running in 5 minutes

From zero to your first AI-generated, eval-gated test in under 5 minutes. No config files. No boilerplate. Just describe what you want tested.

01

Create your account

Sign up for a free Spectr account. You get $1 of free Claude credit to generate your first tests — no credit card required.

Create account
02

Install the Spectr SDK

Add the Spectr SDK to your project. It works alongside your existing Playwright or pytest setup.

npm install @spectr/sdk --save-dev
03

Configure your API key

Copy your API key from the Settings page and add it to your environment.

# .env.local
SPECTR_API_KEY=sk-spectr-xxxxxxxxxxxx
04

Generate your first test

Describe what you want to test in plain English. Spectr generates a Playwright spec, scores it through the eval pipeline, and streams the result back.

import { Spectr } from '@spectr/sdk';

const s = new Spectr({ apiKey: process.env.SPECTR_API_KEY });

const result = await s.generate({
  story: 'User logs in with valid credentials and lands on the dashboard',
  baseUrl: 'https://app.myproduct.com',
});

console.log(result.evalReport.gate); // 'pass' | 'warn' | 'fail'
console.log(result.code); // Playwright spec
05

Run in CI

Add the eval gate to your GitHub Actions workflow to block releases when test quality drops below your threshold.

# .github/workflows/ci.yml
- name: Spectr eval gate
  run: npx spectr eval --strict
  env:
    SPECTR_API_KEY: ${{ secrets.SPECTR_API_KEY }}
View CI docs
Ready to go deeper?

Explore the full SDK reference, CI integration guides, and eval pipeline docs.

Full SDK docs →Talk to sales
Spectr
AI Testing Cloud
AI TESTING
AI Operations
Multi-LLM test generation
Test Generator
Create & run test cases
Report Analyzer
AI root cause clustering
INTELLIGENCE
JARVIS AI
Testing assistant & chat
Observability
LangSmith agent traces
INTEGRATIONS
Jira Automation
AI sprint planning & tickets
Device Matrix
Browser & device testing
SDK & API
Reference & integrations
Settings
API keys & trial usage
Sign In
Access your workspace