One-click deployment with Heroku

Introduction

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

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.

Deploy to Heroku

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.

Open the Hasura console

Hello World (GraphQL or event triggers)

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.