> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suga.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart Guide

> Deploy your first application with full version control and audit trails

Deploy your first application with full version control and audit trails. Every change you make will be tracked, versioned, and instantly rollback-able.

<video autoPlay muted loop playsInline alt="Suga quickstart video" className="w-full aspect-video rounded-xl" src="https://mintcdn.com/nitric/-A2B3bvNIwKzai_W/images/quickstart.mp4?fit=max&auto=format&n=-A2B3bvNIwKzai_W&q=85&s=28331a8acc84cac080f471c6054883f3" data-path="images/quickstart.mp4" />

## Create Your Account

Head to [dashboard.suga.app/signup](https://dashboard.suga.app/signup) and complete the signup process. You'll create an organization and choose your cluster option (Suga Cloud or bring your own cluster).

## Create a Project

Click **New Project** in the dashboard. Your project is created and the canvas opens automatically.

## Add a Function

Click the **Add Service** button and select **Function** from the modal. A new Deno function appears on the canvas with a default Hello World handler.

## Configure Public Access

<Steps>
  <Step title="Select the function">
    Click on the function you just added to open the properties panel.
  </Step>

  <Step title="Add HTTPS Domain">
    Go to the **Config** tab and find the **Public Network** section. Click **Add Endpoint** and select **HTTPS Domain**.

    Functions default to port 8080, which is automatically added to the **Private Network** → **Ports** list. The HTTPS Domain will route public traffic on port 443 to this private port.

    This automatically provisions a TLS certificate, configures DNS, and routes public HTTPS traffic to your function. You'll get a generated URL like `https://9xyz5abc1def-production.ghi3jkl8.suga-2mno6pqr.com`.
  </Step>
</Steps>

## Deploy

Click **Deploy Changes** in the top right. Enter a commit message explaining what you're deploying (e.g., "Initial deployment of Hello World function"). This message becomes part of your deployment history, creating an audit trail of all infrastructure changes.

Deployments typically complete in 2-4 seconds, maintaining the speed of click-ops with the discipline of Infrastructure as Code.

## Test Your Function

Once deployed, open the HTTPS URL from the public networking configuration. You should see a JSON response: `{ "message": "Hello from Deno function!" }`.

<Check>
  Your first function is live on the internet with HTTPS!
</Check>

## What We Just Did

In addition to deploying a function, you've created a versioned, auditable infrastructure deployment:

1. **Deployment History** - Your deployment is recorded with a commit message, timestamp, and author. View it in the Deployments tab.
2. **Instant Rollback** - You can roll back to this exact state anytime, restoring the complete infrastructure configuration.
3. **Environment Forking** - You can fork this environment to create an isolated copy for testing changes.
4. **Complete Audit Trail** - Every future change will be tracked with who, when, and why.

Suga automatically handled:

* TLS certificate provisioning via Cloudflare
* DNS configuration and Cloudflare CDN setup
* WAF and DDoS protection
* Load balancing
* Zero-downtime deployment orchestration

All infrastructure changes are now version controlled, just like code. No configuration files, no multi-minute deployments, no lost history.

## Next Steps

<CardGroup cols={2}>
  <Card title="Services" icon="server" href="/concepts/services">
    Learn about containers and functions
  </Card>

  <Card title="Storage" icon="database" href="/reference/storage">
    Add databases and persistent storage
  </Card>

  <Card title="Observability" icon="chart-line" href="/reference/observability">
    Monitor your application with logs and metrics
  </Card>

  <Card title="Core Concepts" icon="book" href="/concepts/overview">
    Learn about projects, environments, and deployments
  </Card>
</CardGroup>

## Need Help?

* Join our [Discord community](https://suga.app/chat) for support
* Email us at [support@suga.app](mailto:support@suga.app)
* Browse the [full documentation](/concepts/overview)
