# A database for every preview environment using Neon, GitHub Actions, and Vercel

DevFeed: [A database for every preview environment using Neon, GitHub Actions, and Vercel](<https://devfeed.tech/articles/a-database-for-every-preview-environment-using-neon-github-actions-and-vercel-5050.md>)

Original publisher: [Read original article](<https://neon.com/blog/branching-with-preview-environments>)

Author: Mahmoud Abdelwahab

Published: 2023-04-14T11:30:56Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>)

Tags: [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [community](<https://devfeed.tech/tags/community.md>), [database](<https://devfeed.tech/tags/database.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [product](<https://devfeed.tech/tags/product.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

This guide explains how to use Neon's branching feature to create a separate database for each preview environment. It uses Vercel as the deployment provider and GitHub Actions as the CI/CD tool, and describes how isolated environments for pull requests help teams develop in parallel and make smaller releases.

## Source excerpt

In this guide, you will learn how to leverage Neon's branching feature to create a database for every preview environment. We will use Vercel as an example deployment provider and GitHub actions as the CI/CD tool. Staging environments and why they are not ideal Teams often set up...