Privacy Policy
How Pebblestone collects, encrypts, isolates, and processes data across your collaborative workspaces, visual database tables, external database adapters, AI tools, and headless REST API endpoints.
Privacy & Security at a Glance
Before reading the full clauses below, here are the four core architectural commitments governing your data on Pebblestone.
Strict Multi-Tenant Workspace Isolation
Every table schema, record, page, and audit log is strictly scoped by projectId and protected by PostgreSQL Row-Level Security (RLS) and customizable role permissions.
AES-256-GCM Encrypted Credential Vault
External database connection strings, passwords, and API tokens are encrypted server-side using AES-256-GCM with HKDF-SHA256 key derivation and are never transmitted to browsers.
Zero AI Training on Customer Data
AI Schema Architect and AI Editor requests run strictly on-demand via Google Gemini when invoked by your team. Your database rows and prompts are never used to train public AI models.
Full Ownership & Instant Portability
You act as the Data Controller of your workspace records. Export schemas and records as JSON/CSV anytime, or permanently cascade-delete workspaces in a single action.
1. Scope & Data Controller vs. Data Processor Roles
This Privacy Policy explains how Pebblestone (operating Pebblestone, "we", "us", or "our") handles information when you use our collaborative workspace, visual database studio, AI schema and document assistants, and headless REST API platform (collectively, the "Services"). Because Pebblestone is a multi-tenant data management platform and headless CMS, privacy responsibilities are divided between two distinct legal roles under GDPR, UK GDPR, and CCPA/CPRA:
1.1 Pebblestone as Data Controller (Account & Platform Metadata)
We act as the Data Controller for personal information collected directly from you to create and administer your Pebblestone user profile, authenticate sessions, manage workspace memberships, deliver transactional emails, and maintain platform security.
1.2 Pebblestone as Data Processor (Customer Workspace & Database Content)
When you or your team create database schemas, insert dynamic records, author rich-text pages, connect external SQL/NoSQL data sources, or transmit payloads via /api/v1/:projectId/:schema ("Customer Data"), you (or your organization as the Workspace Owner) are the Data Controller, and Pebblestone acts strictly as a Data Processor operating solely on your configured instructions.
| Data Category | Legal Role | Scope & Examples | Governance & Control |
|---|---|---|---|
| Account Profile & Auth | Data Controller | User-Scoped | Full name, username, email address, avatar URL, and Supabase Auth / OAuth session identifiers. |
| Workspace Records & Docs | Data Processor | Project-Scoped | Dynamic table rows (JSONB), custom schemas, Cards views, rich-text editor blocks, and audit history. |
| External DB Connections | Data Processor | AES-256-GCM | Encrypted connection credentials and live/snapshot records queried from your external databases. |
| Headless REST API Traffic | Data Processor | API-Key Scoped | JSON payloads read or mutated via /api/v1/:projectId/:schema by your connected applications. |
2. Information We Collect & Process
We collect only the minimum information required to authenticate your identity, synchronize real-time team collaboration, connect your data sources, and serve your headless APIs.
2.1 Account & Authentication Information
When you register or sign in via email/password or OAuth (Google or GitHub), we collect your email address, display name, optional username, profile avatar URL, and authentication provider metadata managed via Supabase Auth.
- Passwords are salted and hashed by Supabase Auth and are never accessible in plaintext.
- Returning-user convenience metadata (email, display name, and auth provider tag) is stored locally in your browser's localStorage so you can sign back in with one click, and can be cleared anytime via 'Sign in with a different user'.
2.2 Workspace Schemas, Records, Pages & Audit Logs
Within each workspace project, we store the table schemas (field names, data types, validation constraints, foreign-key relations), dynamic record JSONB payloads, custom multi-column page layouts, real-time presence states, and cell-by-cell activity history (actor ID, timestamp, action type, and before/after field diffs) required to power instant one-click rollback.
2.3 Team Invitations & Role Permissions
When Workspace Owners or Admins invite collaborators, we record the invitee's email address, assigned role (Owner, Admin, Editor, or Viewer), custom role permission matrices, page lock assignments, and cryptographic invitation tokens.
2.4 Operational Telemetry & Support Submissions
When you interact with the platform or submit a message through our Support & Engineering contact form, we log request timestamps, HTTP status codes, API key lastUsedAt timestamps, and basic browser user-agent metadata to diagnose bugs and prevent abuse.
3. External Database Adapters & AES-256-GCM Credential Vault
Pebblestone allows you to connect external databases and data sources—including PostgreSQL, Supabase, Neon, MySQL, MariaDB, Microsoft SQL Server, CockroachDB, Turso, MongoDB, Firebase, AWS DynamoDB, Google BigQuery, Elasticsearch, Airtable, and Google Sheets—in either Live Mode or Snapshot Mode.
3.1 Server-Side AES-256-GCM Credential Encryption
Whenever you save an external database connection string, password, service account key, or API token, it is immediately encrypted on the server before database persistence using AES-256-GCM authenticated encryption with a unique 12-byte initialization vector (IV), authentication tag verification, and HKDF-SHA256 key derivation with key-rotation support.
- Format: Credentials are stored strictly in versioned envelopes (`v1:iv:authTag:ciphertext` or `v2:<kid>:iv:authTag:ciphertext`).
- Server-Side Sanitization: Encrypted vault payloads are stripped and sanitized before any project or schema metadata is returned to client browsers.
- In-Memory Decryption Only: Credentials are decrypted transiently in isolated server memory solely for the duration of executing an authorized database query or schema sync.
3.2 Live Mode vs. Snapshot Mode Data Handling
You control how external database records are accessed per table:
- Live Mode (Direct Pass-Through): Queries, filters, sorts, and inline cell edits execute directly against your external database over encrypted TLS connections. Your external table rows are streamed to authorized workspace viewers without duplicating the dataset into internal storage.
- Snapshot Mode & File Imports (Cached Managed Copy): When importing CSV/JSON files or syncing an external source in Snapshot Mode, records are imported into your workspace's isolated PostgreSQL partition so you can work offline from production and re-sync on demand.
3.3 Headless REST API Keys (SHA-256 Hashed)
When you generate a project API key (publishable read key cms_pk_... or secret key cms_sk_...), the raw secret key is displayed once upon creation. We store only a non-reversible SHA-256 cryptographic hash (keyHash) and a masked display prefix to authenticate incoming /api/v1/:projectId/:schema requests.
4. Artificial Intelligence Features & Data Privacy
Pebblestone integrates Google Gemini models (including Gemini 4 Hydrogen, Gemini 4 Neon, and Gemini 3.8 Flash) to power the AI Schema Architect and the Collaborative AI Editor. AI processing is strictly opt-in and user-triggered, and long-running background AI interactions are deleted immediately upon completion or cancellation.
4.1 What Context Is Sent to the AI Provider
AI requests are transmitted only when an authorized workspace member explicitly clicks an AI generation or editing action:
- AI Schema Architect: Transmits your natural-language prompt and—when modifying an existing table or linking tables—the structural schema metadata (table names, column names, and field types) so the model can compute an accurate schema diff.
- Collaborative AI Editor: Transmits the specific document text selection or prompt instruction you highlight for drafting, summarizing, rewriting, grammar correction, or tone adjustment.
4.2 What Is Never Sent to AI Models
We do not transmit your encrypted external database credentials, API keys, or unrelated production database rows to AI providers. Furthermore, AI Schema Architect outputs are presented in a visual diff preview and never alter your database until you explicitly approve and save them.
4.3 Zero Training on Customer Prompts or Schemas
Prompts, schema definitions, and document snippets processed through our paid API integration with Google Gemini are governed by enterprise API data-use terms and are never used to train, fine-tune, or improve public third-party foundation models.
5. Third-Party Sub-Processors & Infrastructure
We partner with a minimal set of industry-leading infrastructure sub-processors to host Pebblestone, authenticate users, process on-demand AI prompts, and deliver transactional workspace emails. We never share data with advertising networks or data brokers.
5.1 Sub-Processor Governance
Each sub-processor is bound by strict data processing agreements, TLS 1.2/1.3 encryption in transit, and SOC 2 / ISO 27001 security controls.
| Sub-Processor | Category | Data Processed | Security & Compliance |
|---|---|---|---|
| Supabase | Database & Auth | Core Infra | Managed PostgreSQL storage, Row-Level Security (RLS) enforcement, and user authentication / OAuth sessions. |
| Google Cloud (Gemini API) | AI Processing | On-Demand | Processes explicit user prompts for AI Schema Architect and AI Editor blocks without model training retention. |
| Resend | Transactional Email | Email Only | Delivers workspace member invitation emails and account security notifications. |
| Vercel | Edge, Analytics & Compute | Hosting & Telemetry | Hosts the Next.js web application, server actions, /api/v1 endpoints, and privacy-friendly Web Analytics & Speed Insights over global TLS. |
| Polar.sh | Merchant of Record | Billing & Tax | Processes Pro, Enterprise, and Extra Seat checkout sessions, invoices, VAT/sales tax compliance, and subscription webhooks. |
| Sentry | Error Tracking | Observability | Captures unhandled runtime exceptions and diagnostic stack traces without collecting personal payload data by default. |
7. Data Retention, Soft-Delete Trash & Cascading Deletion
You have complete, self-service control over the lifecycle and permanent deletion of your records, schemas, workspaces, and user account.
7.1 Active Records & Soft-Delete Trash
Records stored in internal workspace tables remain active until deleted by a permitted user in the data grid or via DELETE /api/v1/:projectId/:schema/:recordId. If Soft Delete is enabled on a table, deleted rows are moved to the table's Trash view (deleted_at timestamp) so your team can restore accidental deletions, and can be permanently purged at any time.
7.2 Audit Logs & Rollback History
Cell-level activity records (record_activity) are retained alongside your active table schemas to enable instant rollback. Deleting a table schema or project automatically cascades and permanently erases all associated records and audit history.
7.3 Workspace & Account Deletion
When a Workspace Owner deletes a project—or when you delete your user account—all owned projects, schemas, records, pages, API keys, and AES-256-GCM encrypted vault credentials are immediately and irreversibly deleted from our primary database via relational ON DELETE CASCADE constraints.
8. Your Privacy Rights (GDPR, UK GDPR & CCPA/CPRA) & Contact
Regardless of your geographic location, we extend comprehensive data protection rights to all users and workspace administrators.
8.1 Exercising Your Rights
Under the EU/UK General Data Protection Regulation (GDPR), the California Consumer Privacy Act (CCPA/CPRA), and similar global privacy frameworks, you have the right to:
- Access & Portability: Inspect and export your table schemas (portable JSON) and database records (JSON via REST API or spreadsheet copy/export) at any time.
- Rectification: Update your personal profile details in Account Settings or modify any workspace record inline.
- Erasure ('Right to be Forgotten'): Delete individual records, purge soft-deleted Trash, delete entire workspaces, or request full account erasure.
- Restriction & Objection: Revoke external database credentials, disable API keys, manage workspace access, or request processing restrictions via our privacy contact.
8.2 Children's Privacy
Pebblestone is a professional software platform intended for developers, teams, and businesses, and is not directed to children under the age of 16. We do not knowingly collect personal information from children.
8.3 Policy Updates & Contacting Our Team
If we make material updates to this Privacy Policy, we will update the "Last Updated" date at the top of this page and notify workspace owners via email or in-app notification. For privacy inquiries, Data Processing Agreements (DPA), or data deletion requests, contact Pebblestone at team@pebblestonecms.com (or support@pebblestonecms.com for general support) or reach out via the Support & Engineering form on our website (/support).
Review workspace governance, 100% customer data ownership, BYODB Live Mode responsibilities, and API fair-use limits.
Questions about GDPR compliance, self-hosted database firewall rules, or enterprise agreements? Message our engineering team directly.