# How Kinsta Static Site Hosting Works
Kinsta Static Site Hosting operates like this:
- You connect a repository stored on a Git provider like (BitBucket (opens new window), GitHub (opens new window), and GitLab (opens new window)) to your Kinsta account.
- Kinsta takes your static website files and deploys them on the internet.

You have two options for deploying your static site with Kinsta Static Site Hosting:
- If your static files are in the root of your repository or in a directory within it, Kinsta will serve them directly.
- If you use a Static Site Generator (opens new window) (SSG) based on Node.js, Kinsta can build static files from your source code before serving them.