Quickstart

Deploy your first app on Hangar, from a Git repository or your AI agent to a public URL with HTTPS, in a few minutes.

Updated

Markdown

Hangar is a deployment platform: you connect a repository, Hangar builds it into a container, runs it in the region you pick and gives it a public address with HTTPS. There are no servers to set up and nothing to install.

This page takes you from an empty account to a running app, by the dashboard or by your AI agent.

What you need#

  • An app in a Git repository, or a prebuilt Docker image.
  • A Hangar account. Create one if you have not yet; the Free plan needs no card.

From the dashboard#

1. Name your first project#

After you sign up, Hangar opens on a short setup. Name your first project: it groups everything one product needs, its services, databases and environments, and starts with a production environment.

2. Pick a repository and a region#

Connect GitHub, choose the repository and the region closest to your users, and deploy.

Hangar detects the language and framework, builds the app and gives it an address with HTTPS. There is no port or domain to set: Hangar sets the PORT variable for your app, and the address works as soon as the deploy finishes. You can follow the build log live.

3. Push to deploy again#

From here on, every push to the branch triggers a new deploy. Each deploy is listed with its log, and you can roll back to an earlier one if a release goes wrong.

From your AI agent#

With Claude Code, add Hangar once:

Terminal
claude mcp add --transport http --scope user hangar https://mcp.tryhangar.io/mcp

Sign in when the agent asks, then, in your project, say: "Deploy this to Hangar and check the logs for errors." The agent creates the service, gives it an address, follows the build and reads the logs. AI agents (MCP) covers Cursor, VS Code and other clients.

Other sources#

To deploy from GitLab, Bitbucket, Gitea, any public Git URL or a Docker image, open a project and add a service. Then open its Settings → Networking and generate a domain, or add your own. Domains and HTTPS covers both.

Next steps#