Download the Postman collection to follow this tutorial:
music-dataset.postman_collection.json (Postman Collection format v2.1.0, ~18 MB - includes the inline music dataset).
Import it into Postman, Bruno, Insomnia, or Newman - any client that parses the Postman Collection v2.1.0 format. The "Variables" tab lists every value the requests use; the only ones you must set yourself are your_sa_token, your_agent_token, your_user_token, and organization_gid. Everything else is auto-captured by the bundled post-response script.
This tutorial walks through that collection. Every chapter maps to a folder of requests inside it - run the requests in order and the collection variables fill themselves in via the bundled capture script.
What you will have at the end
- An IndyKite Project, Application, Application Agent, and credentials provisioned via the Config API.
- A Token Introspect configuration that links your external IdP (Auth0) tokens to
Personnodes in the IKG. - An MCP Server configuration so AI agents can call IndyKite over MCP.
- A music IKG populated with the 6 node types and 13 relationship types listed below.
- 10 KBAC policies covering venue performance, entry, flash mobs, track-loudness checks, playlist sharing, family access, and DJ rights, plus 10 single AuthZEN evaluations and a boxcar batch.
- 24 ContX IQ policies with 44 Knowledge Queries (read / write / delete variants) and 44 paired CIQ executes that exercise every query against the music graph.
The music dataset at a glance
After Chapter 5 (data ingestion) your IKG holds:
| Node type | Count | Sample external_id |
| Artist | 94 | artist-1 (38 Special) |
| Album | 1 247 | album-1 |
| Track | 14 418 | track-1 |
| Playlist | 20 | playlist-1 |
| Person | 86 (12 with auth0|... external_ids) | person-1 / auth0|69c3ee8cb9ed562744ff9326 |
| Venue | 24 | venue-1 (Shower-Concert-Hall) |
Relationships: CREATED, PART_OF, RELEASED, LIKES, FOLLOWS, SUBSCRIBED_TO, MARRIED_TO, PARENT_OF, PARTNERS, CO_PARENTS, WILL_ATTEND, APPROVED_FOR, PLAYED_AT.
Who this tutorial is for
- Developers evaluating IndyKite who want a runnable, self-contained walkthrough that touches every product surface (Capture, KBAC/AuthZEN, ContX IQ, Token Introspect, MCP).
- Platform engineers preparing a demo environment for stakeholders.
- AI agents using the collection as a runbook - every chapter names the exact request items and the variables they read/write.
Prerequisites
- An IndyKite Hub account (EU or US). See the Environment guide.
- A ServiceAccount credential at the Organization level (provides the
{{your_sa_token}}Bearer used on Config API requests). - Postman, Bruno, Insomnia, or Newman - any client that parses the Postman Collection format v2.1.0. Import the JSON file linked at the top of this page.
- An end-user access token from your IdP (e.g. Auth0) for Chapter 10 - the Person-subject CIQ executes send it as
Authorization: Bearer {{your_user_token}}.
How to use the collection alongside this tutorial
- Download & import the collection (link at the top of this page) into Postman. The collection's "Variables" tab shows every variable you might need.
- Set
your_sa_tokenandorganization_gidmanually. Everything else is auto-captured by the collection's post-response script as you run create requests. - Run requests in document order. The capture script writes each created resource's
idinto the matching variable (project_gid,application_gid,app_agent_gid,policy_gid,query_gid, ...) so the next request can use it. - The chapters below explain each section. Skip ahead if you only care about one product, but the variable chain only works left-to-right.
What comes next
Chapter 1 introduces the music graph itself - what each node type means and which relationships connect them - so the policies and queries in later chapters land on a familiar shape.