Quickstart with Heroku

This guide will help you get Hasura GraphQL engine and Postgres running on Heroku’s free tier. It is the easiest and fastest way of trying Hasura out.

If you’d like to link this to an existing database, please head to this guide instead: Using an existing database on Heroku.

Deploy to Heroku

Click the button below to deploy to Heroku:

heroku_deploy_button

Note

If you don’t have an account on Heroku, you need to sign up on Heroku. You won’t need a credit card, and once you sign up you’ll be redirected to your Heroku app creation page automatically.

../../../_images/heroku-app.png

Note that Heroku’s free Postgres add-on is also automatically provisioned!

Open the Hasura console

That’s it! Head to https://<YOUR_HEROKU_APP>.herokuapp.com and open your app. You should see the Hasura console.

../../../_images/heroku-app-deployed.png

Next: Try Hasura out!

Make your first graphql query

OR

Set up your first event trigger

Advanced:

This was a quickstart guide to get the Hasura GraphQL engine up and running quickly. For more detailed instructions on deploying using Heroku, check out Run Hasura GraphQL Engine on Heroku.