# Importing Groups

The first thing we need to do before we can launch a campaign is to figure out who to target. There are a ton of ways to gather/generate email addresses for potential targets. You can either harvest email addresses from public information using OSINT if you are aiming to simulate a realistic scenario.

Now that we have our list of users, let’s import them into gophish.

To add a group, navigate to the “Users & Groups” page and click “New Group”:

![New Group Modal](https://i.imgur.com/kBZdT0G.png)

Since we are performing phishing simulation for Morning Catch, we can call our group “Morning Catch Employees”.

Now we have to add the members. There are two ways to do this:

* Add each member’s details one at a time using the form inputs
* Bulk import the group from a CSV file

To save time (and typing!) let’s go with the CSV option.

## Importing from CSV

The CSV format gophish expects has the following header values:

* First Name
* Last Name
* Email
* Position

So, the CSV for Morning Catch would look like the following:

```
First Name,Last Name,Position,Email
Richard,Bourne,CEO,rbourne@morningcatch.ph
Boyd,Jenius,Systems Administrator,bjenius@morningcatch.ph
Haiti,Moreo,Sales & Marketing,hmoreo@morningcatch.ph
```

After uploading this CSV using the “Bulk Import Users” button, we see that our members were added automatically:

![Importing users](http://imgur.com/58fvRZ3.png)

After clicking “Save changes”, we see a confirmation message that our group was created.

> Tip: If you don’t see the group show up right away, refresh the page and it should appear in the table.


---

# Agent Instructions: 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 current page URL with the `ask` query parameter:

```
GET https://docs.getgophish.com/user-guide/building-your-first-campaign/importing-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
