# Quick Start

## Using .Net Template

Fastest way to get started is using the .Net Template, firstly install the ZauberCMS template (--force just makes sure you install the latest one)

#### This is v4 RC and still in .NET 9 for you to test, when released this will be updated to .NET 10.

```
dotnet new install ZauberCMS.Template::4.0.0-rc.5.6 --force
```

Then simple create your solution using the below:

```
dotnet new zaubercms -n "YourSiteName"
```

Watch this website build tutorial for more information

{% content-ref url="/pages/yoe56LOdeAhC5sfzFIz0" %}
[Website Build Video Tutorial](/zaubercms/creating-a-website/website-build-video-tutorial.md)
{% endcontent-ref %}

### Using Nuget

If you want to use the Nuget package manually you can follow this video.

{% embed url="<https://www.youtube.com/watch?v=zUjL_u-rN3M>" %}
Video showing how to get started with the Nuget package
{% endembed %}

1. Create a new Blazor project
2. Clear out everything, so you are left with just the `wwwroot` and an empty `program.cs` like below
3.

```
<figure><img src="/files/QcANkr8YUtt1g9XhcQmR" alt=""><figcaption><p>Blank Blazor App</p></figcaption></figure>
```

4. Now install the ZauberCMS nuget package
5. ```
   dotnet add package ZauberCMS
   ```
6. In your Program.cs, update it to add the AddZauberCMS methods to the builder and the app and the correct namespaces
7. ```csharp
   using ZauberCMS.Components;
   using ZauberCMS.Core.Plugins;

   var builder = WebApplication.CreateBuilder(args);

   builder.AddZauberCms();

   var app = builder.Build();

   app.AddZauberCms<App>();

   app.Run();
   ```
8. Now build your solution, and the ZauberCMS `appSettings.json` default will be added to the solution,&#x20;
9. Now just build and run the app and you'll see the install page with instructions to browse to /admin and create an account. The first account created will be made and admin, and it will redirect you to the admin.

### Starter Site

Currently the repo for ZauberCMS on Github comes with the starter site out of the box and uses SQLite.

#### Get Up & Running

* Clone the repo
* Build and run the app
* When the starter site loads
* Go to /admin&#x20;
* Register as a new user and you will be redirected to the admin


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aptitude.gitbook.io/zaubercms/getting-started/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
