# Quickstart

### Step 1: Get access to the repository

Create a Lightning Rails account on the offical website. As the account is created with Github Oauth, you will receive an automatic invitation to [Lightning Landing Repo](https://github.com/LightningRails/lightning-landing).

{% embed url="<https://lightningrails.com>" %}
Create an account here.
{% endembed %}

After accepting the Github Invite, Follow these steps to quickly set up your new portfolio/landing page using the Lightning Landing boilerplate.

### Step 1: Clone the Repository

First, clone the [Lightning Landing repository](https://github.com/LightningRails/lightning-landing) to your local machine. Open your terminal and run:

```bash
gh repo clone LightningRails/lightning-landing mysupercoolpage
```

{% hint style="info" %}
If you are getting `ERROR: Repository not found. fatal: Could not read from remote repository.`

`Make sure that you have accepted the Github Invitation on your email after creating the account License. Or that the github account in your terminal is the same you signed up with.`
{% endhint %}

This creates a clone of the lightning landing repo, which is great! But we only want the source code, not the GitHub origin or all your code would be pushed to the source repo 🫣

Let's fix it by removing the Origin and creating a new one...

### Step 2: Remove and change the remote

After cloning the repository, navigate to the project directory:

```bash
cd mysupercoolpage
```

First, let's remove the source code remote in your terminal:

```bash
git remote remove origin
```

Then we will create a new repository in our GitHub account and assign the current directory as source.

```bash
 gh repo create --public --source=.
```

Commit and push your first commit

```bash
ga .
gc -m "First commit"
git push origin master
gh repo view -w
```

Start your server in your terminal:

```bash
serve
```

Et Voila! You officially have the Lightning Landing template on your own GitHub account. Now let's look at how fast we can build a static landing page.

### Optional: Create a Get Waitlist account

If you wish to gather emails to validate your next SaaS business, you can create a get waitlist account and add the button in your Landing Page CTA's

{% embed url="<https://getwaitlist.com/>" %}


---

# 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://docs.lightningrails.com/getting-started/lightning-landing/quickstart.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.
