Deploying a subgraph on Mobula is as easy as deployed to The Graph hosted services.

1

Install Mobula CLI

First, install our CLI tool using npm:

npm i mobula-cli
2

Setup API Key

Configure your API key with the CLI. You can get your API key from the Dashboard. Please refer to the authentication section for detailed steps on obtaining your API key.

mob apikey set
3

Deploy your subgraph

Deploy your subgraph using the Mobula CLI:

mob deploy -n subgraphName

Regarding auth, please read this section.

If you’re not familiar to The Graph, please explore their documentation to get started.