> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gorbit.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Egnyte

> Access files stored in Egnyte

## How it works

The Egnyte connector pulls in files stored in Egnyte. The Egnyte connector indexes the file name, file type,
and contents of the file.

New files are pulled every **10** minutes.

## Setup

### Configure your Egnyte Application + Gorbit env variables

<Info>
  This is only necessary if self-hosting Gorbit. If using [Gorbit Cloud](https://cloud.gorbit.app), you can skip this step.
</Info>

<Steps>
  <Step title="Create Egnyte Application">
    Create an Egnyte Application.
    Check out the [Egnyte API documentation](https://developers.egnyte.com/docs/read/introduction) for more information.
  </Step>

  <Step title="Set environment variables">
    Set the following environment variables on your Gorbit instance:

    ```bash theme={null}
    EGNYTE_DOMAIN=something like "app4gorbit"
    EGNYTE_CLIENT_ID=
    EGNYTE_CLIENT_SECRET=
    ```
  </Step>

  <Step title="Restart Gorbit">
    Restart your Gorbit instance as you normally would to apply the changes.
  </Step>
</Steps>

### Indexing

<Steps>
  <Step title="Open Egnyte connector">
    In the Gorbit UI, navigate to the Admin Panel and select the **Egnyte** Connector
  </Step>

  <Step title="Authorize via OAuth">
    Click the `Create New` button to go through the OAuth flow.
  </Step>

  <Step title="Return to Gorbit">
    Once you've authorized the application, you'll be redirected back to Gorbit.
  </Step>

  <Step title="Complete configuration">
    Finish the setup, optionally specifying a folder path to index.
  </Step>

  <Step title="Start indexing">
    Click `Connect` to begin indexing Egnyte files!
  </Step>
</Steps>
