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

# Create a project

> Create a project, add your Salesforce org to it, and find your way around its overview and settings.

A [project](https://docs.provar.dev/glossary.md#project) is where you test one thing: an AI [agent](https://docs.provar.dev/glossary.md#agent) or a Salesforce app.
This page shows you how to create one, what you get, and how to look after it once it exists.
[Start here](https://docs.provar.dev/index.md) covers connecting your Salesforce org. This page picks up from there.

## Before you start

**In TrustAI**

* A [connector](https://docs.provar.dev/glossary.md#connector) to your [Salesforce org](https://docs.provar.dev/glossary.md#salesforce-org) in your
  [workspace](https://docs.provar.dev/glossary.md#workspace). If there isn't one yet, see [Connect your Salesforce org](https://docs.provar.dev/index.md#connect-your-salesforce-org).
* To test an AI agent: the agent must be in that org, such as an Agentforce agent.

## Create the project

1. In the left menu, click **+** next to **Your projects**, then **New project**.

   **You should see:** **Create new project**, with a **Project name** field, two **Project type** buttons and a
   **Connectors** field. **Functional testing** is chosen to begin with. **Create** can't be clicked yet.

2. Enter a **Project name**, then choose a **Project type**. To read what each type does, point at the **ⓘ** beside
   **Project type**:

   * **Agent evaluation** tests an AI agent: "Simulate conversations against an agent and grade them against the
     expected outcomes you write." See [agent evaluation](https://docs.provar.dev/glossary.md#agent-evaluation).
   * **Functional testing** tests a Salesforce app in a browser: "Run tests against a system under test and check
     they pass." See [functional testing](https://docs.provar.dev/glossary.md#functional-testing).

   **You should see:** **Create** can now be clicked. If you chose **Agent evaluation**, a new choice appears:
   **What does this agent do?**, with **Conversation** (chosen to begin with) and **Task**. Point at its **ⓘ** to
   read them: in **Conversation**, "A simulated user holds a conversation with the agent." In **Task**, there is "No
   simulated user: the agent works through one input or a fixed set of instructions." This guide uses
   **Conversation**.

   Choose carefully. **Project settings** shows the project type, and the agent type, later, but has no control to
   change them. For the agent type, its **ⓘ** says so: "This can't be changed later."

3. Under **Connectors**, click **Add connectors** and pick your org from the list.

   **You should see:** your connector's name in the field.

   You can skip this step and add the connector later (see [Add a connector later](#add-a-connector-later)). The
   **ⓘ** beside **Connectors** explains: "Pick where this project runs. Without one, nothing in it can run. To add a
   new connector, set it up in this project's Connectors settings after you create it." You can only pick
   connectors your workspace already has.

4. Click **Create**. It can take a few seconds.

   **You should see:** the message **Created** and your project's name. The new project opens on **Add your first
   requirement**, with the buttons **Extract from your docs** and **New requirement**. On the right is the project
   overview.

5. **Agent evaluation only:** choose the agent to test. Follow step 7 of [Start here](https://docs.provar.dev/index.md#add-the-org-to-a-project):
   in **Project settings**, under **Connectors**, click **+** on your org's row, then **Agent**. Choose your agent
   and click **Add**. Then click **⋮** beside the agent and click **Make the default agent**. See
   [default agent](https://docs.provar.dev/glossary.md#default-agent).

   **You should see:** your agent under your org's row, with a star beside it. Back on the project, the overview
   shows your agent under **agent under test**.

   If the **+** menu offers only **User**, TrustAI doesn't know your org's agents yet. Contact Provar to add your
   agent.

## What a new project contains

Your project now appears in the left menu under **Your projects**. Click its name to show or hide its pages:

* **Scenarios** (agent evaluation) or **Tests** (functional testing). This is where you write
  [requirements](https://docs.provar.dev/glossary.md#requirement) and the [scenarios](https://docs.provar.dev/glossary.md#scenario) or [tests](https://docs.provar.dev/glossary.md#test) under
  them. A new project has none.
* **Runs**. Every [run](https://docs.provar.dev/glossary.md#run) of the project is listed here. A new project has none.

Point at the project's name and click the **⋮** button beside it for two more choices: **Project settings** and
**Hide this project**. To rename the project, click its name in the left menu and press F2.

## The project overview

The overview sits on the right of the **Scenarios** or **Tests** page. To hide it or show it again, click the
panel button at the top right of the list (its name is **Hide overview**).

At the top, under **Project**, it shows:

* **Name**, the project's name.
* **Test plan summary**, a short note on what the project is for. Until you write one, it says "No test plan
  summary yet. Add one in Settings."
* **agent under test** (agent evaluation) or **app under test** (functional testing). In an agent evaluation
  project, this shows your default agent. In a functional testing project, it shows your connector. Until there is
  one, it says, for example, "No agent under test. This project has no environment."
* **Suites**, **Requirements**, and **Scenarios** or **Tests**: how many of each the project has. See
  [suite](https://docs.provar.dev/glossary.md#suite).

Once the project has a requirement, more cards appear under it:

| Card | What it shows |
| - | - |
| **Pass rate** | How many requirements are passing. Until something has run, it says "Nothing has been evaluated yet." |
| **Scenario coverage** (agent evaluation) | How many requirements have several scenarios under them. |
| **Test coverage** (functional testing) | How many requirements are fully covered by tests, for example "1 of 1 requirements fully covered". |
| **Scenario results** (agent evaluation) | How many scenarios ended **Passed**, **Failed**, **Error**, **Needs review**, **Not determined** and **Incomplete**. |
| **Requirement mix** (agent evaluation) | Your requirements sorted into kinds, such as **Must do**, **Must not do** and **PII & data protection**. It names any kind you have no requirements for yet. |
| **Scenario volume** or **Test volume** | How many scenarios or tests you've written. |
| **Changed verdicts** (agent evaluation) | How many runs a person changed the verdict on. See [Run tests and read results](https://docs.provar.dev/guides/beginner/run-tests-and-read-results.md). |
| **Annotation coverage** (agent evaluation) | How many requirements people have annotated by hand, and how often. |

## Project settings

Point at the project's name in the left menu, click **⋮**, then click **Project settings**.

### Name and test plan summary

Under **Project details**, you can see the **Project type** (and, in an agent evaluation project, the **Agent
type**). Change the **Project name** or write a **Test plan summary**, then click **Save changes**. **Reset** puts
back what was there before.

**You should see:** the message **Project details updated**. The overview shows your new name and summary.

### Members and Grant access

**Project members** lists everyone who can open the project, with their [project role](https://docs.provar.dev/glossary.md#project-role).
You're listed as **Owner**. That role can't be changed. Being a [member](https://docs.provar.dev/glossary.md#member) of the workspace
doesn't open a project: someone has to give the person a role here.

1. Click **Grant access**.

   **You should see:** **Grant access to** your project's name, with a **Role** choice and a list of people in
   your workspace. **Editor** is chosen to begin with.

2. Under **Role**, choose a role. The dialog explains the one you choose:
   * **Viewer:** "Can open the project and read what is in it."
   * **Editor:** "Can change what is in the project and start runs."
   * **Admin:** "Can do all that an Editor can, and manage who can reach the project."

3. Find the person under **Search people** and click **Grant** beside their name. Then click **Done**.

   **You should see:** the message that the person now has that role on your project, and "Now" and the role
   beside their name. After **Done**, they're in **Project members** with that role.

To change someone's role later, click their role in the list and choose another. To take their access away, click
**⋮** beside them, then **Remove access**. TrustAI asks you to confirm: "They will no longer be able to open"
the project. "You can give them a role again at any time."

### Add a connector later

**Connectors** lists the connectors the project uses. Until you add one, it says **No connectors yet**.

1. Under **Connectors**, click **Add connector**.

   **You should see:** **Add connector**, with a **Connector** field: "Pick a connector. You can rename it after."

2. Click **Choose a connector…** and pick your org.

   **You should see:** "It's added as “Salesforce”, named after its kind. You can rename it."

3. Click **Add**.

   **You should see:** a row for your org under **Connectors**, marked **Salesforce**, with your connector's name
   beside it.

**New connector**, at the bottom of the **Choose a connector…** list, sets up a brand new connector.
[Start here](https://docs.provar.dev/index.md#connect-your-salesforce-org) shows that form.

### Archive a project

Under **Danger zone**, **Archive…** stops new work in a project and hides it. TrustAI asks you to confirm first:
"New work will stop. Historical results will remain available. An administrator can restore it from Workspace
settings → General." To go ahead, you type the project's name, then click **Archive project**. Until you type the
name, **Archive project** can't be clicked. To leave without archiving, click **Cancel**. See
[archive](https://docs.provar.dev/glossary.md#archive).

## Hide a project

Hiding takes a project out of **Your projects** in the left menu. It doesn't archive the project or change
anything in it.

1. Point at the project's name in the left menu, click **⋮**, then click **Hide this project**.

   **You should see:** the message "Project hidden. Add it back from Browse projects." The project is gone from
   **Your projects**.

2. To get it back, click **+** next to **Your projects**, then **Browse projects**. Find the project and click
   **Add back**.

   **You should see:** beside the project, before you click, **Hidden**. After you click, the message **Project
   added back**, and the project is back in the left menu.

## Browse projects

**Browse projects** lists the projects in your workspace, not only yours. Click **+** next to **Your projects**,
then **Browse projects**. Use **Search projects** to find one by name.

Each project shows its type and one button:

* **Open** for a project you've joined (it says **Joined**).
* **Add back** for a project you've hidden.
* **Join…** for a project you haven't joined. It opens **Join project**, where you choose **Your project role**
  and click **Join project**, or **Back** to leave it. In our walkthrough, signed in as a workspace administrator,
  the roles offered were **Admin**, **Editor** and **Viewer**.

## If something goes wrong

| What you see | What to do |
| - | - |
| **Create** can't be clicked | Enter a **Project name**. |
| Your org isn't in the **Add connectors** list | The list only holds connectors your workspace already has. Set one up first: see [Connect your Salesforce org](https://docs.provar.dev/index.md#connect-your-salesforce-org). |
| Right after you save project details, **Grant** or **Remove access** shows "That record changed since you read it, so the edit\_token you sent is out of date." | Reload the page, then try again. |
| A project is missing from **Your projects** | It may be hidden. Open **Browse projects** and click **Add back** beside it. |

## Next

* [Write requirements](https://docs.provar.dev/guides/beginner/write-requirements.md)
* [Create a test or scenario](https://docs.provar.dev/guides/beginner/create-a-test.md)


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