Getting Started

Introduction

To use the Hasura GraphQL engine, you need to:

  • Deploy the Hasura GraphQL engine with access to a Postgres database
  • Set up and test your GraphQL API using the Hasura console UI (also possible via the CLI or API)
  • Consume the generated GraphQL API from your client apps

Get started from scratch

  • Using Hasura Cloud (recommended): Create a new Hasura Cloud project with just a few clicks.
  • Using Docker: Run a local development setup that sets up both the Hasura GraphQL engine and Postgres using Docker Compose.

Get started using an existing database

  • Using Hasura Cloud (recommended): Create a new Hasura Cloud project connected to an existing Postgres database.
  • Using Docker: Run as a docker container and connect to an existing Postgres database.
  • Using Kubernetes: Run on Kubernetes and connect to an existing Postgres database.

Supported Postgres versions

Hasura GraphQL engine supports Postgres 9.5 and above

MS SQL Server support (alpha)

Hasura GraphQL engine supports SQL server 2016 and above. Head to this guide to get started with SQL Server.

MySQL support (alpha)

Head to this guide to try out the MySQL preview.