The examples are executable Java programs that model integration workflows rather than isolated API calls.
Set the required environment variables first:
export OKATANA_URL='https://okatana.your-company.example'
export OKATANA_API_KEY='oka_public.secret'
export OKATANA_ORGANIZATION_ID='organization-id'
export OKATANA_PROJECT_ID='project-id'Build the SDK once, then build the examples:
mvn install -DskipTests
mvn -f examples/pom.xml verifyRun a scenario by its class name, for example:
mvn -f examples/pom.xml exec:java \
-Dexec.mainClass=com.newfoundcodes.okatana.examples.IncidentResponseWorkflowExample source file names use descriptive names and have no numeric prefixes.