App docs

PocketBase docs

A backend in one file: database, auth, file storage and realtime with an admin dashboard. Sign in to the dashboard at /_/ with your superuser email and password, then create your first collection.

Dev ToolsSmallest plan: LiteUpdated Plans and prices

What it is good for

PocketBase gives your web or mobile app a complete backend in one program: a SQLite database with a REST style API, user accounts with email, OAuth2 and one time password login, file uploads, realtime subscriptions and an admin dashboard.

You model data as collections in the dashboard, write access rules per collection, and add server logic with JavaScript hooks and scheduled jobs in the pb_hooks folder. Static files in pb_public are served from the same address, so a single page app can live next to its API.

On CoreHost your superuser account is created from a generated password when you deploy, so the dashboard is never open to the first visitor. The database, uploads and hooks are included in the daily backups, and the official JavaScript and Dart SDKs connect to your app URL.

  • Database, auth, file storage and realtime in one app
  • Admin dashboard at /_/ with a generated superuser, no open setup page
  • JavaScript hooks and scheduled jobs you edit in the Files tab
  • Official SDKs for JavaScript and Dart
  • Runs on the Lite plan: SQLite needs no separate database server

Replaces Firebase: usage based billing and your data inside someone else's cloud project.

How to reach it

Your app gets its own address, https://<your app name>.hostedat.corehost.io. You choose the app name when you deploy, and the address has HTTPS from the start.

You can also use your own domain at no extra cost: point a CNAME at your app's address, prove you control the domain with a small TXT record, and the TLS certificate is issued and renewed automatically. Both steps are shown with copy-paste values in your control panel.

First sign-in

Your sign-in is created for you.

Open your app URL with /_/ on the end and sign in with the superuser email and password shown in your control panel. We created this account from a generated password when you deployed, so nobody else can claim your dashboard.

To limit who can reach the app, switch on its firewall and allow only the IP addresses you choose. It is off by default.

First steps after deploy

  1. Open your app URL with /_/ on the end and sign in with the superuser email and password shown in your control panel.
  2. Create your first collection and its access rules, then set up email under Settings and Mail settings.
  3. Point your web or mobile app at your app URL with the PocketBase JavaScript or Dart SDK.

Bringing your data in

Import collection definitions in the dashboard under Settings and Import collections, upload a site into pb_public or hooks into pb_hooks with the Files tab or SFTP, or restore a PocketBase backup zip under Settings and Backups.

Apps and clients

PocketBase JavaScript SDK
Use it from browsers, Node.js, Deno or React Native. Create the client with your app URL. More from the project
PocketBase Dart SDK
Use it from Flutter and other Dart apps. Create the client with your app URL. More from the project

Already running PocketBase somewhere else? How to move it here, or read how moving to CoreHost works.

Connect it to other CoreHost apps

Apps on CoreHost reach each other over their public https addresses, the same way you do. There is no private network between apps yet, so when one app asks for another's address, give it the full https address (or your custom domain) and sign it in with that app's own key or login.

Related apps on CoreHost

Backups and updates

Every app is backed up automatically every night, including its database. Backups are encrypted and incremental and stored in the EU, and you keep restore points for the last 14 days plus four weekly ones. To restore, open the Backups card on your app page, pick a restore point and press Restore. Your current files are saved as a restore point first, so a restore can be undone.

Your database and uploaded files live in pb_data, your hooks in pb_hooks and your migrations in pb_migrations. All of them are in the daily backups.

You can also send backups to your own S3-compatible storage, such as AWS S3, Backblaze B2, Cloudflare R2 or Wasabi, and use SFTP or the file manager to keep your own copies.

Updates

PocketBase is updated by the CoreHost team for now, not from the app's Settings, so automatic updates are not available for it yet. If you need a newer version, open a support ticket and we will help.

Where to get help

Questions about how PocketBase itself works are best answered by the project's own documentation and community.

Documentation
pocketbase.io/docs
JavaScript hooks guide
pocketbase.io/docs/js-overview
Licence
MIT

CoreHost support

For anything about your app on CoreHost, open a ticket: sign in, go to Support tickets in your control panel and press New ticket. Our AI support answers around the clock and can look at your app's status and logs, and any change it suggests runs only after you confirm it. People take over when needed, during Australian hours.

Deploy PocketBase

From US$1.10/mo in Poland. New accounts start with $5 of credit, no card needed.

Deploy PocketBasePlans and regions