Developer Resources

Explore our collection of code samples, tutorials, and guides to help you connect your applications with the IndyKite platform.

33 resources found

Create an environment.
Environment

Create an environment.

Create an environment to enable users to connect and utilize the IndyKite products

EnvironmentToken Instrospect
Json
Ingest some data into the IKG (IndyKite knowledge graph) created with a project.
Capture

Ingest some data into the IKG (IndyKite knowledge graph) created with a project.

Once an environment is created, start ingesting some data.

CaptureIngest
Json
ContX IQ basic example
ContX IQ

ContX IQ basic example

As a Person node, list all of the license numbers for Vehicle nodes the Person node is contractually allowed to use.

CIQ PolicyCIQ Query+2 more
Python
ContX IQ: list authorized resources.
ContX IQ

ContX IQ: list authorized resources.

As an Application, list all of payment methods from Person nodes with existing Contract nodes on Vehicle nodes with a license number.

CIQ PolicyCIQ Query+2 more
Python
ContX IQ: allow READ action
ContX IQ

ContX IQ: allow READ action

Allow any Person node to perform a READ action on all nodes of a category.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: allow creation nodes and relationships.
ContX IQ

ContX IQ: allow creation nodes and relationships.

An Application node is allowed to create a Contract node and link it to existing Person and Vehicle nodes where the Vehicle node is owned by a company with which the Application has an Agreement.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: upsert relationships
ContX IQ

ContX IQ: upsert relationships

Policy for creating/upserting relationships between existing nodes.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: delete nodes and relationships.
ContX IQ

ContX IQ: delete nodes and relationships.

Delete all Contract nodes for a Person node.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: loyalty program.
ContX IQ

ContX IQ: loyalty program.

A subject Application can authenticate with its API Key, provides a license plate number as input and gets the external_id of a credit card as the response.

CIQ PolicyCIQ Query+2 more
Json
KBAC: basic KBAC Policy.
KBAC

KBAC: basic KBAC Policy.

Create a simple KBAC Policy and execute authZEN queries.

KBACAuthorization+6 more
Python
KBAC: authorization with multi-evaluations in the same request.
KBAC

KBAC: authorization with multi-evaluations in the same request.

Create KBAC Policies, execute KBAC authZEN Evaluations and return answers.

KBAC policyAuthorization+3 more
Python
KBAC: authZEN + advice.
KBAC

KBAC: authZEN + advice.

Create a policy with a step up if the user does not have enough authorization and execute KBAC query.

AuthorizationSecurity+3 more
Python
Token Introspect: user access introspection.
Token Introspect

Token Introspect: user access introspection.

Create or update an Auth0 token for an existing Person node, trigger a Token Introspect and link the token to the Person node.

Token IntrospectAuthorization+1 more
Json
ContX IQ: link the _Application node to other data in the IKG.
ContX IQ

ContX IQ: link the _Application node to other data in the IKG.

When a new application with new credentials is created, nodes are created in the IKG. This use case explains how to link the Application node to the ingested data.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With _Application node as a subject, read resources and upsert relationships and nodes.
ContX IQ

ContX IQ: With _Application node as a subject, read resources and upsert relationships and nodes.

When a new application with new credentials is created, nodes are created in the IKG. This use case explains how to link the Application node with some of the ingested data, read the modified data and upsert new nodes.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With User node as a subject, read resources and upsert relationships and nodes.
ContX IQ

ContX IQ: With User node as a subject, read resources and upsert relationships and nodes.

This use case explains how to create a user node from an access token, link it with ingested data, read the modified data and upsert new nodes according to policies scopes.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With Person node as a subject, gives a company a consent on a payment method and then revokes it.
ContX IQ

ContX IQ: With Person node as a subject, gives a company a consent on a payment method and then revokes it.

This use case explains how a Person node, authorized with an access token, can grant and revoke consent on their method of payment to a company.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With Person node as a subject, configure an advice step up in case of insufficient authentication (auth_time claim).
ContX IQ

ContX IQ: With Person node as a subject, configure an advice step up in case of insufficient authentication (auth_time claim).

This use case explains how a Person node, authorized with an access token, will be asked to reauthenticate if their access token has an auth_time claim dated more than an hour ago.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With Person node as a subject, configure an advice step up in case of insufficient authentication (iat claim).
ContX IQ

ContX IQ: With Person node as a subject, configure an advice step up in case of insufficient authentication (iat claim).

This use case explains how a Person node, authorized with an access token, will be asked to reauthenticate if their access token has been issued more than an hour ago.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With Person node as a subject, read a vehicle vin which is stored in external data.
ContX IQ

ContX IQ: With Person node as a subject, read a vehicle vin which is stored in external data.

This use case explains how a Person node, authorized with an access token, can retrieve information which is stored in an external application.

CIQ PolicyCIQ Query+2 more
Json
Kafka Outbound Events / Signal - Config
Outbound Events

Kafka Outbound Events / Signal - Config

Create an Outbound Events configuration with a Kafka provider.

EventsSignal+1 more
Json
Kafka Outbound Events / Signal - Capture
Outbound Events

Kafka Outbound Events / Signal - Capture

Create an Outbound Events configuration with a Kafka provider.

EventsSignal+1 more
Json
Azure Event Grid Outbound Events / Signal - Capture
Outbound Events

Azure Event Grid Outbound Events / Signal - Capture

Create an Outbound Events configuration with an Azure Event Grid provider.

EventsSignal+2 more
Json
Azure Service Bus Outbound Events / Signal - Capture
Outbound Events

Azure Service Bus Outbound Events / Signal - Capture

Create an Outbound Events configuration with a Azure Service Bus provider.

EventsSignal+2 more
Json
ContX IQ: With User node as a subject, upsert a metadata attribute.
ContX IQ

ContX IQ: With User node as a subject, upsert a metadata attribute.

This use case explains how to upsert a metadata attribute.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With User node as a subject, delete properties of nodes and relationships.
ContX IQ

ContX IQ: With User node as a subject, delete properties of nodes and relationships.

This use case explains how to delete property nodes.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With _Application as a service, create a Person node and link it to 2 existing nodes.
ContX IQ

ContX IQ: With _Application as a service, create a Person node and link it to 2 existing nodes.

When a new application with new credentials is created, nodes are created in the IKG. This use case explains how to use the Application node to ingested data: create nodes and relationships.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With User node as a subject, retrieve all properties of a resource.
ContX IQ

ContX IQ: With User node as a subject, retrieve all properties of a resource.

This use case explains how to retrieve all properties for a resource node without having to list each property individually.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With _Application as a service, get all direct nodes related to a User node.
ContX IQ

ContX IQ: With _Application as a service, get all direct nodes related to a User node.

When a new application with new credentials is created, nodes are created in the IKG. This use case explains how to use the Application node to retrieve data: all nodes with a direct relationship with a User node.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With User node as a subject, retrieve data using IN "array" and links between nodes.
ContX IQ

ContX IQ: With User node as a subject, retrieve data using IN "array" and links between nodes.

This use case explains how to retrieve properties for a resource node using IN "array" in the policy filter.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With User node as a subject, retrieve data using WHERE, WITH and COUNT.
ContX IQ

ContX IQ: With User node as a subject, retrieve data using WHERE, WITH and COUNT.

This use case explains how to use WHERE, WITH and COUNT in the policy cypher.

CIQ PolicyCIQ Query+2 more
Json
ContX IQ: With _Application node as a subject, check whether a given subdomain is available, using optional pattern matching and a conditional CASE expression.
ContX IQ

ContX IQ: With _Application node as a subject, check whether a given subdomain is available, using optional pattern matching and a conditional CASE expression.

This use case explains how to use OPTIONAL MATCH in the policy cypher.

CIQ PolicyCIQ Query+2 more
Json
MCP: example to use the mcp server with HTTP requests
MCP

MCP: example to use the mcp server with HTTP requests

This use case explains how to use the MCP server: initialize, list resources, read a resource, list tools, use tools.

MCPCIQ Policy+4 more
Json