-
Sign in to Neon using your GitHub account (or an account you create via email or other forms of authentication)
- If it asks you to create a team, create one with any name
-
Enter a name for your new database instance, choose PG 16, AWS hosting and the minimal size for the DB. This will be your PRIMARY database

-
Repeat the same steps to create a second database, this time give it the same name but add
-shadowto the end. This will be your SHADOW database -
Copy the DB Connection strings for each database. a) open the Database Project; b) visit the
Quickstartpage; c) ClickPosgresand then clickCopy snippet
-
In your
.envfile, paste the connection strings, making sure you keep the?sslmode=require&schema=prismaand?sslmode=require&schema=shadowat the end of the connection string.
See Docker's official guide on using the Postgres Docker image.
