Skip to main content
Version: v3.x beta

Prerequisites

Before continuing, ensure you've completed the following things:

Step 1. Install the Hasura CLI

You can download the CLI binary below. Please follow the instructions for your system.

Simply run the installer script in your terminal:

curl -L http://graphql-engine-cdn.hasura.io/ddn/cli/v2/get.sh | bash
After installation, from any directory, run the following command to authenticate your CLI session with Hasura DDN.
ddn auth login

A new window will open either asking you to sign in or authenticating your current session and allow you to return to the CLI.

Step 2. Install the Hasura VS Code extension

If you don't already have Visual Studio Code installed, we recommend you download and install it. Then, install the Hasura VS Code extension so that you can make use of features like autocomplete, contextual suggestions, and inline validation to enhance your development experience.

Step 3. Install Docker

Finally, install Docker, which will be used for local development. This helps you iterate and develop locally without deploying any changes to Hasura DDN, making the development experience faster and your feedback loops shorter.

Docker version

Docker Compose v2.22.0 or greater is required to run watch mode.

Next Steps

At this point, you're ready to create your first supergraph!

Alternatively, if you've been invited to an existing supergraph repository, you might want to add a new subgraph, connect a data source, create a relationship, or add some business logic.

Loading...