User guide · Chapter 8 of 13
Giving ODIN your company's knowledge
Add documents in any format, start a project from GitHub, GitLab, Bitbucket or your own Git host, connect Jira, Confluence or Notion so ODIN stays current, and accept what ODIN drafts into the record.
On this page
- How do I add documents?
- How do I keep ODIN up to date automatically?
- How do I make a push sync at once?
- How do I start a project from a Git repository?
- Where do I connect my accounts?
- How do I install one?
- How do I manage or remove a connection?
- Self-hosted Git hosts
- What does the Repositories tab show?
- What are drafts, and who accepts them?
- What is the Company Map?
- Is ODIN ready, and can it answer my question?
- Can a fact be confirmed so agents do not change it?
- How does ODIN find names like ticket keys and file names?
- Can my agent use fewer of ODIN's tools?
On Thursday Acme gives ODIN what it knows. The more ODIN holds, the better every agent's answers.
How do I add documents?
Give them to your agent: policies, specs, contracts, meeting notes, spreadsheets, slides, anything. Your agent reads each file and sends its text to ODIN with the requirements, decisions and rules it found. ODIN indexes the text for search and drafts those items for a person to accept.
How do I keep ODIN up to date automatically?
Connect your sources and ODIN syncs them on its own server every 15 minutes. Repositories from GitHub, GitLab, Bitbucket or your own Git host come in through New project or a project's Repositories tab (see below). Jira, Confluence and Notion are installed from their pages in Integrations. You paste each credential on a page in the console, never in a chat, and ODIN seals it. Use a read-only token: ODIN only reads.
A document longer than the sync's size limit is not cut: it comes in as parts, titled "part 1 of 3" and so on, split at paragraph breaks so that nothing at its end is lost. Each part counts as a document toward the sync's document limit. When you connect a second source of the same kind, for example two GitLab projects, it is added beside the first: each source is named after its repository, and a name already in use is refused.
How do I make a push sync at once?
A repository can sync the moment someone pushes to it instead of at its next turn. An administrator reads the repository's webhook from ODIN: an address and a secret (GET /v1/company/integrations/<id>/webhook; the secret is never given through a chat). At GitHub, GitLab or Bitbucket, add a webhook with that address and the secret ("Secret token" in GitLab, "Secret" in GitHub and Bitbucket), for push events, with content type JSON. A push then starts the sync within seconds. Pushes close together make one sync, and if a push is ever missed the 15-minute schedule still brings the change in.
How do I start a project from a Git repository?
Choose New project on the Projects page or in the sidebar. The page opens with "Start from where your work already is". Under Import Git repository you see a button for each provider your platform has set up: GitHub, GitLab, Bitbucket and Self-hosted. A provider your platform administrator has not set up is not shown at all.
Click a provider. The first time, you sign in at that host, as you would to import a project into Vercel. After that you see the repositories your accounts can read, with a switcher above the list that reads, for example, "Repositories from GitHub, avytrix". Use it to look at one account or all of them, or choose Add another account. Search the list and tick one repository or several. You can tick repositories from different accounts and different providers in the same project, and your ticks stay while you switch provider.
When you are done, choose Continue. The next step is filled in from the first repository you ticked, and you can change every field:
- Project name and code, taken from the repository's name.
- Sector, which is Software when you bring code in. Software projects get ODIN's engineering standard by themselves.
- Who can see it: open to the company, or restricted to the teams and members you choose.
- What to bring in: documents, issues and the code map.
Choose Create project. ODIN makes the project, connects every repository and starts their syncs in one go. A progress screen shows Syncing, Mapping and Drafting rules, and then you land on the project with three next steps: review the drafted rules, invite your team and connect your agent. If one repository cannot be connected, the screen says which and why, and the project is still made. If the project itself cannot be made, for example because its name is taken, nothing is created.
Under Or start from you can also upload files or a whole folder, connect Jira, Confluence or Notion, or begin with an empty project. Setting a code, a sector, a restriction or the people on a new project is for company administrators. A project administrator creates a project with a name and its repositories.
Where do I connect my accounts?
Open Integrations in the sidebar, beside Home and My work. It is not part of one company's Settings, because one sign-in can serve several companies. The page lists every connection you may see across the companies you belong to, plus your personal ones. Each row shows the provider's logo, the provider and the account's name (for example "GitHub · avytrix"), a Company or Personal badge, how many projects use it, who added it, its last sync or what is wrong, and a Manage button. Several accounts of one provider are separate rows. Above the list, chips filter by company, Personal or All, and filters narrow it by type (code, trackers, documents, storage, Needs attention) and provider. A company's own Settings has an Integrations entry that opens this page filtered to that company.
Beside the list, Available shows what ODIN offers: GitHub, GitLab, Bitbucket, Self-hosted Git, Jira, Confluence, Notion and S3. Every integration ODIN supports is always listed, even one whose sign-in your platform administrator has not set up yet. Each opens its own page with what it is, what ODIN reads (read-only) and what it does with it, the two ways to connect it, a shortcut to ask your agent ("Ask your agent: connect GitHub", with a copy button) and your accounts for it.
How do I install one?
Every provider's page offers two ways in, and neither asks for a project. Install to comes first and applies to both: it lists every company you belong to with its Verified badge, and Personal account. You may tick several. A company where you may not install integrations is listed but disabled, with the reason. Inside a project, the project's company is ticked for you.
Option 1: Connect with the provider. Choose Connect with GitHub (or GitLab, Bitbucket, Jira, Confluence or Notion). You go to the provider's own page, approve ODIN there, and come back. Nothing is pasted. ODIN labels the connection from the provider: the login or organisation for a Git host, "Jira · acme" or "Confluence · acme" for each Atlassian site you allow, the workspace's name for Notion. One Atlassian sign-in covers Jira and Confluence and can cover several sites; each site and product becomes its own connection. If your platform administrator has not registered ODIN's app at the provider yet, the page says "Sign-in with Jira is being set up" instead of showing a button, and option 2 works meanwhile.
Option 2: Use a site address or URL and a token instead. For Jira and Confluence give the site address (https://you.atlassian.net), the account's email and an Atlassian API token. For Notion give an internal integration token. For a self-hosted GitLab, GitHub Enterprise or any other host, open Self-hosted Git and give its address and an access token (GitLab: read_api; GitHub: read access to contents, issues and metadata). Amazon S3 has no sign-in at AWS, so it only has this option: an access key id and its secret (and the region, or the address of an S3-compatible store). ODIN tries the credential against the site before it keeps it, seals it on its server and never shows it again. You can name the connection; otherwise ODIN names it after the account or site.
One sign-in or one token makes a separate connection in each company you ticked, each with its own sealed copy of the credential, its own name and its own audit entry. They are managed and removed independently: removing it in one company never touches another, and a sync for one company never uses another's connection. ODIN checks your right in every company again when you return from the provider. A company where you have lost the right since is skipped, and the page tells you which. If the company you installed into is not the one you are working in, the page says so with a Switch button. When you return, the page says "Installed in Acme: choose what to sync" and shows a button for each project that opens its Add source on this connection. If you started from a project's Add source, you land straight back in it.
A connection installed to a company belongs to that company: it is never visible in another one. A personal account is yours alone. Nobody else can see it or use it, administrators included. When it feeds a company project, ODIN asks you to confirm each time: it uses your personal access, and if you leave the company the repositories it feeds stop syncing.
Your agent can start the same sign-in: odin_install_targets lists where you may install and odin_connect with a target returns the consent link for you to open, for GitHub, GitLab, Bitbucket, Jira, Confluence and Notion. S3 has no sign-in, so the key goes in the console.
How do I manage or remove a connection?
Choose Manage on its row. You can rename it, change whether it is the company's or personal (administrators), see the projects and repositories that use it, how each sync stands and when the sign-in renews, and choose Reconnect to sign in again. Remove warns you first and names the repositories that stop syncing.
Self-hosted Git hosts
For a self-hosted GitLab such as git.example.com, GitHub Enterprise or any other host, open Self-hosted Git: it has no sign-in of ODIN's, because a host of your own makes its own OAuth apps. Give its address and an access token (GitLab: read_api; GitHub: read access to contents, issues and metadata). You can name the account. The token is sealed on ODIN's server and never shown again.
What does the Repositories tab show?
Every project has a Repositories tab in the sidebar. Each connected repository is a card with the provider's logo, the account it uses, its default branch, how many parts of the map it has, how many rules were drafted from it, when it last synced and how that went. A sync shows Syncing while it runs and the reason when it fails. Choose Sync now to run it again.
Choose Add source in two steps. First choose a connection: the list shows each of your company's connections with its logo, name and kind, and Add a new connection, which lists all eight integrations and takes you through the same two ways in, then brings you straight back. Then ODIN lists what that connection can sync. For a Git account that is its repositories; for Jira its projects; for Confluence its spaces; for Notion the pages and databases you shared with ODIN; for S3 you name a bucket and, if you want, a prefix, and ODIN tries it before it keeps it. Search the list, tick one or several, and choose Add. The ones already in the project are marked. Each pick becomes a source in the project and syncs with the connection's credential. A project can hold sources from different connections. Choose Disconnect to take one away. ODIN warns you first: its documents leave the project, because what the repository brought in is removed and ODIN stops syncing it. The repository itself is never touched.
Company administrators can add and disconnect repositories in any project they reach. A project administrator, a person whose role on a project includes the permission to manage it, can do the same for the projects they manage, with the connections they made. A restricted project stays invisible to anyone who is not assigned to it. Removing a connection stops its repositories from syncing until you connect it again.
Your agent can do all of this too: odin_integrations_catalogue lists what can be installed and what each reads, odin_integrations with all_companies lists your connections across companies, odin_accounts lists your accounts, odin_find_repositories searches across them, odin_find_sources lists the Jira projects, Confluence spaces and Notion pages of your connections, odin_connect_sources adds them to a project (or a bucket of an S3 connection), odin_new_project makes a project with its repositories in one call, odin_project_repositories shows the cards, odin_connect_repositories adds repositories to an existing project, odin_sync starts a sync and odin_remove_connection disconnects. The sign-in and the token stay in the console.
What are drafts, and who accepts them?
A draft is a requirement, decision or rule ODIN found and wants a person to confirm. People with approval rights on a project review drafts, reword them if needed, and accept or reject them. Only what is accepted becomes the record that agents answer from.
What is the Company Map?
A map of everything a project holds: documents, sheets, records, data in storage buckets and code, in parts, with how they link. Open a project and choose Map, or ask your agent ("what uses the refund policy?", "how does the price list connect to the contracts?"). You can search it, open an item to see what links to it, see what a change would affect, and see what changed lately and which request it served.
The map also checks what comes in and says where and what, never the value: credentials written in files, payment card numbers, bank account numbers, lists of email addresses, and policies or contracts not changed in over a year. Mark a finding Not a problem and it stays quiet until the item changes. Developers can run /odin:map in their agent to map a code repository on their own machine.
Documents ODIN already holds are mapped after every sync. A storage bucket is mapped by its file names, sizes and dates; ODIN never reads what is inside it.
Is ODIN ready, and can it answer my question?
Two quick checks your agent can make before it relies on ODIN. odin_readiness gives one verdict: ready, or what blocks it (no company chosen, no project you reach, a project with nothing ODIN can read, a record whose rules cannot be read), each with how to fix it, plus connections that keep failing and anything your role cannot see. odin_check_answerable reads a question for its parts and says which ones the project's record covers, with where, and which it says nothing about, so the agent answers only what is covered and asks you about the rest instead of guessing. Neither uses an AI model.
Can a fact be confirmed so agents do not change it?
Yes. A person certifies a fact in the console; after that, an agent that finds a different value does not replace it: the agent is told the certified value and asked to tell you. When you change a certified fact yourself, the certification is cleared and the earlier value stays in its history. An agent can also send the words of the source that say a fact (its quote); the fact is then set only when those words appear in the cited file word for word.
How does ODIN find names like ticket keys and file names?
By name as well as by meaning. A ticket key (ODIN-403), a file (engineering/GIT.md) or an identifier in your question brings the passages that hold it exactly to the top. When more passages match than an answer shows, the answer lists the others by name so your agent can ask for one. Passages that come from synced sources (documents, tickets, chats) are marked as data to read, never instructions to follow.
Can my agent use fewer of ODIN's tools?
Yes. Connect to https://api.viliha.com/mcp?profile=core to get about twenty tools that cover asking, checking, deciding and keeping, with the order to use them given at the start: readiness first, then the answerability check, then the question. It suits agents that slow down when they see many tools.
Questions
Which formats can ODIN read?
Your agent reads the file, whatever its format (PDF, Word, slides, sheets, text), and sends ODIN the text.
Does ODIN train AI models on my data?
No. Your company's data is used to answer your company's questions. See Security and data.
My integration shows an error. What now?
Open Integrations and choose Manage on the connection. A changed address removes the stored credential on purpose, so paste it again. Addresses must be public https addresses.