Skip to main content
Create a project API key to stream Playwright test results to TestDino. Use a Personal Access Token (PAT) only for the Public API and MCP. If you don’t see the API Keys tab, open a project first. Org Settings has no API Keys tab.

Set up with an AI agent

Paste this into Cursor, Claude Code, or another assistant after you have created a key in the UI:

Wire a TestDino API key into Playwright and CI as TESTDINO_TOKEN.

Open in Cursor
First-time project setup with the full agent prompt: Getting Started. MCP and PAT flows: AI Onboarding.

Create an API key

Project Settings Keys and Tokens page with the New dropdown expanded showing API Key and Access Token options
  1. Open your project in TestDino
  2. Go to Project Settings → API Keys
  3. In Keys & Tokens, click + New → API Key
  4. Enter a Key Name, pick a Type (Ingestion for local or CI uploads, Pipeline for Azure DevOps and TeamCity plugins), and choose an Expiration of 30, 60, 90, or 180 days
  5. Click Create API Key
Create API Key modal showing Key Name and Expiration in days fields The key is shown once. Copy it and store it as TESTDINO_TOKEN.
For the Azure DevOps Extension, create + New → Access Token instead. Same td_api_ project key type; the UI label differs.

Use the key

Set TESTDINO_TOKEN, then run your tests. Results stream during the run:
Reference the env var in Playwright config:
playwright.config.ts

Store the key in CI

Never hardcode API keys in workflow files. Store them as secrets and expose TESTDINO_TOKEN to the test step. Full pipeline configs are in CI Setup.
  1. Go to your repository → Settings → Secrets and variables → Actions
  2. Click New repository secret
  3. Name it TESTDINO_TOKEN
  4. Paste your API key
  5. Click Add secret

Create a Personal Access Token

Use a PAT for the Public API and MCP. It is a user credential that reaches the organizations and projects you select at creation. User Settings Personal Access Tokens page with the Generate new token button
  1. Open your profile → User Settings → Personal Access Tokens
  2. Click Generate new token
  3. Enter a Token Name, select organizations and projects, choose an Expiration, and create it
Generate new token modal showing Token Name, organization and project selection, and Expiration fields The td_pat_ token is shown once. Use it as Authorization: Bearer td_pat_....
Prefer short expirations for CI. Use separate keys per pipeline or environment. Never commit keys to version control. When a key expires or is exposed, create a new key, update your secret, then delete the old one.

Node.js CLI

Install @testdino/playwright and stream your first run

CI Setup

Stream results in GitHub, GitLab, Azure DevOps, and more

Public API

Use a PAT to query test data over the API

Project Settings

All project configuration