Back to all guides
Environment

Get started with the Sandbox

How to use the IndyKite platform: connect your data, create contextually relevant queries and apply authorization policies.

What is IndyKite?

IndyKite is a real-time data retrieval and enforcement layer purpose-built to bring deep context, granular control, and usability to your enterprise data.

Core capabilities:

  • Capture: Store nodes and relationships in the Identity Knowledge Graph (IKG).
  • ContX IQ (CIQ): Context-aware queries with built-in authorization.
  • KBAC: Knowledge-Based Access Control for fine-grained authorization policies.
  • External Data Resolver: Fetch data from external APIs in real-time during query execution.
  • Trust Score: Assess data quality based on freshness, origin, and verification.
  • Outbound Events: Push real-time notifications to external systems when data changes.

This Quick Start Guide offers two paths:

  • Sandbox environment: create a Sandbox account, get a complete environment in one click, then explore it with the music dataset tutorial.
  • Manual environment setting: set up your environment yourself (credentials, project, application), capture data into your Identity Knowledge Graph, then use the IndyKite products: CIQ, KBAC, and Outbound Events.
Two ways to start. Sandbox environment: register in the IndyKite Hub, create a complete environment in one click, then follow the music dataset tutorial. Manual environment setting: starting from an organization and a service account credential created in the Hub, create the environment with the quick start script, the Hub or Terraform, capture your own data, then use the IndyKite products.

Sandbox environment

The quickest start: register for the Sandbox, and one click creates a complete environment, with its credentials, project, application, configurations, policies and Knowledge Queries. Then load the music dataset and run its policies and queries with the tutorial. Two steps, and nothing to set up by hand.

Step 1: Access the Platform

Register for the IndyKite Sandbox

The Sandbox is a free environment where you can explore IndyKite features. Sign up in the IndyKite Hub of your region:

1. Enter your work email. The same page leads to the IndyKite Hub and to the Sandbox. A new user continues to the Sandbox sign-up in the next step.

Welcome to IndyKite: a Work email field and a Continue button, to access the IndyKite Hub or a Sandbox environment

2. Choose to create an account. Select I don't have an account yet. A returning user selects Go to Sandbox, or enters the Sandbox ID of another sandbox whose owner has enabled access.

Sign in to IndyKite Sandbox: a Go to Sandbox button, a Sandbox ID field to sign in to another sandbox, and the link I don't have an account yet

3. Create your Sandbox account with your full name, company name and country, then select Create. The registration form can also be opened directly: IndyKite Sandbox Registration.

Create an IndyKite Sandbox account: Full name, Company name and Country fields, and a Create button

4. Name your organization. The organization is the top-level space of your account in the Hub. Choose where its graph database is hosted: select IndyKite-hosted to get the automated environment of the next step. Customer-hosted runs on a database you provide (see the Graph Database guide) and is set up as described under Manual environment setting. The hosting cannot be changed after the organization is created.

Step 1 of 2, What is the name of your organization: Name and Description fields, and the choice between an IndyKite-hosted and a Customer-hosted database

5. Create your environment in one click. Select Create, and the Sandbox sets up a complete environment, ready to use:

  • a service account with its credentials, for the Config API;
  • a project, with its own Identity Knowledge Graph;
  • an application and its application agent with its credentials, for the runtime APIs;
  • a Token Introspect configuration;
  • an MCP server configuration;
  • KBAC policies;
  • ContX IQ policies and their Knowledge Queries.

The two credentials, the service account credential and the application agent credential, are offered for download within 30 seconds: save both, they are what you authenticate with in the next steps (see the Credentials guide). The environment becomes fully operational in the Hub within 5 minutes. Skip creates the organization alone; the environment can then be added later, or set up as described under Manual environment setting.

Credential What it is for How you send it
Service accountConfiguring the environment: projects, applications, configurations, policies and Knowledge Queries, through the Config API or Terraform.The token of its credentials file, as Authorization: Bearer <token>
Application agentUsing the environment from your application: capturing data, running Knowledge Queries, asking for authorization decisions.Its credential token, as X-IK-ClientKey: <token>

The Credentials guide covers the rest: credentials without a ready-made token, rotation, and the user access token some calls need beside the application agent's.

Step 2 of 2, Create an environment: Create generates two credentials for download, and the environment becomes operational in the Hub within 5 minutes; Skip and Create buttons

6. You arrive in the Hub, with the whole environment in your organization. Projects shows the new project with its ID, name and region; the application, the application agent, the configurations and the policies live inside it.

The IndyKite Hub, Projects view of the organization: one project with its gid, its name and the region europe-west1

Service accounts shows the service account with its credential; New credential issues another one.

The IndyKite Hub, Service accounts view: the service account with its gid and its credential, and a New credential link

Step 2: Explore the music dataset

With the environment in place, follow the music dataset tutorial. It comes with a Postman collection to download, and its chapters take you through the whole platform on one graph of people, artists, albums, tracks and playlists: the music graph and its scenarios, the environment and its credentials, Token Introspect, the MCP server, ingesting more than 16,000 nodes and 31,000 relationships, KBAC policies and AuthZEN decisions, then ContX IQ policies, Knowledge Queries and their execution.

To run the ContX IQ queries and the AuthZEN requests without a REST client, use the Music app that comes with the tutorial, from the developer-hub repository. Its Backfill connects it to the environment the Sandbox created; you then run the requests one form page at a time, and the ContX IQ queries also all at once, in order, through its front-end scenario, /chat/. See "The Music app" in the music dataset tutorial.

Manual environment setting

To build the environment yourself instead, or to understand what the one-click environment creates, set it up step by step: create the project, application and credentials, capture your own data, then use the IndyKite products on it.

Before anything else, in the Hub UI: an organization and a first service account credential. The REST endpoints, the developer-hub demo apps and the Terraform provider all authenticate with a service account credential, and a service account belongs to an organization. So the first of each has to come from the Hub: the organization from registering (Step 1 of the Sandbox environment, items 1 to 4), and the first service account credential either comes with the one-click environment (item 5) or is created in the Hub as shown in Option B, B.1. Keep the organization ID and the credential file at hand; every option below starts from them.

Step 1: Create Your Environment

IndyKite uses a hierarchical structure for organizing resources, and each of the two credentials opens its own set of APIs:

How an IndyKite environment fits together. The organization holds service accounts and projects. A service account's credential is sent as a Bearer token to the Config API, which creates projects, applications, configurations and policies. A project has its own Identity Knowledge Graph and holds applications; an application holds an application agent, whose credential is sent in the X-IK-ClientKey header to the runtime APIs: Capture, ContX IQ and AuthZEN.
  • Organization: Your top-level account container.
  • Service Account: Credentials for managing configurations via the Config API.
  • Project: An isolated working environment with its own Identity Knowledge Graph (IKG).
  • Application: Represents your software system within a project.
  • Application Agent: Identity that authenticates API calls from your application.

The fastest way to set up your environment is using the Developer Hub quick start script:

https://github.com/indykite/developer-hub/tree/master/get-started

This script will:

  • Create a project and application with credentials.
  • Capture sample data into your IKG.
  • Create KBAC and CIQ policies.
  • Run tests to verify the setup.

Prerequisites: Organization ID and Service Account credentials from the Hub.

The quick start app: one link per request, in order, from creating the project, application, application agent and Token Introspect configuration to capturing data, evaluating authorization and executing ContX IQ

Option B: Manual Setup via Hub

B.1 Create Service Account Credentials

Service Account credentials are required for the Config API (creating configurations, projects, applications).

Go to Service accounts in the Hub of your region: https://eu.hub.indykite.com/service-accounts or https://us.hub.indykite.com/service-accounts

Create a new Service Account with a name, an optional description, a role and an expiry date:

The New service account form of the IndyKite Hub: Name, Description (optional), Role and Expiry date fields, and a Create button

Download the generated credentials JSON file:

The new service account credential, ready to download as a JSON file

B.2 Create a Project

A Project is an isolated environment with its own Identity Knowledge Graph (IKG), a Neo4j graph database. With an IndyKite-hosted organization, IndyKite provides that database and there is nothing more to prepare. With a Customer-hosted organization, the project connects to a Neo4j instance you run (see the Graph Database guide); if you need one, you can get one free at:

The Neo4j Aura console, where a free Neo4j instance can be created

Create a new project in the Hub, with a name and an optional description:

The New project form of the IndyKite Hub, step 1 of 2: Name and Description (optional) fields, and Cancel and Next buttons

With a Customer-hosted organization, enter your Neo4j connection details:

The Neo4j connection details of a new project in the IndyKite Hub

B.3 Create Application and Application Agent

An Application represents your software system. The Application Agent provides credentials for API authentication. You can create both in three ways:

Option C: Setup via Terraform

Use Terraform for infrastructure-as-code setup. Prerequisites: the organization ID and a service account credential from the Hub, which the provider authenticates with (see the Terraform guide).

  • Project, Application, Application Agent: terraform-2
  • Token Introspect (for external identity providers): terraform-1

Step 2: Capture Data

The IndyKite platform operates on data stored in your Identity Knowledge Graph (IKG). Before using CIQ or KBAC, you must capture data into your graph.

What is Capture?

Capture is the process of storing nodes and relationships in your IKG. Data must be transformed into the schema accepted by the Capture API endpoints. Capture calls authenticate with the application agent credential, in the X-IK-ClientKey header.

API Documentation: Capture API Reference

Examples and Resources:

Visualize Your Data:

After capturing data, view it in the Data Explorer of the Hub of your region: https://eu.hub.indykite.com/explore/data-explorer or https://us.hub.indykite.com/explore/data-explorer

Step 3: Use IndyKite Products

With data in your graph, pick the product that matches what you want to do. Each guide starts with a complete worked example, and the resources and Terraform examples give ready-to-run requests and configurations.

Product What it does Start here
ContX IQ (CIQ)Reads, writes and deletes data in your graph, only through queries that a ContX IQ policy has authorized, so each caller sees and changes only what belongs to them.ContX IQ guide
KBAC / AuthZENAnswers "may this subject do this action on this resource?" with yes or no, from KBAC policies that follow the relationships in your graph. The API follows the OpenID AuthZEN standard.AuthZEN guide, Dynamic Authorization guide
External Data ResolverFetches a value from an external API at the moment a ContX IQ query reads it, so sensitive data such as a VIN can stay in its own system.External Data Resolver guide
Trust ScoreScores how trustworthy your data is, on freshness, origin, validity, completeness and verification, and lets KBAC policies and ContX IQ queries use the score.Trust Score guide
Outbound EventsSends a notification to your own systems when data in your graph changes, through Kafka (Confluent), Azure Event Grid, Azure Service Bus or Google Pub/Sub.Outbound Events guide

Videos

Additional Resources