Ai Coding Tools

How to Integrate GitHub Copilot for Efficient Coding in 2 Hours

By BTW Team4 min read

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

In short

A step-by-step guide on setting up and leveraging GitHub Copilot to increase your coding productivity and how quickly you can start coding with AI assistance.

If you're a solo founder or indie hacker, you know the struggle of juggling multiple tasks while trying to code efficiently. The thought of having an AI assistant that can help you write code faster sounds appealing, but many of us are skeptical about whether tools like GitHub Copilot actually deliver on that promise. I've been using GitHub Copilot for a while now, and I can say it’s a game changer—if you know how to set it up properly. In this guide, I’ll walk you through how to integrate GitHub Copilot into your workflow in just 2 hours.

Prerequisites: What You'll Need

Before diving into the integration process, make sure you have the following:

  • GitHub Account: Create one if you haven’t already. It’s required for access.
  • Visual Studio Code (VS Code): Install the latest version of VS Code, as Copilot works as an extension for it.
  • GitHub Copilot Subscription: Copilot costs $10/month or $100/year as of 2026. Make sure to sign up for a subscription.
  • Basic Coding Knowledge: You should be familiar with coding concepts and have a project to work on.

Step-by-Step Integration

Step 1: Install Visual Studio Code (10 minutes)

  1. Download and install Visual Studio Code from here.
  2. Open VS Code after installation.

Step 2: Install GitHub Copilot Extension (10 minutes)

  1. Open the Extensions view in VS Code by clicking on the Extensions icon in the Activity Bar on the side.
  2. Search for “GitHub Copilot” and click on the install button.
  3. After installation, you may need to reload your VS Code.

Step 3: Authenticate with GitHub (15 minutes)

  1. Open a new file in VS Code and start typing.
  2. You should see a prompt asking you to sign in to GitHub. Click on it.
  3. Follow the authentication steps to link your GitHub account with Copilot.

Step 4: Configure Settings (15 minutes)

  1. Go to Settings (File > Preferences > Settings).
  2. Search for “Copilot” and adjust settings according to your preferences, such as enabling suggestions for specific languages.
  3. Make sure to enable inline suggestions for better usability.

Step 5: Test Copilot (20 minutes)

  1. Create a new JavaScript or Python file in VS Code.
  2. Start typing a function or a comment describing what you want to accomplish. For example, type // function to calculate the sum of an array.
  3. Hit Enter and see the suggestions from Copilot. Accept or reject suggestions as you see fit.

Step 6: Optimize Your Workflow (30 minutes)

  1. Explore advanced features such as multi-line suggestions by typing longer comments.
  2. Use keyboard shortcuts to accept or reject suggestions more efficiently.
  3. Experiment with Copilot in different languages and frameworks to see how it adapts.

Troubleshooting: What Could Go Wrong

  • Copilot Doesn’t Suggest Anything: Make sure you’re typing in a supported language and that you’re authenticated.
  • Suggestions Don’t Make Sense: This can happen. Copilot learns from the context, so the better your comments and code structure, the better the suggestions.
  • Performance Issues: If you experience lag, try disabling other extensions temporarily to see if that resolves the issue.

What's Next: Continue Improving Your Coding Efficiency

Once you’ve set up GitHub Copilot, consider integrating additional tools to further enhance your productivity:

  • Prettier: A code formatter that works well with Copilot.
  • ESLint: For JavaScript projects, to maintain code quality.
  • Git: Version control is essential for any project.

Conclusion: Start Here

Integrating GitHub Copilot into your coding workflow can significantly boost your productivity, especially if you’re working on side projects or indie ventures. The initial setup takes about 2 hours, but the time savings in coding can be exponential. Don’t hesitate to experiment with different settings and see how Copilot can best serve your development style.

What We Actually Use

While GitHub Copilot is our go-to AI coding assistant, we also use Prettier and ESLint for formatting and linting. These tools complement Copilot well, allowing us to maintain code quality while benefiting from AI suggestions.

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