Docs menu

DocsConnect your data

Connect your code

Connect GitHub so Adea understands how your data is made, explains your rules in plain words, and can tell which change moved a number.

2 min readOpen as Markdown
On this page

Connect your code, and Adea reads it together with your data. It learns what a status or a column really means from the code that writes it, can explain how a rule works, and checks your recent changes when a number moves.

Connecting code is included from the Start plan. See Plans and analysis.

What you get

  • A deeper understanding. Adea reads the code that writes to your database, and learns what a status or a column really means. It goes into Understanding, with the lines each point rests on.
  • Your rules, explained. Ask “when does an order count as paid?” and get the answer in plain words, with the code behind it.
  • Code as a cause. When Adea finds out why a number moved, it checks recent changes alongside prices, campaigns and the calendar, and says how well each one fits.
  • Kept up to date. When your team pushes a change that affects how something is counted, Adea proposes an update to its understanding for you to check.

Connect GitHub

  1. Open Data and choose to add a source, then GitHub.
  2. Install the Adea GitHub App on your account or organization. GitHub asks you to approve it.
  3. Choose which repositories Adea may read. Choose only the ones that matter for the data you have connected.
  4. Back in Adea, the repositories appear next to your database, and Adea starts reading them.

If you can’t install apps on your GitHub, send the person who can the developer link. They install it without an Adea account.

What Adea does with your code

  • Adea only reads. It never writes to your repositories, never opens a pull request and never changes a branch.
  • It keeps no copy. Adea fetches a repository into memory when it needs it, and lets go of it a short while after.
  • Secrets stay out. Files that usually hold secrets, such as .env files, keys, certificates and configuration with passwords, are never read. Anything Adea passes on is cleaned of values that look like keys or passwords first.
  • What it remembers is small. Adea keeps short notes about what the code does and the few lines it quoted in an answer, not the files themselves.

Still stuck? Write to hello@adea.app. A person answers.