Extend your plan with additional features and capacity.
Additional Environments
Need more concurrent preview environments? Add extra slots to any plan.
| Add-On | Price |
|---|---|
| Additional Environments | $2 per environment/month |
- Available on Individual and Business plans
- Minimum: 1 additional environment
- Maximum: 1,000 additional environments
- Takes effect immediately
How to Purchase
Custom Domains (Individual Plan)
Custom domains are included with the Business plan. Individual plan users can add custom domain support as an add-on.
| Add-On | Price |
|---|---|
| Custom Domains | $5/month |
- Supports up to 50 custom domains
- Includes automatic SSL certificates
- DNS verification required
How to Enable
Managed Databases
Attach fully managed PostgreSQL, MariaDB, or MongoDB databases to your preview environments. Each database is provisioned on a dedicated regional VM with automatic daily backups.
| Add-On | Price |
|---|---|
| Managed Database | $5 per database/month |
- Available on Individual and Business plans
- Supported engines: PostgreSQL, MariaDB, MongoDB
- 1 GB soft storage limit per database
- Daily backups at 3 AM UTC with 7-day retention
- Credentials automatically injected as environment variables
How to Create a Database
Using Databases with Previews
Attach a database to a preview environment using the --db flag:
prev --db mypostgres .
prev automatically injects credentials as environment variables:
DB_MYPOSTGRES_HOST,DB_MYPOSTGRES_PORT,DB_MYPOSTGRES_NAMEDB_MYPOSTGRES_USER,DB_MYPOSTGRES_PASSWORDDB_MYPOSTGRES_URL(full connection string)DATABASE_URL(convenience alias when using a single database)
For full details, see the Managed Databases documentation.