# Adding Users

Users can be added using PlexTrac or by uploading [a CSV file template](#adding-users-via-template).&#x20;

{% hint style="info" %}
If custom roles are required, create these before adding users. Otherwise, new users will need an assignment to an existing role, and adding the custom role later will be an additional step.
{% endhint %}

## Adding Users&#x20;

<mark style="background-color:yellow;">Step 1:</mark> From the Users page of the **Admin Dashboard,** under "Security & User Management," click **Add Users**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FtukZNXKWn2f9VlUszhZU%2Fimage.png?alt=media&#x26;token=3483323a-69ae-45b7-b993-c9f7e6cc52ff" alt="" width="261"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2:</mark> Enter the user's email, first name, last name, role, authentication provider, and classification tier (if applicable). If the user requires the ability to bypass your global MFA setting, select **PlexTrac Service Account** from the *Authentication Provider* dropdown.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F4bvdxOUA1qwAzCwDa9L1%2Fimage.png?alt=media&#x26;token=a0150020-a395-44d2-b73d-3796bea03bff" alt=""><figcaption></figcaption></figure></div>

\ <mark style="background-color:yellow;">Step 3:</mark> Click the check box to identify if the user should belong to the Default Group.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FXsL64evYhpCyoV4VMet4%2Fimage.png?alt=media&#x26;token=dfe84e8c-59a8-49e1-a622-2a10a9f27916" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
The Default Group is a collection of users who, by default, have access to all clients in PlexTrac. When a user is added to the Default Group, they are granted access to all existing clients, and when a new one is created, they are automatically assigned access. <br>

Removing a user from the Default Group does not remove previously granted client access but only removes the automatic assignment to new clients.
{% endhint %}

<mark style="background-color:yellow;">Step 4:</mark> Click **New user** to repeat the process and add more users.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FTqB0sfVW8ezIIll215Bd%2Fimage.png?alt=media&#x26;token=4ac16dcc-d992-438d-b38f-dec5ab925129" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 5:</mark> When finished, validate whether an email link should be sent to all newly created users to set their password (the default option is to send the email).

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FWIua0VlSZJ4vijnCnmV8%2Fimage.png?alt=media&#x26;token=f1977d6d-7db4-4277-8b7e-7a2d5231fb47" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 6:</mark> Click **Save**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FoN3veXyTTZhM6SBKadtV%2Fimage.png?alt=media&#x26;token=c3da1583-bb38-401d-a5fc-428321a9cc87" alt=""><figcaption></figcaption></figure></div>

A message will appear confirming the addition, and the new user will appear on the Users page.

## Adding Users via CSV

Users can be created in bulk using a CSV template, which can be found on the Add New Users page after clicking **Add Users**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FpRIZb22lmAweSBsHNtPA%2Fimage.png?alt=media&#x26;token=23d2d807-491c-4ff0-929f-8e8755ba0a52" alt=""><figcaption></figcaption></figure></div>

The CSV file has five fields to collect user information to be imported:

| CSV header              | required field?                                                                        | Notes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ----------------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| first name              | yes                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| last name               | yes                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| email                   | yes                                                                                    | A vid email format is required.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| role                    | no (will default to a value of "Standard User" if left blank or a custom role is used) | <p>Accepted values are the default PlexTrac roles: <code>admin</code>, <code>standard user</code>, and <code>analyst</code>. The values are not case-sensitive. <br><br>NOTE: The backend value of <code>STD\_USER</code> for the role of "standard user" is also valid.<br><br>Custom role names can be used and will not break import, but at this time, any values in the CSV beyond the standard values listed above will map to "Standard User" by default when the import is first loaded and require manual intervention to update before completing the import task (see instructions below).</p> |
| classification tier     | no                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| authentication provider | yes                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| default group           | no                                                                                     | Accepted values are `TRUE` (user belongs to default value) and `FALSE` (user does not belong to default group).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

### Importing the CSV Template

<mark style="background-color:yellow;">Step 1:</mark> Download the file, delete the sample values, and enter the user information to import.

{% hint style="info" %}
If any custom roles exist in the CSV file that are not currently in PlexTrac, add them now before continuing to reduce rework.
{% endhint %}

<mark style="background-color:yellow;">Step 2:</mark> From the Users page of the **Admin Dashboard**, under "Security & User Management," click **Add Users**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fqe3NBp3jIBJ1GjQPwpDI%2Fimage.png?alt=media&#x26;token=b84a7df0-3f98-49a1-82a3-a136202c9f9e" alt="" width="391"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Click **Import from CSV**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FW3NLyzrrxFuqdEscavMf%2Fimage.png?alt=media&#x26;token=cd91a5e4-c27c-4922-b692-75310f11ecbd" alt="" width="458"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4:</mark> A window opens to select the CSV file from the computer. Select the file to import.

<mark style="background-color:yellow;">Step 5:</mark> The information in the CSV file is imported for review.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fg1CUq251jJgTK03sc4Cy%2Fimage.png?alt=media&#x26;token=3f6fe081-e02e-4e42-ac51-ce03d12c29b8" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 6 (optional):</mark> No changes are needed if standard roles were used. If a custom role was assigned to an imported user, manually select it by clicking the "Role" pulldown menu for the impacted user and selecting the desired custom role value.

{% hint style="warning" %}
If two roles are created with the same name, they cannot be differentiated in the pulldown menu, which is why it is best practice to use unique role names.\
![](https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FnxhX9XeTMv8gNbG0X8jQ%2Fimage.png?alt=media\&token=5b9f90da-3448-4092-bad9-0c24658c1edc)
{% endhint %}

<mark style="background-color:yellow;">Step 7:</mark> Click **Save**.

A message will appear confirming users were added.
