Documentation

Comprehensive guides, API references, tutorials, and code samples to help you build with DevHub.

Quick Start Guide

Follow these steps to get up and running with DevHub in minutes.

1. Install CLI

First, install the DevHub command-line interface:

npm install -g @devhub/cli

2. Create Project

Initialize a new project in your workspace:

devhub new my-project

3. Deploy

Deploy your first app with our infrastructure:

cd my-project
devhub deploy

Core Concepts

Understand the fundamental building blocks that power the DevHub platform.

Projects

Organize your workflow into projects to manage dependencies, team access, and deployments.

Workspaces

Isolate development environments with workspaces that persist across sessions.

API Gateway

Route requests, apply middleware, and secure endpoints through our powerful API gateway.

Permissions

Control access with granular permissions that follow the least privilege principle.

Learn by Topic

CLI Tutorials

Master the command-line interface for automation, project management, and deployment workflows.

Start Learning →

API Reference

Explore detailed documentation for our REST API endpoints, including request formats and response examples.

Read Docs →

Integration Guides

Learn to connect DevHub with your existing tools and services.

View Tutorials →

Security Best Practices

Protect your applications with our recommended security patterns and hardening techniques.

Read Guide →

Try It Live


# Example CLI command
devhub config:set project=example
devhub deploy

                        

Output:

Deploying to 'example' project
✓ Built 12 files
✓ Uploaded 2.4MB
✓ Created deployment: 7b8k3n2j
✓ Live at: https://example.devhub.dev

Interactive Docs

Test commands, view live results, and explore the DevHub platform features directly from your browser.

Open Playground

Developer Resources

SDKs

Official SDKs available for TypeScript, Python, Node.js, and Go with detailed integration guides.

View SDKs →

Sample Projects

Reference complete project templates in various frameworks and languages.

Explore Samples →

Community Forum

Get help from our community and DevHub engineers through Q&A, discussions, and tutorials.

Join Discord →