Skip to content
Last updated

Run with SDK

After the ReBAC engine (SpiceDB and sync job) is running, connect your application with @frontegg/e10s-client. The client uses gRPC to evaluate feature, permission, route, and entity-level checks and to run lookup queries against your authorization model.

Prerequisites

Configure the entitlements engine using the Entitlements setup guide before installing the SDK.

SDK quickstarts

For installation, initialization, query examples, and lookup operations, go directly to the SDK reference pages:

  • Node.js Entitlements@frontegg/e10s-client install, client setup, feature/permission/route/entity checks, lookup APIs, and monitoring mode
  • Java Entitlements — Maven/Gradle setup and JVM client for the same engine

How the pieces fit together

The SDK connects your application to your running SpiceDB instance over gRPC. Subject context (user and tenant IDs) typically comes from a decoded Frontegg JWT. The entitlements engine evaluates the authorization model and returns a boolean result.

Your App (SDK) ──gRPC──▶ SpiceDB ◀── Sync Job ◀── Frontegg Cloud

For conceptual background on the authorization model — entity types, relations, actions, and hierarchies — see ReBAC.