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. Creating or deleting a project API key requires the Owner or Admin role in the organization.

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

  1. Open your project in TestDino
  2. Go to Project Settings → API Keys
  3. Click Generate New Key
  4. Enter a Name, pick a Type (Ingestion for local or CI uploads, Pipeline for Azure DevOps and TeamCity plugins), and choose an Expiry of 30, 60, 90, or 180 days
  5. Click Generate Key
The key is shown once. Copy it and store it as TESTDINO_TOKEN.

Use the key

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

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.
  1. Open your profile menu → Access Tokens
  2. Click Generate New Token
  3. Enter a Token Name, choose an Expiration, and select at least 1 project under Projects this token can access
  4. Click Generate Token
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. Deleting a key stops anything still using it immediately and cannot be undone.

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 read and act on test data over the API

Project Settings

All project configuration
Last modified on October 8, 2026