Skip to main content

SDK Overview

This section summarizes the examples under sdk/ to help you quickly integrate with the AI-DaaS data service:

  • Java: typed client and generic CRUD repository, supporting queries, mutations, and upserts.
  • Python: lightweight HTTP client and scripts covering common CRUD operations.
  • Node.js: CRUD scripts based on v2 DSL to quickly connect to the backend.

It is recommended to prepare the following environment variables so examples can run smoothly:

  • KC_TOKEN_URL: Keycloak token endpoint, for example https://auth.loambase.com/realms/<realm>/protocol/openid-connect/token
  • KC_CLIENT_ID, KC_CLIENT_SECRET: client credentials (keep secret, server-side only)
  • TENANT_ID: tenant ID, for example 07c5b6ff
  • BASE_URL: gateway base URL, for example https://api.loambase.com
  • ENTITY_NAME: entity name (examples default to customers)
  • PK_FIELD: primary key field (examples default to id)

Next step: choose your language and follow the corresponding getting-started guide.