Examples

December 17, 2025 ยท View on GitHub

Docs Discord Server Twitter

This repository houses various examples for various aspects of SpiceDB.

SpiceDB is an open source database system for managing security-critical application permissions inspired by Google's Zanzibar paper.

Developers create a schema that models their permissions requirements and use a client library to apply the schema to the database, insert data into the database, and query the data to efficiently check permissions in their applications.

Examples in this repository include:

  • How to set up SpiceDB with tracing: see tracing
  • How to invoke SpiceDB as a library: see library
  • How to run SpiceDB in a Kubernetes cluster: see kubernetes
  • CI/CD Workflows

Have questions? Join our Discord.

Looking to contribute? See CONTRIBUTING.md.