# Egnyte

The Veza integration for Egnyte enables the discovery of Users, Groups, and Roles from the Egnyte platform. Veza uses Egnyte APIs to populate the Access Graph with user, group, and role information. Use it to:

* Find users and groups roles within a Workspace.
* Find identities with specific permissions in Egnyte.

Note that resources such as individual channels are not discovered. While Veza collects role information, the associated permissions with the roles will not be found in the connector.

### Egnyte Setup

Before adding the integration to Veza, you need a token to make authenticated requests on the Egnyte platform:

1. Get the application API key for your application. Log in to developers.egnyte.com, and go to your profile. Search for **Keys**.
   * Ensure the API key user has admin-level permissions. Veza will only use the necessary scopes, which are `egnyte.user`, `egnyte.group` and `egnyte.permissions`.
2. Follow the official [API Key Guide](https://developers.egnyte.com/api-key-guide) to generate an API Token from your API Key and Client ID.
3. Copy the generated **API Token** returned from the API call.

### Veza Setup

To enable Veza to gather data from Egnyte:

1. Log in to your Veza platform.
2. Go to **Integrations**.
3. In the main pane, click **Add Integration** > **Egnyte**.
4. Enter the required fields:
   * **Insight Point**: Use the default data plane unless connecting with a deployed [Insight Point](/4yItIzMvkpAvMVFAamTf/integrations/connectivity/insight-point.md).
   * **Name**: A friendly name to identify the integration.
   * **API Token**: A token generated from the API Key, allowing Veza to make the required API calls.
   * **API URL**: The URL for your Egnyte instance (e.g. `www.{org-name}.egnyte.com/pubapi`).
5. Click **Save** to enable the integration.

### Supported Entities

Veza creates the following entities to represent Egnyte identities and access controls, along with some additional attributes:

#### Egnyte User

| Property              | Description                                                             |
| --------------------- | ----------------------------------------------------------------------- |
| Name                  | User name                                                               |
| ID                    | User unique ID                                                          |
| last\_active          | Timestamp for when the user last logged in                              |
| email                 | User email                                                              |
| egnyte\_user\_type    | Set to `service_account` for Egnyte Service Accounts, otherwise `human` |
| external\_id          | User's unique Egnyte external identifier                                |
| user\_principal\_name | User Active Directory login if set                                      |

#### Egnyte Role

| Property | Description |
| -------- | ----------- |
| Name     | Role name   |
| ID       | Role ID     |

#### Egnyte Group

| Property | Description |
| -------- | ----------- |
| Name     | Group name  |
| ID       | Group ID    |


---

# 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.veza.com/4yItIzMvkpAvMVFAamTf/integrations/integrations/egnyte.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.
