Hosted (Stategraph Cloud)

Stategraph Cloud is the fully managed option — we run the server, database, upgrades, and
availability, so there is no infrastructure for you to operate. If you would rather keep everything
in your own environment, see self-hosted deployment instead.

Start a free trial

  1. Go to app.stategraph.cloud and sign up.
  2. Sign in to create your workspace. New accounts include a 30-day free trial.

Connect the CLI

Once you are signed in, the workflow is the same as self-hosted — you just point the CLI at your
hosted instance instead of a server you run.

First, create an API key: in the Stategraph dashboard, open Settings → API Keys and create one.

Then point the CLI at your hosted instance using the base URL shown in your dashboard:

export STATEGRAPH_API_BASE="https://<your-stategraph-cloud-url>"
export STATEGRAPH_API_KEY="<your-api-key>"

Verify the connection:

stategraph info
stategraph user tenants list

From here, everything works exactly as documented for self-hosted Stategraph.

What's the same

Hosted and self-hosted Stategraph share the same CLI, API, and features:

Hosted vs self-hosted

Hosted (Stategraph Cloud) Self-hosted
Who runs the server Stategraph You
Upgrades & availability Managed for you Your responsibility
Where your data lives Stategraph Cloud Entirely in your own infrastructure
Setup Sign up and connect Deploy a server

Want to keep state and data fully in your environment? See Deployment for
Docker Compose, Kubernetes, and Amazon ECS.