> ## 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.

# Invite your team

> Add people to your workspace, choose their workspace role, and give them a role in each project they work on.

Giving someone access to TrustAI takes two steps. First you add them to your [workspace](https://docs.provar.dev/glossary.md#workspace), with a
workspace role. Then you give them a [project role](https://docs.provar.dev/glossary.md#project-role) in each [project](https://docs.provar.dev/glossary.md#project) they
need. **Being a workspace [member](https://docs.provar.dev/glossary.md#member) doesn't open any project on its own.** You can pick projects
for them when you invite them. Otherwise, until someone gives a person a project role, or they join a project
themselves, they can't work in it.

## Before you start

**In TrustAI**

* The **Owner** or **Admin** workspace role. The app describes **Admin** as "Manage workspace members and settings."
* The email address of each person you want to invite.
* To give someone a project role: the **Admin** project role in that project, or to be its **Owner**.

## Workspace roles

Each member has one workspace role. These are the app's own descriptions, from the **Invite member** form:

| Role | What the app says |
| - | - |
| **Admin** | "Manage workspace members and settings." |
| **Member** | "Work in assigned projects." |
| **Guest** | "Work in directly assigned projects." |

**Owner** also appears in the member list. You can't give someone the **Owner** role when you invite them, and an
owner's role can't be changed or removed from the member list.

## Invite someone to the workspace

1. Click your workspace name at the top left, then **Settings**. In the left menu, under **Workspace**, click
   **Members**.

   **You should see:** **Workspace members**, with an **Invite member** button above a table with the columns
   **Person** and **Role**. Each person shows their name, email address and workspace role, with **Remove** beside
   them.

2. Click **Invite member**.

   **You should see:** **Invite to the workspace**, with an **Email address** field, a **Role** choice of
   **Admin**, **Member** and **Guest**, and **Add to projects** (**Optional**). **Member** is chosen to begin with.
   **Add to projects** says **No projects**, with "They can be added to projects later." under it.

3. Enter the person's **Email address** and choose a **Role**.

4. Optional: click **Add to projects** and tick the projects they should join.

   **You should see:** a list of the workspace's projects, "Most recently used first", with **Search projects** and
   **Select all** above it (**Clear** once they're all ticked). The box names the projects you ticked, with how many.
   The note under it changes to "They join this project as an Editor when they accept.", or "They join these
   projects as an Editor when they accept." for more than one. In our walkthrough it said **Editor** whichever
   **Role** we chose.

5. Click **Send invite**.

   **You should see:** the form closes, and a message says "Invitation sent to" with their email address. The person
   is now in the **Workspace members** table, marked **Pending**, with the role you chose. If you picked projects, the
   row also says how many they'll join, such as "Joins 1 project on accept".

   To leave without inviting anyone, click **Cancel**. If you've filled in the form, the app asks **Discard
   changes?** ("What you entered in Invite to the workspace is not saved."), with **Keep editing** and **Discard
   changes**. **Discard changes** closes the form.

We sent our test invitation to an address nobody reads, so this page can't show the email the person gets or what
they see when they accept it.

## Resend or revoke an invitation

Until the person accepts, their row on **Members** says **Pending**, with **Resend** and **Revoke** beside it.

* **Resend** sends the invitation again. A message says "Invitation sent again to" with their email address.
* **Revoke** takes the invitation back. The app asks you to confirm: "Confirm this change to" their email address,
  then "Other eligible grants may still provide project access." Click **Confirm**. A message says the invitation was
  cancelled, and the row is gone.

## Change or remove a workspace member

On **Members**, click a person's role to change it. A menu lists **Admin**, **Member** and **Guest**, each with its
description, and the one they have now is ticked. Press Escape to close it without a change. We didn't change anyone's
role, so we can't show what happens next. Your own role and an **Owner**'s role are plain text, not a menu.

**Remove** takes a person out of the workspace. You can't remove yourself or an **Owner**: their **Remove** can't be
clicked. We didn't remove anyone.

## Give a member a project role

Adding someone to the workspace doesn't open any project for them, unless you picked projects under **Add to
projects** when you invited them. Give them a role in each other project they work on. To give a role other than
**Editor**, use **Grant access** too.

1. Open the project's **Project settings**. Under **Project members**, click **Grant access**.

   **You should see:** **Grant access to** your project's name: "Choose a role, then choose who gets it." Below the
   **Role** choice (**Viewer**, **Editor** or **Admin**, with **Editor** chosen to begin with) are **Search people**
   and a list of everyone in your workspace except the project's owner. A person with no role in this project says
   **No role yet**, with **Grant**, whatever their workspace role is. A person who already has one shows it, such as
   "Now Viewer". If the **Role** you've chosen is a different one, their row has **Change**.

2. Choose a **Role**, then click **Grant** beside the person.

   **You should see:** the person's row says the role they now have, such as **Now Viewer**.

3. Click **Done**.

   **You should see:** the person under **Project members**, with their role.

[Create a project](https://docs.provar.dev/guides/beginner/create-a-project.md#members-and-grant-access) explains the three project roles and
shows how to change a role or take access away.

## Join a project yourself

You may be able to find projects and join them yourself. We checked this as a workspace **Owner** and **Admin**. We
couldn't check what a **Member** or **Guest** sees. If you don't see **Browse projects**, you can't join a project
yourself. Ask someone with the **Admin** role in that project, or the project's owner, to give you a role with
**Grant access**.

Click **+** next to **Your projects** in the left menu, then **Browse projects**.

**You should see:** **Browse projects**, with a **Search projects…** box and the projects in your workspace, not only
yours, each with its type. A project you're in says **Joined**, with **Open**. A project you're not in has **Join…**.
A project you've hidden from your own list says **Hidden**, with **Add back**. **Join…** opens **Join project**,
where you choose **Your project role** and click **Join project**, or click **Back** to return to the list.

As a workspace **Admin**, we were offered **Admin**, **Editor** and **Viewer**, with **Admin** chosen to begin with.
We didn't join a project.

## Teams

This release has no **Teams** page in **Workspace settings**. Give each person their project role one at a time,
with **Grant access**.

## If something goes wrong

| What you see | What to do |
| - | - |
| A new member can't open a project they need | Workspace membership opens no project. In that project's **Project settings**, click **Grant access** and give them a role. Next time, pick the project under **Add to projects** when you invite them. |
| After **Send invite**, a message says the address "already has a pending invitation" | That person was invited before and hasn't accepted yet, so their one **Pending** row stays as it was. To send the invitation again, click **Resend** on their row. |
| You don't see **Browse projects** | Ask someone with the **Admin** role in the project, or the project's owner, to give you a role with **Grant access**. |
| Someone's **Remove** button can't be clicked | You can't remove yourself or an **Owner**. |
| A person isn't in the **Grant access** list | They aren't in the workspace yet, or they're the project's owner. Invite them to the workspace first. |

## Next

* [Create a project](https://docs.provar.dev/guides/beginner/create-a-project.md)
* [Test an Agentforce agent](https://docs.provar.dev/guides/intermediate/test-an-agentforce-agent.md)


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