Get Started

This guide will show you how to install VS Code, install Elements, create your first app, and start building with AI.

Step 4 of 7

Install Elements

Show all steps
  1. 1Install VS Code

    VS Code is a free app for building software. Already have it? Go to the next step.

    Download VS Code
  2. 2Open VS Code

    Open VS Code from your Applications folder.

    Or press Command + Space, type "VS Code" and press Enter.

  3. 3Sign in to GitHub Copilot

    New to VS Code? It asks you to sign in when it first opens. Click Continue with GitHub.

    VS Code
    VS Code's first screen: Sign in to use GitHub Copilot, with Continue with GitHub VS Code's first screen: Sign in to use GitHub Copilot, with Continue with GitHub

    Already had VS Code? Click Sign In at the top right of the window.

    VS Code
    The Sign In button at the top right of VS Code The Sign In button at the top right of VS Code

    No GitHub account? Create one when you sign in. Copilot has a free plan.

  4. 4Install Elements

  5. 5Create a new app

    1. When the install finishes, press Shift + Command + P to open the command palette.
    2. Type "new app" and press Enter.
    VS Code
    VS Code's command palette with Elements: New App selected VS Code's command palette with Elements: New App selected
    1. Type a name for your app and press Enter. Or just press Enter and Elements names it for you.
    VS Code
    The name box Elements: New App opens, with myapp typed in The name box Elements: New App opens, with myapp typed in

    Your app opens in VS Code with the chat and a terminal.

  6. 6Start your app

    Type elements start in the terminal and press Enter.

    VS Code
    elements start typed into the terminal of the new app elements start typed into the terminal of the new app

    Your app opens in VS Code's browser, with the terminal below it and the chat beside it.

    VS Code
    The new app open in VS Code's browser, with the terminal and the chat The new app open in VS Code's browser, with the terminal and the chat
  7. 7Build with your agent

    Type what you want to build in the chat and press Enter. For example: Build a todo app with email and password login.

    VS Code
    A request typed into the chat beside the running app A request typed into the chat beside the running app

    The agent builds it while you watch.

    VS Code
    The agent working in the chat beside the running app The agent working in the chat beside the running app

    When it's done, your new app is running in VS Code's browser.

    VS Code
    The finished todo app with three tasks, running in VS Code's browser The finished todo app with three tasks, running in VS Code's browser