Installation and setup
egnyte-langchain-connector
This package contains the LangChain integration with Egnyte. For more information about Egnyte, check out the Egnyte developer documentation.Prerequisites
In order to integrate with Egnyte, you need:- An Egnyte account — If you are not a current Egnyte customer or want to test outside of your production Egnyte instance, you can use a free developer account.
- An Egnyte app — This is configured in the developer console, and must have the appropriate scopes enabled.
- The app must be enabled by the administrator.
Authentication
Theegnyte-langchain-connector package uses Bearer token authentication with Egnyte user tokens.
Generating a user token
To generate an Egnyte user token for authentication:-
Register for a Developer Account
- Visit https://developers.egnyte.com/member/register
- Create your free developer account
-
Generate User Token
- Use your API key to generate a user token following the Public API Authentication guide
- Important: Use the scope
Egnyte.aiwhen generating the token to ensure proper access to AI-powered search features
Using the token
You can pass the token directly to the retriever:Retrievers
EgnyteRetriever
See usage exampleUtilities
EgnyteSearchOptions
Configure advanced search parameters:Help
If you have questions, you can check out the Egnyte developer documentation or reach out to us in our developer community.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.