← Back

Vela for Developers

Move faster with production-like data and zero risk. Create a database clone per PR, run tests in CI, and merge with confidence.

Branch databases like code

Instant copy‑on‑write clones for each branch/PR; share base data, pay only for changes.

Safe, masked data

Use masked, seeded data in ephemeral branches without touching production.

CI/CD ready

Spin a clone in setup, run tests, and auto‑clean on success or failure.

Standard Postgres

Works with your drivers, ORMs, migrations, and extensions.

Merge with confidence

Fast feedback loops reduce regressions and long‑lived branches.

Quickstart

  1. Create a Vela project and connect your Postgres.
  2. Add masking rules and optional AI data seeding.
  3. In your CI, request a clone for the current branch.
  4. Run migrations and tests against the clone.
  5. On success or failure, Vela auto‑cleans the clone.

Example: GitHub Actions

name: test
on: [pull_request]
jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Create clone
        run: |
          curl -H "Authorization: Bearer ${{ secrets.VELA_TOKEN }}" \
               -X POST https://api.vela.dev/clones \
               -d '{"branch":"${{ github.head_ref }}"}' > clone.json
      - name: Run tests
        env:
          DB_URL: ${{ steps.clone.outputs.url }}
        run: npm test
      - name: Cleanup
        if: always()
        run: curl -H "Authorization: Bearer ${{ secrets.VELA_TOKEN }}" -X DELETE $(jq -r '.id' clone.json)

Key integrations

  • GitHub/GitLab/Bitbucket
  • Jenkins/GitHub Actions/CircleCI
  • Prisma/Knex/Flyway/Liquibase
  • Docker/Kubernetes