1. To deploy your Graph Network subgraph, you can use the Graph Protocol's command-line interface (CLI) or the web-based Studio dashboard.

Screenshot 2023-05-05 020606.png

  1. If you choose to use the CLI, you will need to install the Graph Protocol's CLI tool, which is available on npm. Once you have installed the CLI, you can use the "graph deploy" command to deploy your Studio subgraph to a network.

Install the Graph CLI

The Graph CLI is written in JavaScript, and you will need to install either yarn or npm to use it; it is assumed that you have yarn in what follows.

Once you have yarn, install the Graph CLI by running

Install with yarn:

Screenshot 2023-05-05 015714.png

Install with npm:

Screenshot 2023-05-05 020413.png

  1. If you prefer to use the web-based Graph network dashboard, you can click on the "Deploy & Publish" button in the top right corner of the page, select the network you want to deploy to, and follow the prompts.

  2. Once your Graph network subgraph has been deployed, you can obtain the subgraph endpoint URL, which you will need to connect your Graph network subgraph to DappLooker.