Skip to content
← Back to Changelog

Monday, May 1st 2023

Introducing Vercel Postgres

Posted by

Avatar for elijahjcobb

Elijah Cobb

Software Engineer

Avatar for jueungraceyun

Jueun Grace Yun

Software Engineer

Avatar for ethomson

Edward Thomson

Director of Product, Ship

Avatar for kale-stew

Kylie Czajkowski

Engineering Manager, Lifecycle

Vercel Postgres is a serverless PostgresSQL database, designed to integrate with Vercel Functions and any frontend framework.

import { sql } from '@vercel/postgres';
import { redirect } from 'next/navigation';
async function create(formData: FormData) {
'use server';
const { rows } = await sql`
INSERT INTO products (name)
VALUES (${formData.get('name')})
export default function Page() {
return (
<form action={create}>
<input type="text" name="name" />
<button type="submit">Submit</button>
Use Vercel Postgres with Next.js Server Actions (to be announced Thursday)

Vercel Postgres is available for Hobby and Pro users during the public beta.

Check out our documentation or get started with a template: