Skip to content

Getting started

This page outlines how you can use StackBlitz to create quick demos or bug reproductions in StackBlitz classic editor or to open a GitHub repository in Codeflow IDE.

If you wish to immediately embed your project on your page check a page on manual embeds and SDK embeds. If you wish to learn how to import your project from GitHub, check the page on importing projects.

Picking a starter project

To start coding, navigate to the StackBlitz homepage. If you are not logged in, scroll down a bit to find a list of starter projects to choose from:

Available project starters

If you are logged in, you should see your dashboard:

Dashboard

To see a list of available project starters, click on the "New Project" button:

"New Project" button is highlighted

Next, you will see a modal with the available project starters:

Project Starter Dashboard

You can explore the different categories (for instance, “Popular”, “Frontend”, “Fullstack”) to find a technology stack that you’d like to try out.

Alternatively, you can also create a new project and see the full list of your projects (created by you or shared with you) in the "Projects" sidebar item:

Projects

Tip

Some frameworks also provide short URLs that you can use to create new StackBlitz projects. Check out the list of “.new domains” here.

Importing code for quick demos

Alternatively, you can also use StackBlitz classic editor to open an existing GitHub repository. This option is suitable for situations when there is no starter project for your favorite framework featured on the dashboard and you'd like to prepare a demo nevertheless.

Grouping your projects into Collections

If you'd like to group projects, you could create a Collection. This feature is helpful when you like to create a list of your demos or inspirational projects you've forked or can be used as your developer portfolio.

Managing projects on your Dashboard

Selecting multiple projects allows you to add them all to an existing Collection or delete them. To do so, select a few projects by clicking on the project logo, which will trigger a pop-up menu:

A few selected projects with a pop-up menu with options "Add to collection" and "Delete projects"

Opening a GitHub repository in Codeflow IDE

If you'd like to do more work or use VS Code extensions (or Vim), you can use StackBlitz Codeflow IDE, which spins up a whole dev environment with one click. To do so, click on the "Open GitHub repository" button on your dashboard:

"Open GitHub repository" button is highlighted

Next, you will see a modal prompting you to provide a GitHub repository URL:

GitHub URL prompt

After you provide the URL, click on the "Open repository" button, which will redirect you to Codeflow IDE:

Codeflow

Alternatively, you can also import a new repository and see the full list of your repositories in the "Repositories" sidebar item:

Repositories

Using StackBlitz on your site

If you’re writing a blog, maintaining a documentation site or an open source project, you can use StackBlitz to:

  1. Embed examples and demos on your page or in your blog posts.
  2. Add “Open in StackBlitz” buttons to your READMEs and docs.
  3. Generate custom projects on the fly with our JavaScript SDK.
  4. Use StackBlitz reproductions in GitHub bug issue templates!
  5. Make PR reviews safer and faster with CodeflowApp bot.
  6. Help your users edit your docs with live preview using Web Publisher.
  7. Provide a one-click environment with Codeflow IDE so other developers can submit bug fixes without setting up the local environment.

Happy coding!