Satsuma Docs
Go to DashboardSatsuma
  • Overview
  • Getting Started
  • Hosted Subgraphs
    • Creating a Subgraph
    • Deploying a Subgraph
    • Subgraph Versioning
    • Querying a Subgraph
    • Deleting a Subgraph
    • Data Warehouse Sync (beta)
    • Supported Chains
    • Subgraph Notifications
    • FAQ
Powered by GitBook
On this page
  • Getting Started
  • Creating a new subgraph
  • Deploying a subgraph

Getting Started

PreviousOverviewNextCreating a Subgraph

Last updated 1 year ago

Getting Started

💡Make sure you have access to your organization account via the During our closed beta, you’ll need to contact us at to create an account.

Creating a new subgraph

  1. Install the graph-cli:

    npm install -g @graphprotocol/graph-cli
  2. Create a new subgraph:

    graph init --product hosted-service
  3. Make modifications as necessary to the manifest, schema, and handlers. See for more details.

Deploying a subgraph

  1. Get your deploy key from the .

  2. Run the following:

    cd <SUBGRAPH_DIRECTORY>
    
    graph deploy <SUBGRAPH_NAME> \
      --version-label <VERSION_NAME> \
      --node http://subgraphs.alchemy.com/api/subgraphs/deploy \
      --deploy-key <DEPLOY_KEY>

    See for more details.

  3. If the deploy command succeeds, you’ll receive a link to the dashboard to view your newly deployed subgraph.

  4. 🎉 Congrats on deploying your new subgraph!

Dashboard.
sales@satsuma.xyz
Subgraph Creation
Dashboard
Subgraph Deploys