Google Drive

Connectors / Google Drive

Your Google Drive, part of the graph.

Bring Google Docs, Sheets, Slides and files into the graph and link them to the code they describe.

One tapYour own OAuth appA token you paste

Before you start

Install Oynix and open the connectors page. You do this once. Everything below then happens right in the page, with no commands to run.

Log in

Pick whichever you prefer. You only need one.

One tap

Click, approve, done.

  1. 1In the connectors page, open Google Drive and click "Connect with Google".
  2. 2A provider window opens. Sign in and approve the read-only scopes.
  3. 3It closes and you are connected. There is nothing to copy or paste.

Your own OAuth app

Register an app once.

  1. 1In the Google Cloud console create an OAuth client (Web application).
  2. 2Add the redirect URI from the panel and enable the Drive API.
  3. 3Copy the Client ID and Secret.
  4. 4In Oynix pick 'Use your own app', paste both, then Connect with Google.

A token you paste

Paste a credential.

  1. 1Create the credential: the Google Cloud console: create a service account and download its JSON key (or use a refresh / access token).
  2. 2Open Google Drive in the connectors page and choose the token path.
  3. 3Enter the service-account JSON (or a refresh / access token) and an optional Drive query, then click Connect. Oynix checks it right then and saves nothing if it fails.

After login

Once connected, this all happens in the page. No commands.

  1. 1The picker opens. Choose which My Drive, individual top-level folders, or shared drives to sync.
  2. 2Hit Sync to pull just those into the graph and link them to your code.
  3. 3Deselect one later and Oynix purges only that instance's data.

A service account has its own empty Drive. Share the files or folders with its client_email, or connect with Google to read your own Drive.

What it syncs

Docs and Slides

One document per file, turned into text.

Sheets

Read tab by tab into the graph.

Files

PDFs, Office files and images catalogued beside the code.