Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Wrote an Egnyte Connector in a Week and Spent the Other Two Weeks Writing Emails

Описание и применение

Разработан и протестирован коннектор между Egnyte и Cognee, позволяющий синхронизировать файлы и обновления в режиме реального времени, после недели кода и двух недель общения с поддержкой.

Задача

Integrate Egnyte file storage with Cognee’s AI memory system while navigating Egnyte’s restrictive API access and authentication process.

Результат

The connector was successfully implemented and tested, enabling real‑time sync between Egnyte and Cognee. The process required a week of coding and two weeks of email communication to obtain a usable API key.

Рабочий процесс

  • 1. Read issue #4765 and accept the Advanced difficulty label.
  • 2. Implement connector as a Cognee DLT resource using egnyte_source(domain, folder_paths).
  • 3. Design file keying by Egnyte group_id to survive renames and moves.
  • 4. Implement incremental sync via Egnyte Events API and handle delete markers.
  • 5. Write 61 unit tests against a fake Egnyte that mimics real API responses.
  • 6. Request an Egnyte developer sandbox and submit a business email for approval.
  • 7. Receive API key, attempt login, and troubleshoot "No valid app info found for api key" error through support emails.
  • 8. Resolve authentication by clarifying app certification requirements and obtaining a working key.
  • 9. Perform live test: upload, rename, move, and delete files/folders in Egnyte and verify Cognee updates accordingly.
  • 10. Merge PR #577 into cognee-community.

Доказательства

I wrote 61 tests against a fake Egnyte that behaves like the real one. everything passed.

i sign up for an Egnyte trial. trial domains cant create API keys.

Egnyte replies, very kindly, that the admin needs a business email.

i found the "Create API Key" button. i get a client ID and a client secret.

Egnyte says: {"message": "No valid app info found for api key"}

i uploaded a .txt, a .md, a .pdf, a .docx, and a subfolder, synced them into cognee, and then abused them: ... 9 out of 9 passed on the first live run.

  • Дата записи: 2026-11-01T20:44:07.757Z