# 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.

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](https://tryhangar.io/register) 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](https://tryhangar.io/docs/deployments) to an earlier one if a release goes wrong.

## From your AI agent

With Claude Code, add Hangar once:

```bash
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)](https://tryhangar.io/docs/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](https://tryhangar.io/docs/domains) covers both.

## Next steps

- Add a database and connect it to your app: [Databases](https://tryhangar.io/docs/databases).
- Set configuration and secrets: [Environment variables](https://tryhangar.io/docs/environment-variables).
- See logs, metrics and traces, and set alerts: [Observability](https://tryhangar.io/docs/observability).
- Let others deploy your project in one click: [Deploy on Hangar button](https://tryhangar.io/docs/deploy-button).
- Understand what you will pay: [Pricing](https://tryhangar.io/pricing).
