Skip to main content
Supabase LogoSupabase Logo

Snap Cloud Examples

The SnapCloud Examples package is available directly in the Lens Studio Asset Library. It contains six fully working Lens projects that demonstrate every major Snap Cloud feature, each designed to run independently on Spectacles.

To get started, search for "SnapCloud Examples" in the Asset Library, import the package into a new or existing Lens Studio project, and drag one of the example scenes into your Hierarchy. Each example scene is self-contained and requires only your Supabase Project asset to be connected.

All examples build on the Getting Started guide. Make sure you have the SupabaseClient asset and Supabase Plugin installed, and that you have created a Supabase Project asset from the plugin before running any of the examples below.


Sections

The examples are organized into four areas that match real Lens development workflows.

  • Basic Setup: Authentication, databases, storage, realtime, and edge functions. Start here.
  • Media: Image capture, video capture, and audio capture with upload to Supabase Storage.
  • Leaderboard: Global score tracking with server-side RPC functions.
  • Lens & Web App: A complete Lens + companion web app connected via Snap Cloud.
Was this page helpful?
Yes
No