OYNIX

Integrations / Notion

Your Notion docs, linked to the code they describe.

Oynix ingests the Notion pages you share with it and links them — by meaning — to the code they document.

$ oynix connect notion

Prerequisites

  • A Notion internal integration secret, with the pages shared to it.
  • 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

Create an integration

notion.so/my-integrations → New integration → copy the internal secret. Then 'Share' the pages/databases you want indexed with that integration.

04

Connect Notion

Run the command, choose Direct, and paste the integration secret.

$ oynix connect notion
05

Sync anytime

Oynix pulls the shared pages and links them to the code they describe.

$ oynix connectors sync notion
06

Check it worked

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

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

What gets indexed

Pages

Shared pages and databases, parsed as documents.

Links to code

Each doc is linked — by meaning — to the code it's about.

Freshness

Re-syncs so the graph reflects the current docs.