Before you start
In TrustAI- A connector to your Salesforce org in your workspace. If there isn’t one yet, see Connect your Salesforce org.
- To test an AI agent: the agent must be in that org, such as an Agentforce agent.
Create the project
- 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.
-
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.
- Functional testing tests a Salesforce app in a browser: “Run tests against a system under test and check they pass.” See functional testing.
- 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). 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.
- 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.
- Agent evaluation only: choose the agent to test. Follow step 7 of Start here: 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. 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 and the scenarios or tests under them. A new project has none.
- Runs. Every run of the project is listed here. A new project has none.
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.
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. You’re listed as Owner. That role can’t be changed. Being a member of the workspace doesn’t open a project: someone has to give the person a role here.- 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.
-
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.”
- 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.
Add a connector later
Connectors lists the connectors the project uses. Until you add one, it says No connectors yet.- Under Connectors, click Add connector. You should see: Add connector, with a Connector field: “Pick a connector. You can rename it after.”
- Click Choose a connector… and pick your org. You should see: “It’s added as “Salesforce”, named after its kind. You can rename it.”
- Click Add. You should see: a row for your org under Connectors, marked Salesforce, with your connector’s name beside it.
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.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.- 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.
- 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.