# 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/Py2cBwR9AKcgl4MVPyy1)

## 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/gDFr41kY6UoSWx4PSTfO)

See [Graders](/ai-in-umbraco/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/qDNgq1JT3k3FcFVG9JTN)

## 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/02hima1l7CnsDv8j2FYL)

## Next Steps

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


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
