OYNIX

Integrations / Google Docs

Google Docs as part of your knowledge graph.

Sign in with Google and Oynix ingests your Docs, linking them to the code they describe — with durable OAuth that doesn't expire on you.

$ oynix connect gdocs

Prerequisites

  • A Google account with access to the Docs you want indexed.
  • The Oynix CLI installed and signed in (oynix login).

Setup steps

01

Install the Oynix CLI

Everything Oynix does runs from one small command-line tool on your own machine — there's nothing to deploy or host. Open your terminal (Terminal on Mac, PowerShell on Windows) and paste this in to install it:

$ curl -fsSL https://get.oynix.dev | sh
  • Don't have a terminal open? On Mac press ⌘+Space, type "Terminal", hit Enter.
  • Paste the line, press Enter, and wait for it to finish — that's it.
  • Check it installed: run oynix --version (it should print a version number).
02

Sign in

Tell Oynix who you are. This opens your browser to sign in with GitHub and links this computer to your workspace — it's how your edits, decisions and presence get attributed to you.

$ oynix login
  • Run the command; your browser opens automatically.
  • Approve the sign-in with GitHub, then return to the terminal.
  • If your team uses a workspace key, paste it when asked (a teammate with the master key issues it).
03

Connect Google Docs

Run the command and sign in with Google (OAuth). Oynix stores a durable refresh token so it keeps working.

$ oynix connect gdocs
04

Scope it (optional)

Add a Drive search filter to limit which docs get ingested.

05

Sync anytime

Oynix pulls your Docs and links them to the code they describe.

$ oynix connectors sync gdocs
06

Check it worked

List your connectors to confirm Google Docs shows up and is syncing. Once it's synced, ask the graph a question that should now have an answer from Google Docs.

$ oynix connectors
  • You should see Google Docs listed as "connected".
  • Try it: oynix ask "what did we decide about …?" — answers can now draw on Google Docs.

What gets indexed

Documents

Your Google Docs, parsed into the graph.

Links to code

Each doc linked — by meaning — to the relevant code.

Freshness

Durable OAuth keeps syncing without re-auth.