> For the complete documentation index, see [llms.txt](https://doc.keepnetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.keepnetlabs.com/next-generation-product/getting-started/2.-add-target-users/add-users-via-csv.md).

# Add Users via CSV

{% hint style="info" %}
**Note**: by using this method, you will be responsible for adding new employees and removing leavers to maintain accurate reporting.
{% endhint %}

#### **Step 1.**

Navigate to **Company > Target Users** on the left hand side menu. Click the **"+New"** blue button.

<figure><img src="https://3453589210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LMcQ_WCXOrHv3r05ae5%2Fuploads%2FlyeQYRCpNQetL2ar9FY7%2FTarget%20Users-%20Step%201.gif?alt=media&amp;token=2fba89fc-06e3-4554-a4d6-fd452f1953a3" alt="Target Users — add users step 1."><figcaption><p>Target Users — add users step 1.</p></figcaption></figure>

#### **Step 2.**

Select **Add users manually** to add target users one by one. Alternatively, select **Import from file** to upload a CSV or XLS(x) file.

{% hint style="info" %}
**Top Tip:** Download a CSV template by clicking **Import from file** and selecting 'Download Example Sheet'.

<img src="https://3453589210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LMcQ_WCXOrHv3r05ae5%2Fuploads%2FxXC6tRpMu9uLxJiQ2Sca%2FScreenshot%202024-04-10%20at%2011.01.47.png?alt=media&amp;token=381d292c-18f6-4819-878f-bce297abb399" alt="Target Users — add users via CSV interface." data-size="original">
{% endhint %}

#### **Step 3.**

**Select Group:** If you haven't added any users yet, you will need to create a new group. Some suggested User Groups our customers use:

* Test Group - for your cyber team to test phishing campaigns
* All Users - to easily send campaigns to all employees
* Department Specific e.g. Finance - to easily send targeted campaigns to specific departments

<figure><img src="https://3453589210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LMcQ_WCXOrHv3r05ae5%2Fuploads%2FPAySkCIBgjnjhK65xgcV%2FAdd%20New%20Group.gif?alt=media&amp;token=43318a22-a1f7-4493-860e-574127103138" alt="Add New Group."><figcaption><p>Add New Group.</p></figcaption></figure>

**Step 4.**

**Field Mapping:** Ensure the fields you are adding in are matched with the correct heading. For example, the user's first name matched with the heading, 'First Name'. Click Next once complete.

<figure><img src="https://3453589210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LMcQ_WCXOrHv3r05ae5%2Fuploads%2FWu90MwsmBaxzkqtHcgai%2FMapping.gif?alt=media&amp;token=1cfc191c-9d34-449c-adfc-8111db0e77ca" alt="CSV column mapping for target users."><figcaption><p>CSV column mapping for target users.</p></figcaption></figure>

**Step 5.**

**Import Users:** Either pick the users you wish to add and click **Import Selected**, or click **Import All** to add all the users.

<figure><img src="https://3453589210-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LMcQ_WCXOrHv3r05ae5%2Fuploads%2F5KFTOr7W2nHSUo9IuAlP%2FScreenshot%202024-11-18%20at%2015.18.56.png?alt=media&amp;token=906d461d-6f43-4cb3-98ea-8ab5c2841205" alt="Target users CSV upload result."><figcaption><p>Target users CSV upload result.</p></figcaption></figure>

✅ **You have now added your first Target Users. Now you need to** [**ensure users are able to receive emails from Keepnet**](https://github.com/ucarozan/keepnet-docs/blob/main/next-generation-product/getting-started/3.-email-deliverability) **successfully ➡️**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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 following URL with the `ask` and `goal` query parameters:

```
GET https://doc.keepnetlabs.com/next-generation-product/getting-started/2.-add-target-users/add-users-via-csv.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
