> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/ai-in-umbraco/17.latest/testing-and-evaluation/getting-started.md).

# Getting Started

This guide walks you through creating and running your first AI test.

## Prerequisites

* At least one prompt or agent configured
* At least one chat profile with a valid connection

## Step 1: Create a Test

1. Navigate to the **AI** section > **Tests**
2. Click **Create**
3. Fill in the test details:

| Field       | Description                     |
| ----------- | ------------------------------- |
| Name        | A descriptive name for the test |
| Alias       | Unique identifier               |
| Description | What the test validates         |

4. Select the **Target** — the prompt or agent to test
5. Configure the **Profile** and **Contexts** to use during execution

![Test settings showing target, profile, and context configuration](/files/8IpQoV1wn9OqeeSGP9gQ)

## Step 2: Add Graders

Graders define the success criteria for the test output.

1. Click **Add Grader** in the Graders section
2. Select a grader type (e.g., Contains, Regex Match, LLM Judge)
3. Configure the grader settings

![Configure Contains Grader showing name, severity, weight, negate, and search pattern fields](/files/xNTawFWnAXv4WKuXkIqf)

See [Graders](/ai-in-umbraco/17.latest/testing-and-evaluation/graders.md) for details on all available grader types.

## Step 3: Run the Test

1. Click **Run** in the toolbar
2. The test executes against the target with the configured graders
3. View the results in the **Runs** tab

![Test runs view showing 4 runs with pass rates and execution details](/files/fiYwXfgHGRXwQDj0bfnY)

## Step 4: Review Results

Click a run to see the details:

* **Score** — overall pass rate
* **Graders Passed** — how many graders passed
* **Outcome** — the actual output from the AI

![Test run detail showing score, graders passed, and outcome](/files/gJAK8yaPINQ3A6Biy5EY)

## Next Steps

* [Graders](/ai-in-umbraco/17.latest/testing-and-evaluation/graders.md) — Configure success criteria
* [Variations](/ai-in-umbraco/17.latest/testing-and-evaluation/variations.md) — A/B test across models
* [Concepts](/ai-in-umbraco/17.latest/testing-and-evaluation/concepts.md) — Understand tests, features, and metrics


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/ai-in-umbraco/17.latest/testing-and-evaluation/getting-started.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
