Concepts
A high-level overview of what Leash is, how deployment works, and the building blocks you will use.
What is Leash?
Leash is a platform-as-a-service (PaaS) built for apps created with AI coding tools like Claude Code, Cursor, and Codex. One command to deploy, managed databases, and pre-built integrations with services like Gmail, Slack, HubSpot, Linear, and more.
In short
Write code with AI, run leash deploy, and your app is live with HTTPS, a database, and third-party integrations — no DevOps required.
How Deployment Works
- Run
leash deployin your project directory. - Leash auto-detects your framework (Next.js, Flask, Express, Go, Docker, static HTML).
- Preflight checks run locally to catch errors before uploading.
- Your code is built into a container and deployed to Leash infrastructure.
- You get a URL:
https://your-app.un.leash.build
How Integrations Work
- Connect once on the dashboard — use from any app.
- Per-user OAuth or API key authentication, stored securely.
- Two types: REST SDK clients (Gmail, Calendar, Drive) with full typed methods, and MCP-based integrations (HubSpot, Slack, Linear, etc.) with auto-generated typed packages.
- Install a package, initialize the SDK, call methods.
SDKs
Available in six languages. All packages are published to their respective registries.
TypeScript
Python
Go
Ruby
Rust
Java