Choose a destination
The destination is the database that holds your analytics copy. You choose it in the first step of Set up analytics, under Where should the data go?
To move your data to a different destination later, disconnect the app and set it up again.
Which plans include which destinations
| Destination | Plans |
|---|---|
| Hosted by VaultLens (Postgres) | Analytics, Studio, Business |
| Google BigQuery, hosted by VaultLens | Studio, Business |
| Your own Postgres | Business |
| Google BigQuery, in your own Google Cloud project | Business |
The Archive plan doesn’t include analytics. See Billing and plans.
Hosted by VaultLens
VaultLens runs the Postgres database for you. There’s nothing to set up.
- Choose Hosted by VaultLens.
- Click Create my database.
VaultLens creates a private schema for the app on managed PostgreSQL 16. It’s encrypted, backed up daily and requires SSL. VaultLens also creates a read-only login for your BI tools.
Google BigQuery
- Choose Google BigQuery.
- Choose where the dataset lives:
- Hosted by VaultLens: a private dataset in VaultLens’s Google Cloud project. Under Who can read the data, list the Google accounts or groups (for example
group:analysts@example.com) that may read it. Click Create my dataset. - Your own Google Cloud project: enter the Project ID and Location. Give the VaultLens service account the BigQuery User role in the project (the page shows the command), or upload a service account key. Click Connect my project.
- Hosted by VaultLens: a private dataset in VaultLens’s Google Cloud project. Under Who can read the data, list the Google accounts or groups (for example
BigQuery uses Google sign-in instead of a password. Queries run, and are billed, in each reader’s own Google Cloud project. You can change the readers later in the BI connection tab.
Your own Postgres
Use this for Amazon RDS, Azure, Supabase, Neon or an on-premises server running PostgreSQL 11 or later.
- Choose Your own Postgres.
- Enter the Host, Port, Database, User, Password and Target schema.
- Choose an SSL mode. For verify-full, paste your server’s CA certificate.
- Allow VaultLens’s fixed IP addresses through your database firewall. The page lists them.
- Click Test connection, then Save destination.
The user needs permission to create schemas and tables. If it can also create roles, VaultLens sets up a separate read-only login for your BI tools. If not, the test says so, and you connect your BI tools with your own database credentials.
When you disconnect an app that uses your own Postgres, you can tick Keep the data in my own database. For hosted databases, the app’s database is deleted.
Read-only logins
A read-only login is a database user name and password that can read the app’s tables but can’t change them. VaultLens creates one for each app’s hosted Postgres, and for your own Postgres when the database user can create roles.
- Find it in the app’s BI connection tab. Owners and admins can click Show password. Each view is recorded in the audit log.
- Members can see the other details but must ask an owner or admin for the password.
- Click Rotate password to create a new one. The old password stops working, so update your BI tools.
See Connect your BI tool.
HIPAA workspaces
In a HIPAA workspace, your own Postgres must use SSL, and your own Google Cloud project must be covered by a Business Associate Agreement with the provider. The workspace owner confirms this when setting it up. See HIPAA.