Data Stores (Organisation Admin)

Data Stores are shared, structured records that people edit in a table, ask about in chat and use in apps. This page covers what Organisation Admins manage: the catalogue of every store in the organisation, where new stores are created, which app databases appear as Data Stores, and what apps may do with the data.

Find it at Admin → Organisation → Settings → Data Stores. You need the organisation admin role.

Data Stores is on by default. A platform administrator can turn it off for the whole deployment; within that, you can turn it off for your organisation (see Turning Data Stores on or off).

The organisation catalogue

The page header reads “Every Data Store in your organisation, including data retained by apps”. The table lists every store — including stores nobody has shared with you — so you can see what exists and who owns it.

ColumnWhat it shows
NameThe store’s name
SourceDatabase, File, Connected PostgreSQL, Connected SQL Server, Snowflake or App database
StatusWhether the store is ready, preparing or failed
OwnerThe person who created it, or Unattributed
Shared withIts sharing scope, or Personal if it isn’t shared
UpdatedWhen it last changed

Use Search by name to filter, and Refresh to reload the list. Click a row to open the store.

Seeing a store in the catalogue doesn’t give you its records. Existing permissions still control access, so opening an unshared store may show that you don’t have access to its records.

Data Stores catalogue filtered by name, with the Refresh, Storage Locations and Register Existing App Database buttons above the Name, Source, Status, Owner, Shared with and Updated columns

Turning Data Stores on or off

On the Data Stores page in the sidebar (under Flows), Organisation Admins see an Organisation settings gear next to Add New. It opens Data Stores for your organisation:

  • A chip shows whether Data Stores is Available on this platform or Disabled by the platform.
  • Enable Data Stores turns the feature on or off for your organisation, within the platform setting.

Click Save settings. Roles and individual store sharing still control who can read and change records — see Sharing and permissions for the five Data Store permissions.

Record file limits

The same dialog sets Record file limits for files uploaded to File fields. Uploaded files belong to the Data Store and are kept until the store is permanently removed.

SettingDefaultMost it can be
Maximum file size (bytes)20 MiB20 MiB
Files per Data Store1,00010,000
Total size per Data Store (bytes)200 MiB2 GiB

Values are in bytes (one MiB is 1,048,576 bytes). Keep Inherit platform file limits ticked to use the platform’s values, or untick it to set lower limits for your organisation — an organisation can’t go above the Platform ceiling. Click Save file limits.

Platform administrators also see a File limits scope choice to set the platform ceiling itself, and Reset platform file defaults.

Storage locations

New Data Stores are created as PostgreSQL databases. Storage locations opens PostgreSQL storage locations, where you choose where new Data Stores are created.

On standard deployments you don’t need to do anything: “New Data Stores use Pebble’s PostgreSQL storage by default.” To use another PostgreSQL server, your deployment administrator must first configure it as an approved connection. Its credentials are kept outside this page.

To add a location:

  1. Pick the Approved PostgreSQL connection.
  2. Enter a Location name.
  3. Click Add and validate location. Pebble checks the connection before the location can be used.

Each location then shows its status and these controls:

ControlWhat it does
Use for new storesMake this the default for new Data Stores. Shows Default for new stores once set
Validate connectionCheck the connection again
Pause new databases / Allow new databasesStop or resume creating new databases here. A paused location shows New databases paused

Changing the default only affects new stores. Existing databases stay in their recorded location. If a location becomes unavailable, Pebble reports it rather than quietly creating the store somewhere else.

Each location also states what happens to databases whose stores expire: either “Physical databases are retained when their assets expire.” or “Owned databases may be removed after the configured retention period.”

PostgreSQL storage locations dialog with the Approved PostgreSQL connection and Location name fields and the Add and validate location button

App databases

Apps built in Pebble keep their own databases. Eligible app databases can appear in the catalogue with the App database source, so permitted people can browse and edit their records next to other Data Stores. The app keeps control of its table structure and database changes: fields can’t be changed from Data Stores, and the store can’t be deleted there.

Two kinds of app database can appear:

  • Retained App Factory databases — the data of apps built with App Factory, including Sandbox releases. App Factory is a Beta and is off by default.
  • Hosted Runway app databases — registered by an Organisation Admin, as described below.

Registering an existing Runway app database

To bring a hosted Runway app’s existing database into Data Stores:

  1. Click Register existing app database.

  2. Choose the App and environment. Each entry shows its state:

    StateMeaning
    Ready to registerThe database has been checked and can be added
    Pending verificationPebble still needs to verify the database. The dialog explains what’s needed — for example, asking your deployment administrator to complete database adoption
    Registration queuedRegistration has started. Click Refresh to check progress
    Already registeredThe database is already a Data Store
  3. Click Register database. When registration completes, click Open Data Store.

The app keeps its existing database and continues to manage its own schema. Tables appear in the store once the database has been checked: until then the store shows “Tables appear after the app database is qualified.” If the app’s database structure changes later, data access pauses until the new structure and permissions have been checked. Use More Actions → Refresh app catalogue on the store to reload its tables.

Approving an app’s database access

An app needs approval before it can use its database through Pebble on behalf of its users. Open the app’s Data Store, then choose More Actions → App database access. (A Sandbox release waiting with Data Store approval required links here through Open Data Store.)

For each table, tick the operations the app may perform: query, create, update and delete. Then click Approve app database access. The approval covers the listed columns and operations for the app’s current and future authorised users; the app’s own business roles still apply.

StatusMeaning
Approval requiredNothing is approved yet, or the app now asks for more
ApprovedThe app can use the approved tables and operations
Database permission change pendingPebble is applying the approved permissions
RevokedAccess was withdrawn

Keep in mind:

  • App filters don’t restrict database rows — approval covers every row in each selected table.
  • New tables or extra columns need another review.
  • Approving app access doesn’t give anyone direct access to the Data Store. Direct access still uses Data Store sharing and permissions.
  • Revoke app database access withdraws the approval. Refresh catalogue reloads the app’s tables, and Refresh status checks progress.

You need to manage the store (as its owner or an Organisation Admin) and hold the Share Data Stores permission.

Approving data access for LiveApps and HTML apps

LiveApps and HTML apps that use Data Store tables have a similar approval: a store manager approves the exact tables and actions an app needs, so people who can use the app work with that data through it without direct access to the store. This is done from the app’s Data access button in Canvas — see LiveApps → Sharing an app’s data without sharing the store.

  • Data Stores — creating stores, fields, views, forms and imports
  • LiveApps — building data-connected apps
  • App Factory — building and publishing full apps
  • Credentials — approved connections for S3, SharePoint, Snowflake, PostgreSQL and SQL Server sources
  • Users — roles and the Data Store permissions