PocketBase — Backend as a Service
A lightweight but powerful backend for internal apps, client portals, and n8n integrations.
What is PocketBase?
PocketBase is an open-source backend that gives you a database, authentication system, file storage, and a real-time API — all in a single lightweight service. Think of it as a self-hosted Firebase or Supabase alternative.
In ServicePlus, PocketBase runs at pb.yourdomain.com and integrates natively with n8n for data-driven automation workflows.
Key capabilities
- Database — create collections (tables) with custom fields, relations, and validation rules
- Authentication — built-in user accounts, OAuth2, password reset, email verification
- File storage — upload and serve files attached to database records
- Realtime API — subscribe to database changes in real time (for live dashboards)
- Admin UI — a clean web interface for managing data without writing code
- REST API — every collection is automatically exposed as a REST endpoint
Business use cases
- Client portal — build a custom client-facing portal where clients can view their project status, invoices, or reports
- Internal CRM extension — store structured business data that does not fit in Mautic (e.g., custom project records, product catalog)
- n8n data store — use PocketBase as a persistent store for n8n workflow results and processed data
- Team authentication — manage team members with role-based access for internal applications
- File management — centralized file storage for documents shared between n8n workflows and client-facing applications
Connecting PocketBase to n8n
n8n includes a native PocketBase node. You can read, write, and query PocketBase collections directly from any workflow. Combined, they form a powerful data layer for business automation.
PocketBase uses an embedded SQLite database. It is extremely lightweight — typically under 100 MB RAM at rest. It is suitable for all server tiers.
Adding PocketBase
sp add pocketbase
Access the admin panel at https://pb.yourdomain.com/_/ with the credentials from sp cred.