> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.13/learn-about-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/user-management/user-invitations.md).

# User Invitations

Before inviting users to your Cortex XSOAR environment, you need to add an email integration instance, such as EWS, Gmail, EWS, Mail Sender, and so on.

After adding an email integration instance, you can send emails to a user's email address. You must add their role and choose whether to invite them to a specific incident.

After you Invite a User, an invitation is valid for one week from the time it was sent. If it is not accepted, the invitation expires, unless the invite expiration is reset. Once users accept the invite, they have access and permission within Cortex XSOAR, according to the roles you assign them.

If you need to connect to an external host name, add the **External Host Name** in the **Server Configuration** section in the **Troubleshooting** page, otherwise the URL invite may not be valid.

In the **Invites** tab, you can see details of all the sent invitations including the invite URL and whether they have been accepted.

You can also take the following actions:

| Action               | Description                                                                                                                                         |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Delete the invite    | If the user has not accepted the invitation you can delete the invite and the user cannot use this invitation to join the Cortex XSOAR environment. |
| Resend the invite    | The user receives another invitation. The expiration date extends for another week.                                                                 |
| Reset the expiration | The expiration for the selected invitation is extended for one more week.                                                                           |


---

# 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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.13/learn-about-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/user-management/user-invitations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
