# People

https://nadicode.ai/en/docs/people

Keep the company's people and groups in the Portal, or take them from its Microsoft 365, so every Nadia knows who is one of the company and the Brain can give folders to them.

People is the list of your company's people and the groups they are in. An Agent treats everyone on it as one of the company: she knows their name and groups, follows the company's rules with them, and finds the Brain folders they may read. Anyone else who writes to an Agent is a client or supplier to her, and finds only what is open to anyone.

A group is a set of people who read the same folders, such as Administration or Warehouse. You give a [Brain](https://nadicode.ai/en/docs/brain) folder to a group, and everyone in it reads the folder, someone who joins later included.

The list is kept in one place, the Portal, at portal.nadicode.ai. Your company's owners and admins change it there, or connect the company's Microsoft 365 for the Portal to take the list from. Every Nadia of the company takes the list from the Portal and shows it under **People**, where nobody adds, changes or removes a person.

A Nadia set up for one person, as [Choose whom Nadia is for](https://nadicode.ai/en/docs/start-and-sign-in#choose-whom-nadia-is-for) says, has no People.

## Keep the list in the Portal

In the Portal, open **Company**, then **People** for the company's people or **Groups** for its groups. Only the company's owners and admins open them.

Everyone who signs in to your company's Portal is on the list already, you included. To add someone who doesn't, such as a colleague who only writes to the Agents in [Alveare](https://nadicode.ai/en/docs/alveare):

1. On **People**, choose **Add person**.
2. Under **Name**, type their name as the Agents should know it.
3. Under **Email**, type the email they write to the Agents from, if they have one. Two people can't share an email.
4. Choose **Add person**.

Adding someone to the list doesn't let them sign in to the Portal. To change a person you added, open the ⋯ menu on their row and choose **Edit person…**. **Remove person…**, in the same menu, takes them off the list and out of every group after you confirm.

To make a group:

1. On **Groups**, choose **New group**, type its name, and choose **Create group**. The group's own page opens.
2. Choose **Add people**, choose the people who belong to it, and confirm.

On a group's page, the ⋯ menu on a person's row takes them out of the group, and they stay on the list. The page also renames the group and, at its end, deletes it. Deleting a group takes nobody off the list.

## Microsoft 365

When your company uses Microsoft 365, the Portal can take its people and groups from there, so the list follows your company's own directory. Someone added in Microsoft 365 is on the list at the next read, and someone who leaves the company there leaves the list and no longer reads any folder. Each group of Microsoft 365 is a group here under its own name, and the people of a group inside another group are in both.

The Portal reads Microsoft 365 every hour, and only reads: it never changes your directory. People and groups from Microsoft 365 are changed in Microsoft 365, so their groups say **Kept by Microsoft 365**, and the row of a person from there has no **Edit person…** and no **Remove person…** but keeps **Invite to the Portal…**, **Change role…** and **Remove Portal access…**. The groups you made in the Portal stay beside them, and you can still add anyone to those. At the next read, someone you added in the Portal becomes the person of Microsoft 365 with the same email, and stays in the groups you made. Everyone else already on the list stays.

### Connect Microsoft 365

An administrator of your company's Microsoft 365 approves the connection once, for the whole company, because only an administrator can let an app read the company's people and groups.

1. On **People**, choose **Connect Microsoft 365**.
2. If you are that administrator, choose **Continue to Microsoft**, sign in with your administrator account, and accept. If you aren't, choose **Copy link for your Microsoft administrator** and send the link to your administrator, who opens it and accepts. The link works for 7 days. After that, choose **Connect Microsoft 365** again for a new one.
3. Once it is accepted, the Portal reads Microsoft 365 at once, and People shows the company's people and groups.

The Portal connects only the Microsoft 365 of your own company: one that holds your company's verified domain, the email domain nadicode verified for your company. If it is another company's, the page says so and nothing changes. If your company has no verified domain yet, the page says so too: ask nadicode to set it.

### Read now

To read Microsoft 365 at once, choose **Read now**. Beside it, the page says when it last read.

A read that would take every person of Microsoft 365 off the list, or at least three of them and more than a third, waits for you, and automatic hourly updates pause until you decide. People names, above the list, the people Microsoft 365 no longer has: **Remove them** takes them off the list, and **Keep them** keeps them until a later read.

If Microsoft 365 no longer lets the Portal read your company's people, for example because an administrator took the approval back, the page says so: choose **Connect again** and have it approved again. If Microsoft 365 can't be reached, the page says since when and shows the list as it was then. Either way, the list stays as it was.

### Alveare sign-in

Once Microsoft 365 is connected, People shows **Alveare sign-in**, which requires your colleagues to sign in to [Alveare](https://nadicode.ai/en/docs/alveare) with their Microsoft 365 account. It reads **Not required** until you turn it on.

1. On **Alveare sign-in**, choose **Turn on**.
2. Read what colleagues then meet, and confirm with **Turn on**. The card reads **Required**.

From then on, colleagues get into your company's Alveare by signing in with their Microsoft 365 account on a computer, and a phone joins from a computer that is already in. People already in aren't taken out at once: each has a week to sign in, from when the first colleague signs in. Anyone who hasn't signed in by then, or whose Microsoft 365 account is turned off, is taken out, and comes back by signing in. The company's Agents don't sign in, and keep answering in Alveare. It needs Alveare Server on a Linux computer and a Nadia let in to it: [Require the company's Microsoft 365 account](https://nadicode.ai/en/docs/alveare-server#require-the-companys-microsoft-365-account) says what Alveare Server then shows and does.

To stop requiring it, choose **Turn off** on the same card. Nobody is taken out, and Alveare Server makes invite links again.

### Disconnect Microsoft 365

Open the ⋯ menu beside **Read now**, choose **Disconnect Microsoft 365…**, then confirm. Every person and group stays on the list, and you change them in the Portal from then on. While Microsoft 365 is disconnected, Alveare doesn't require the Microsoft 365 sign-in. An administrator can also remove the nadicode Portal app in Microsoft Entra.

## People in Nadia

At the foot of the Agents list, choose **Company**, then **People**. The page shows the list as Nadia last took it from the Portal, and says when.

![The People page in Nadia with the company's people, each with their email and groups, and the groups down the side.](https://nadicode.ai/docs/en/people.webp)

Each row shows a person's name, with their email under it and the channels where the Agents know them, such as Alveare or Telegram, each with its mark. Once someone is in a group, a column shows each person's groups as coloured tags, each group always in its own colour. The column beside the list holds the groups, **Everyone** first, each with how many people it has. To find someone, type in **Find a person or a group**.

Choose a group to open its own page, with its people and the Brain folders the group reads.

![The page of the Sales group in Nadia's People, with its three people and a line saying which Brain folders the group reads.](https://nadicode.ai/docs/en/people-group.webp)

While the computer Nadia runs on is on, she takes the list from the Portal shortly after each change there. To take it at once, choose **Sync now**. To change the list, choose **Manage in the Portal**: it opens People in the Portal.

When someone leaves the list, they stop being one of the company's people. The channels you matched to them, Alveare included, move under **Former colleagues** on People, where whoever writes from them reads only the folders open to anyone and can be matched back with **Match to person** if they return.

## Someone the Agents don't recognise

A messaging channel, such as Telegram, WhatsApp or Slack, tells an Agent the sender's number or account, not who they are. So when someone new writes to an Agent there, Nadia lists them above the whole list of people, under **Unknown senders**, with the name the channel gave, when it gives one. Until you match them, the Agents treat them as a client or supplier.

A colleague the Agents don't know yet who writes to an Agent in Alveare is listed there too until you match them, but Alveare is your company's own workspace, so meanwhile the Agents treat them as one of the company, who reads what everyone at your company reads.

- If they are one of the company's people, choose **Match to person**, then the person, then **Match**. The Agents know them as that person on that channel from then on. Someone not on the list yet is added in the Portal first.
- If they are a client or supplier, open the ⋯ menu and choose **Client or supplier**. Their row then reads **Client or supplier**, with **Undo** until you leave the page.

Matching someone decides who they are, not whether an Agent answers them. On a channel, each Agent still answers only the people you allow in her own **People** section, as [Channels](https://nadicode.ai/en/docs/channels) says.

## What an Agent knows about the person she is talking to

In a direct message with one of the company's people, in Alveare or on a channel, an Agent is told their name and their groups, searches the Brain as that person, and uses the company's [Memory](https://nadicode.ai/en/docs/memory) under their name. In Nadia's window she is talking to you. In a conversation with several people she can't list who is in it, so she finds only what all of them may read: in Alveare, what everyone at your company may read, and on any other channel, only what is open to anyone.

With a client or supplier, she finds only the folders set to **Anyone, including clients and suppliers**, and the [rules every Agent follows](https://nadicode.ai/en/docs/editing-an-agent#give-a-rule-to-every-agent) are only for her chats with the company's people: with a client or supplier she doesn't follow them, and doesn't tell them what they are. [Who can read a folder](https://nadicode.ai/en/docs/brain#who-can-read-a-folder) says how a folder's readers are chosen.
