
This blog is written by AI for SEO
Enterprise Knowledge Graph: Build One With Access Control
An enterprise knowledge graph is a knowledge graph that survives a real company: data from many systems, the same customer matched across them, a schema that changes as the business does, access that follows who may see what, and a deployment you control. A plain knowledge graph stores entities and the typed relationships between them. The enterprise version adds governance to ensure data security and compliance.
This post covers what makes a graph enterprise-grade, the five requirements you should test any tool against, and how to build one step by step with Helix Foundry, HelixDB's open-source product (Apache-2.0) for turning scattered company data into one ontology that people and agents can query.
What an enterprise knowledge graph is, and what makes it enterprise
An enterprise knowledge graph is a connected model of a company's entities (customers, orders, contracts, people, products) and the relationships between them, built from the systems the company already runs on. The Object Management Group's EKG task force describes it as the integration of information and knowledge of an enterprise and its ecosystem, in the same way the web links documents.
A standard knowledge graph can represent relationships between entities. What makes one enterprise is everything around that: an ontology that defines the types and links, entity resolution so one customer is one node, ingestion pipelines, and a governance layer.
Typical use cases: answering questions that cross billing, CRM and support data; giving AI agents grounded company context instead of top-k text chunks; fraud and risk investigation; and tracing any answer back to the record it came from. If you want the broader primer first, start with AI Knowledge Graph: What It Is and How to Build One.
The five requirements: sources, entity linking, changing schema, access control, deployment
Test any enterprise knowledge graph tool against five requirements. If one fails, the project stalls at that point.
1. Mixed sources. Company knowledge sits in SaaS tools, Postgres or MySQL, files in S3 and documents. A graph that only ingests one shape of data is a side project. Foundry connects PostgreSQL, MySQL, Amazon S3, and SaaS tools including Stripe, Attio, and Granola. There are no Salesforce or HubSpot connectors.
2. Cross-system entity linking. The same customer appears as a Stripe customer, a CRM account and a row in your product database under three spellings. If the graph does not link them correctly, every downstream answer is subtly wrong. This is the hardest requirement. See Link the Same Customer Across Stripe, Postgres and Notion.
3. A schema that changes with the data. Columns get added, tools get swapped, a new product line appears. A hand-maintained ontology rots. You need a way to update types, links and mappings as the workload drifts, and to catch links that have gone wrong. See Self-Healing Ontology: Keeping Links Right as Data Drifts.
4. Access control. Security will ask who sees what. A graph that flattens every source into one readable blob becomes the easiest way around your existing permissions.
5. A deployment you control. Many companies cannot send data to a vendor-run service, and some cannot send it to a hosted model either. You need to choose where the application, the data and the inference run.
Build one step by step with Helix Foundry
Foundry connects your databases, tools and documents, has an ontology agent draft one ontology over them, and loads it into HelixDB as one connected graph. You explore it and ask questions of it, and every value traces back to the row or document quote it came from. Foundry never writes to your sources.
Option A: run it on your computer. You need Docker with Compose v2, ports 3000 and 8333 free, and a few GB of space for images on first start.
git clone https://github.com/helixdb/helix-foundry.git
cd helix-foundry
docker compose up -d --waitThen open http://localhost:3000. The local install is single-user on localhost with no sign-in, so do not expose it to a network. For shared use with roles and teams, use Helix Cloud or a BYOC deployment.
Option B: Helix Cloud. Go to foundry.helix-db.com and use Set up with your agent.
Then the flow is the same:
Connect data. Add a source, test it and sync its tables or documents.
Generate an ontology. Foundry drafts types, links and mappings from your tables and up to five of the newest documents in each set it picks. Review the draft. For Postgres specifics see Map Postgres Tables to an Ontology for AI Agents.
Ask questions. Ask Analyst in plain language, build dashboards, or connect an agent through the Helix MCP.
Iterate. Add sources, regenerate, and confirm the changes the agent prepares.
The docs quickstart walks through a first answer on your own data, and there is a sample company if you want to see every step on made-up data first.
Access control: roles, grants and why source-grounding means no source access, no ontology access
Foundry access follows the source: because every fact and link in the ontology is grounded in a source, a user who cannot see a source cannot see anything in the ontology grounded by it. That is the property security teams actually want, since you do not maintain a second permission model on top of the graph.
The mechanics:
Roles. Owners and admins manage connections, ontologies, members and access, and see every source in the workspace. Members can read only what their grants allow.
Grants. Under Settings, Access, an owner or admin shares a whole connection, one table or one document set with a member, a team or an agent key. A connection grant covers its synced tables and document sets, including future syncs. Table and document-set grants are narrower.
Directory sync. RBAC and enterprise directory sync are on by default, so grants can go to teams and group membership stays aligned with the company directory. See Directory Sync for an AI Ontology: Access Follows the Source.
Agents. An agent key is a grantee like a person, so an agent reading the ontology through the MCP sees only what its grants allow.
This applies to Foundry. The HelixDB database underneath still has no per-user permissions or row-level access control, so keep your access decisions in Foundry.
Deployment and models: local, BYOC, self-hosted models, own inference, object storage with encryption at rest
Foundry can run locally, deploy BYOC (bring your own cloud, so the application and data stay in your cloud environment), or run on Helix Cloud. For models it works with self-hosted models, your own inference and bring-your-own-model, so ontology generation does not have to go to a third-party API. A walkthrough is in Build an Ontology With a Local LLM: Ollama and LM Studio.
By default, a generation sends your synced tables and up to five of the newest documents of each set it picks to Foundry's agent, which drafts the version. Decide which model that agent talks to before you connect sensitive sources.
Foundry is built on object storage, which is how it scales, and ontology data on object storage is encrypted at rest. For the storage side, see Ontology Encryption at Rest on Your Own Object Storage. The whole stack is Apache-2.0, including Foundry's three images.
Trade-offs: where Foundry is not the right fit and what grants do not cover
Foundry is a good fit when the job is one model of the business across many systems, queried by people and agents. It is the wrong tool in some cases.
Grants stop at the table. A grant is as granular as a connection, a table or a document set. It does not restrict individual rows within a table. If one table mixes data that different people may see, split it at the source or do not grant it.
Connector coverage. If your core system is Salesforce or HubSpot, there is no connector today. You would need to land that data in Postgres, S3 or an API source first.
Local is single-user. The localhost install has no sign-in. Shared deployments need Helix Cloud or BYOC.
Not a rules or analytics engine for one source. If all your questions live in one warehouse, a semantic layer is simpler. See Ontology vs Semantic Layer.
Drafts need review. The ontology agent proposes; a person confirms. Budget time for that, especially for entity links.
FAQ: types of knowledge graphs, enterprise knowledge intelligence, best graph databases, what is better than Neo4j
Short answers to the questions people search most are in the FAQ below. The common thread: the graph database matters less than whether the whole system handles linking, drift and access.
Start with one source and one question, and let access follow it
An enterprise knowledge graph is judged by what happens after the demo: the second source, the duplicate customer, the schema change and the security review. Pick the five requirements as your checklist and test them on real data. To try it, run git clone https://github.com/helixdb/helix-foundry.git, then docker compose up -d --wait, open localhost:3000, connect one Postgres database or Stripe account, and ask the one question that currently takes three tools to answer. Star the repo if it works for you.