There are two workflows for adding a new Gatsby Cloud site:
- Start from a Template
- Import from a Git Repository
In this lesson, we'll use the "Start from Template" flow. Note, templates are only supported for GitHub. If you use GitLab, you have to follow the Create a Site from a Repository lesson instead.
1. Choose Your Starter Template
From your Gatsby Cloud Dashboard, click the Add Site button.
Choose Start from a Template then click Next.
Choose the "Blog" template, then click Next, again.
2. Configure Your Repository
The first time you set up a Gatsby Cloud site, you will be asked, "Where should we host this new project?" Click Select Destination.
Next, a pop up window should appear and prompt you to install the Gatsby Cloud app to your GitHub personal account. Click Install.
After the GitHub app is installed, you will return to Gatsby Cloud. Enter a name in the "What should we call your new project?" field, then click Next to create the site.
3. Set-up Summary
After the site is created, you should see a success message like the one below on the Summary tab. You may need to scroll down if you are unable to see the card with the link to the GitHub repository.
Click Finish and you will be taken to the Deploys tab of Site Overview page for your new site.
Once your site is done building you can preview it at the build link provided.