Back to all resources
Environment Environment Json

Create an environment.

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

Create an environment.

Create a project, an application, an application agent, application agent credentials and a token introspect configuration before using any product on the IndyKite platform.

Use case

Applications have agreements with companies which own vehicles which have license numbers and are covered by contracts accepted by people who have payment methods.

Requirements

- Service Account credentials created on the HUB or with the REST endpoints.

Steps

1. Using the Service Account credentials token (Bearer token in Authorization), create a project adapting the script provided with your own data (example with BYODB).

2. Using the Service Account credentials token (Bearer token in Authorization), create an application adapting the script provided with your own data.

3. Using the Service Account credentials token (Bearer token in Authorization), create an application agent adapting the script provided with your own data.

4. Using the Service Account credentials token (Bearer token in Authorization), create application agent credentials adapting the script provided with your own data.

5. Download the AppAgent credentials.

6. Using the Service Account credentials token (Bearer token in Authorization), create a token introspect configuration adapting the script provided with your own data.

Step 1

Create a project.

POST https://eu.api.indykite.com/configs/v1/projectsJson
{
  "db_connection": {
    "password": "super-secret-value",
    "url": "neo4j+s://14bnm364h.databases.neo4j.io",
    "username": "neo4j"
  },
  "description": "Project description",
  "display_name": "Project name",
  "ikg_size": "2GB",
  "name": "project-name",
  "organization_id": "gid-of-organization",
  "region": "us-east1"
}

Step 2

Create an application.

POST https://eu.api.indykite.com/configs/v1/applicationsJson
{
  "description": "Application description",
  "display_name": "Application name",
  "name": "app-name",
  "project_id": "gid-of-project"
}

Step 3

Create an application agent.

POST https://eu.api.indykite.com/configs/v1/application-agentsJson
{
  "api_permissions": [
    "Authorization",
    "Capture",
    "ContXIQ",
    "EntityMatching"
  ],
  "application_id": "gid-of-application",
  "description": "App Agent description",
  "display_name": "App Agent name",
  "name": "app-agent-name"
}

Step 4 / 5

Create application agent credentials.

POST https://eu.api.indykite.com/configs/v1/application-agent-credentialsJson
{
  "application_agent_id": "gid-of-app-agent",
  "display_name": "AppAgent Credentials name",
  "expire_time": "2026-12-31T12:34:56-01:00"
}

Step 6

Create a token introspect configuration.

POST https://eu.api.indykite.com/configs/v1/token-introspectsJson
{
  "claims_mapping": {
    "email": {
      "selector": "email"
    },
    "name": {
      "selector": "full_name"
    }
  },
  "description": "Token introspect description",
  "display_name": "Token introspect name",
  "ikg_node_type": "Person",
  "jwt_matcher": {
    "audience": "audience-id",
    "issuer": "https://example.com"
  },
  "name": "rest-token-introspect",
  "online_validation": {
    "cache_ttl": 600
  },
  "perform_upsert": true,
  "project_id": "gid-of-project"
}

Tags

Environment Token Instrospect

Related Resources

No related resources found.