Skip to main content

Heroku Database Setup

  1. Create a free account with Heroku.

  2. Create a new app.

    Google Chrome — CleanShotX | 2021-04-20 at 02 01 56
  3. In your new app, go to Overview and next to Installed add-ons, click Configure Add-ons. We need this to set up our database. image

  4. Once you clicked on Configure Add-ons, click on Find more add-ons and search for postgres. One of the options will be Heroku Postgres - click on that option. image

  5. Once the pop-up appears, click Submit Order Form - plan name should be Hobby Dev - Free.

    Google Chrome — CleanShotX | 2021-04-20 at 02 04 29
  6. Once you completed the above steps, click on your newly created Heroku Postgres and go to its Settings. image

  7. In Settings, copy your URI to your Calendso .env file and replace the postgresql://<user>:<pass>@<db-host>:<db-port> with it. image image

  8. To view your DB, once you add new data in Prisma, you can use Heroku Data Explorer.