vecs
is compatible with any Postgres 13+ with the pgvector extension installed.
In the following we show we show instructions for hosting a database on Supabase and locally in docker since both are fast and free.
Supabase
Cloud Hosted
Create an account
Create a supabase account at https://app.supabase.com/sign-up.
Create a new project
SelectNew Project


Connection Info
On the project page, navigate toSettings
> Database
> Database Settings

DB_CONNECTION
in the quickstart guide,
Local
You can also use Supabase locally on your machine. Doing so will keep your project setup consistent when deploying to hosted Supabase.Install the CLI
To install the CLI, use the relevant system instructions belowStart the Project
From your project directory, create thesupabase/
sub-directory required for supabase projects by running:
vecs
is DB URL
. Note it down for use as our DB_CONNECTION
Docker
Install docker if you don’t have it already at Get DockerStart the Postgres Container
Next, runConnection Info
Substitue the values from the previous section into the postgres conenction stringDB_CONNECTION
in the quickstart guide