# AstroJs

Step 1: Import your Git repository

Go to the [ToyStack Dashboard](https://dashboard.toystack.ai) and create a new project using your repository.

## Step 2: Select Astro as your Framework Preset

ToyStack can automatically deploy your Astro projects. Simply select Astro as the preset while deploying the application.

<figure><img src="https://3980355268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3kWmYTC5OSJ5vltL8xU%2Fuploads%2FX0sqMysqNe83RlBQoIf2%2Fimage.png?alt=media&#x26;token=d0cf08f3-142c-4e77-abce-6f66e7f6b5a2" alt=""><figcaption></figcaption></figure>

## Step 3: Specify Build Commands

There may be framework specific build commands that are needed for your application. You can specify that in the configuration.

<figure><img src="https://3980355268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3kWmYTC5OSJ5vltL8xU%2Fuploads%2F2eaz7LHazsulFHXMznt4%2Fimage.png?alt=media&#x26;token=c5c04a2c-eeb6-4cf0-b184-7c5dd25588ea" alt=""><figcaption></figcaption></figure>

## Step 4: Input environment variables

For detailed instructions, please see the [Environment Variables](https://docs.toystack.ai/get-started/environment-variables-setup) page.

## Step 5: Choose a plan

<figure><img src="https://3980355268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3kWmYTC5OSJ5vltL8xU%2Fuploads%2Fauh8qt8XzT608Rzyi4pO%2Fimage.png?alt=media&#x26;token=507154da-a582-426e-ac82-ddf8802579d3" alt=""><figcaption></figcaption></figure>

## Step 6: Deploy

Simply select the branch you want to deploy, its deployment validity and ToyStack will deploy it.
