Ai Coding Tools

How to Set Up GitHub Copilot for Your First Project in Under 15 Minutes

By BTW Team3 min read

How to Set Up GitHub Copilot for Your First Project in Under 15 Minutes

If you're a solo founder or indie hacker, you know the struggle of juggling coding with everything else on your plate. Enter GitHub Copilot: an AI-powered coding assistant that can help you write code faster and more efficiently. But getting started can feel daunting, especially if you have a million other things to do. The good news? You can set it up for your first project in under 15 minutes. Let’s dive in.

Prerequisites for Setting Up GitHub Copilot

Before we get started, here’s what you need:

  1. GitHub Account: You should have an active GitHub account. Sign up for free if you don’t have one.
  2. Visual Studio Code (VSCode): Download and install VSCode, the code editor where Copilot will work its magic.
  3. GitHub Copilot Subscription: Copilot has a subscription model. As of June 2026, it’s priced at $10/month after a free trial.

Step-by-Step Setup Guide

Step 1: Install Visual Studio Code

  1. Download VSCode: Go to Visual Studio Code's website and download the version for your operating system.
  2. Install: Follow the installation prompts. This should take just a couple of minutes.

Step 2: Install the GitHub Copilot Extension

  1. Open VSCode: Launch the application.
  2. Go to Extensions: Click on the Extensions icon in the sidebar (or press Ctrl+Shift+X).
  3. Search for Copilot: Type "GitHub Copilot" in the search bar.
  4. Install: Click on the Install button for the GitHub Copilot extension.

Step 3: Sign in to GitHub

  1. Open a New File: Create a new file in VSCode (you can use any programming language, but let’s say JavaScript for this example).
  2. Sign In: When prompted, sign in with your GitHub account. This is where you’ll need to authorize the Copilot extension to access your account.
  3. Activate: After signing in, you’ll see a confirmation that Copilot is activated.

Step 4: Start Coding

  1. Write a Comment: Begin with a comment describing what you want to do, like // Function to add two numbers.
  2. See Suggestions: Copilot will automatically suggest code below your comment. Press Tab to accept a suggestion or keep typing to see more options.
  3. Refine: Edit the generated code as needed. You may need to adjust variable names or logic based on your requirements.

Step 5: Save and Test

  1. Save Your File: Use Ctrl+S to save your work.
  2. Run Your Code: Depending on your setup, you can run your code directly in VSCode or through your terminal.

Troubleshooting Common Issues

  • Copilot Not Suggesting Code?: Make sure the extension is enabled. Check your VSCode settings under Extensions.
  • Authorization Issues: If you can't sign in, double-check your GitHub account permissions and ensure you have a Copilot subscription.
  • Slow Suggestions: This can happen if your internet connection is unstable. Try restarting VSCode or checking your network.

What's Next?

Once you’ve got Copilot running, consider exploring these features:

  • Pair Programming: Use it alongside another developer for collaborative coding.
  • Learning New Languages: Experiment with different programming languages by writing comments and letting Copilot guide you.
  • Integrate with GitHub Actions: Automate deployments or testing workflows using Copilot to suggest YAML configurations.

Conclusion

Setting up GitHub Copilot for your first project can be done in under 15 minutes, making it a valuable tool for indie hackers looking to boost productivity. Whether you’re just starting or looking to speed up your development process, Copilot can help you write code faster and learn as you go.

Start here: Follow the steps above, and you'll be coding with Copilot in no time.

Follow Our Building Journey

Weekly podcast episodes on tools we're testing, products we're shipping, and lessons from building in public.

Subscribe

Never miss an episode

Subscribe to Built This Week for weekly insights on AI tools, product building, and startup lessons from Ryz Labs.

Subscribe
Ai Coding Tools

Why GitHub Copilot is Overrated: 7 Myths Exploded

Why GitHub Copilot is Overrated: 7 Myths Exploded As indie hackers and solo founders, we’re always looking for tools that genuinely enhance our productivity and streamline our work

Jul 18, 20264 min read
Ai Coding Tools

How to Create a Simple Web App Using AI Coding Assistants in 2 Hours

How to Create a Simple Web App Using AI Coding Assistants in 2026 Building your first web app can feel like a daunting task, especially if you're not a seasoned developer. But what

Jul 18, 20264 min read
Ai Coding Tools

Why GitHub Copilot Might Be Overrated: A Critical Look at AI Coding Tools

Why GitHub Copilot Might Be Overrated: A Critical Look at AI Coding Tools As a solo founder, I’ve spent countless hours trying to find the best tools to streamline my workflow and

Jul 18, 20264 min read
Ai Coding Tools

Top 5 AI Coding Tools You Should Be Using in 2026

Top 5 AI Coding Tools You Should Be Using in 2026 As a developer in 2026, you might feel overwhelmed by the sheer number of AI coding tools available. While some tools promise to r

Jul 18, 20264 min read
Ai Coding Tools

Cursor vs GitHub Copilot: An Unbiased Review of 2026

Cursor vs GitHub Copilot: An Unbiased Review of 2026 As a solo founder or indie hacker, you know that time is money. When it comes to coding, every minute saved can translate into

Jul 18, 20263 min read
Ai Coding Tools

Top 10 AI Coding Tools for Professional Developers 2026

Top 10 AI Coding Tools for Professional Developers 2026 As a professional developer in 2026, you’re probably feeling the pressure to write cleaner code faster while managing increa

Jul 18, 20265 min read