Skip to main content

1. Onboard and configure the school

Create the school at kralis.app/onboard, then use Kralis Web to configure its current year and term, classes, sections, subjects, users, roles, and enabled modules.

2. Authenticate with GraphQL

Send login to /graphql/. The same operation can be explored interactively at /graphiql/.
Keep the returned access and refresh tokens private.

3. Call GraphQL

Use GraphiQL to inspect current queries, mutations, inputs, filters, and return types. Its Headers panel accepts the same Bearer token.

4. Refresh when required

Call refreshLoginToken once after an access token expires. Store both newly returned tokens before retrying the original operation.

Before production

See Authentication and API Access, Templates, and Support before production rollout.