> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testdino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TestDino AI Onboarding for Playwright

> Connect an AI agent to TestDino over MCP, the CLI, or docs grounding, then hand it the right context to act.

Connect an AI agent (Claude Code, Cursor, ChatGPT, or similar) to TestDino so it can read test data, set up reporting, or write Playwright code with the right context. Pick one path below, then hand the agent the matching resource.

> [!NOTE]
>
> New to TestDino? Complete [Getting Started](https://docs.testdino.com/getting-started.md) first so a project and API key exist. Use this page once you want an agent in the loop.

## Pick your path

| If you want the agent to... | Use | Credential |
| :- | :- | :- |
| Read live test runs, failures, and flaky tests | [TestDino MCP](https://docs.testdino.com/mcp/overview) | Personal Access Token (`TESTDINO_PAT`) |
| Stream Playwright results to TestDino | [Node.js CLI](https://docs.testdino.com/cli/testdino-playwright-nodejs) | Project API key (`TESTDINO_TOKEN`) |
| Answer questions from the docs | [Docs for agents](#docs-for-agents) | None |
| Generate Playwright tests in your repo that follow best practices | [Playwright Skill](https://docs.testdino.com/ai/playwright-skill.md) | None |

Create credentials in [Generate API Keys](https://docs.testdino.com/guides/generate-api-keys.md).

TestDino's own AI features run on enterprise providers that do not train on customer content; see [AI controls](https://docs.testdino.com/security/overview.md#ai-controls). Data your agent reads over MCP goes to the agent and model you connect, under that provider's terms.

## Starter prompt

Paste this into ChatGPT, Claude, Cursor, or another assistant:

Onboard any AI assistant to TestDino using the docs as the source of truth.

Read [https://docs.testdino.com/llms-full.txt](https://docs.testdino.com/llms-full.txt) to find the TestDino docs pages that match my question, then fetch those pages and treat them as the authoritative reference.

Act as a TestDino documentation assistant and setup guide.
Use the docs as the source of truth when answering questions about TestDino.
When relevant, recommend the exact TestDino docs page or workflow to follow.
If my request depends on live project data, tell me to use TestDino MCP instead of guessing.

**TestDino resources**

* Main docs: [https://docs.testdino.com](https://docs.testdino.com/index.md)
* Docs index: [https://docs.testdino.com/llms.txt](https://docs.testdino.com/llms.txt)
* Docs map with page topics: [https://docs.testdino.com/llms-full.txt](https://docs.testdino.com/llms-full.txt)
* Getting started: [https://docs.testdino.com/getting-started](https://docs.testdino.com/getting-started.md)
* Node.js CLI: [https://docs.testdino.com/cli/testdino-playwright-nodejs](https://docs.testdino.com/cli/testdino-playwright-nodejs)
* AI overview: [https://docs.testdino.com/ai/features](https://docs.testdino.com/ai/features.md)
* MCP overview: [https://docs.testdino.com/mcp/overview](https://docs.testdino.com/mcp/overview)
* Test management: [https://docs.testdino.com/test-management/overview](https://docs.testdino.com/test-management/overview.md)
* Integrations overview: [https://docs.testdino.com/integrations/overview](https://docs.testdino.com/integrations/overview.md)
* Data privacy: [https://docs.testdino.com/security/overview](https://docs.testdino.com/security/overview.md)

**Start here**

1. Summarize the main sections of the TestDino docs in a short outline.
2. Ask which CI provider I use, if any.
3. Ask whether I want docs guidance only or live MCP help.
4. Then help me complete the task step by step.

| Goal | Prompt |
| :- | :- |
| Set up a project | `Help me set up TestDino for a Playwright project from scratch.` |
| Configure CI | `Show me how to stream Playwright results to TestDino in GitHub Actions.` |
| Debug a failure | `Walk me through the Test Runs page and how to debug a failure.` |
| Find a page | `Which TestDino docs page should I read for Slack alerts?` |

## MCP (live data)

Add the local MCP server to your client. The server reads `TESTDINO_PAT`:

```json theme={null}
{
  "mcpServers": {
    "TestDino": {
      "command": "npx",
      "args": ["-y", "@testdino/mcp"],
      "env": {
        "TESTDINO_PAT": "td_pat_your_token_here"
      }
    }
  }
}
```

For client-specific steps, see [Local MCP](https://docs.testdino.com/mcp/local.md) for Claude Code, Cursor, and Claude Desktop, or [Remote MCP](https://docs.testdino.com/mcp/remote.md) for ChatGPT and Claude on the web.

To verify the connection, ask the assistant to run `health` and confirm it lists your organizations and projects.

## Node.js CLI (stream results)

Install the package, add `@testdino/playwright` to the `reporter` array in your Playwright config, then run your tests with `TESTDINO_TOKEN` set:

```bash theme={null}
npm install @testdino/playwright
export TESTDINO_TOKEN="your-api-key"
npx playwright test
```

Every flag, config field, and environment variable is in the [Node.js CLI reference](https://docs.testdino.com/cli/testdino-playwright-nodejs).

## Docs for agents

| Scope | Source |
| :- | :- |
| One page | Append `.md` to any docs URL |
| Page index | [llms.txt](https://docs.testdino.com/llms.txt) |
| Page map with topics per page | [llms-full.txt](https://docs.testdino.com/llms-full.txt) |

## Playwright Skill

```bash theme={null}
npx skills add testdino-hq/playwright-skill
```

Install steps and the packs it ships with are in [Playwright Skill](https://docs.testdino.com/ai/playwright-skill.md).

> [card] [Getting Started](https://docs.testdino.com/getting-started.md)
>
> Stream your first Playwright run

> [card] [MCP Overview](https://docs.testdino.com/mcp/overview)
>
> Connect an assistant to live TestDino data

> [card] [AI Overview](https://docs.testdino.com/ai/features.md)
>
> Failure classification, patterns, and MCP

> [card] [Node.js CLI](https://docs.testdino.com/cli/testdino-playwright-nodejs)
>
> Install @testdino/playwright


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.