Ai Coding Tools

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

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

A step-by-step tutorial on configuring GitHub Copilot to enhance your code-writing efficiency, tailored for beginners.

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.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read