Skip to content

Creating a Studio project

Create a Studio project from a ready-to-deploy template or connect an existing Astro repository from GitHub. Both paths walk you through a guided wizard that configures your repository, sets up deployment secrets, and generates a GitHub Actions workflow so your site is live within minutes.

Start from a templateImport an existing repository
Time~2 minutes~3 minutes
GitHub requiredYesYes
Best forNew projects that need a working starting pointExisting Astro repositories you want to manage in Studio

Navigate to Studio and click New Project, then select Start from Template.

Browse the available templates and select a framework. Options include Astro blog, docs, portfolio, and more. Each template is a fully configured Astro project with content collections, layouts, and example content already in place.

If you have not already connected a GitHub account, Studio prompts you to authorise the Quant GitHub App. Select the account or organisation where you want the new repository created.

Fill in the project details:

FieldDescription
Repository nameThe name of the new GitHub repository that will be created for you
VisibilityChoose Public or Private for the repository
Project nameThe display name used inside Quant for this project

Click Create to start the wizard. You can follow progress in real time as each stage completes:

  1. Creating repository
  2. Creating project
  3. Setting up secrets
  4. Generating workflow
  5. Deploying

Once the wizard finishes you are redirected to the collection browser with pre-configured content from the template. Your site is already deployed and live.

Navigate to Studio and click New Project, then select Import from GitHub.

Choose your GitHub installation, then browse or search for the repository you want to import.

Studio analyses the repository and reports what it finds. You will see whether an Astro config was detected, which content collections exist, and an annotation analysis showing click-to-edit support across your templates.

Confirm or adjust the project settings:

FieldDescription
Deployment branchThe branch that triggers production deployments (typically main)
Project nameThe display name used inside Quant for this project

Click Create to start the wizard. Studio creates the project, configures deployment secrets, and generates the GitHub Actions workflow for your repository.

When you import a repository, Studio scans the codebase to understand its structure and capabilities. The results drive how Studio configures the project.

Detected itemWhat Studio looks forWhy it matters
Astro configastro.config.mjs or astro.config.tsConfirms the project uses the Astro framework
Content collectionsDirectories under src/content/ with a config.tsPopulates the collection browser with editable content
Zod schemasSchema definitions exported from src/content/config.tsDrives automatic form generation for structured editing
Layouts.astro layout files referenced by content pagesProvides template scaffolding for the visual editor
Route patternsFile-based routing under src/pages/ and collection slugsGenerates preview URLs for each piece of content
Click-to-edit annotationsdata-quant-field attributes in Astro templatesEnables visual editing — clicking a rendered element opens its field in the editor

After the wizard completes, the following items are automatically set up in your repository and Quant project:

ItemDetails
GitHub secretsQUANT_TOKEN, QUANT_CUSTOMER, and QUANT_PROJECT are added to the repository so the deployment workflow can authenticate with QuantCDN
Deployment workflowA quant-deploy.yml GitHub Actions workflow is committed to the repository, triggered on pushes to the deployment branch
Collection pathsPaths to each detected content collection are stored in the project configuration so the collection browser knows where to find your content
Route patternsDetected route patterns are mapped to preview URLs, enabling live previews for every page in the project