Import your GitHub repository

Estimated time: 5 minutes

You can import your GitHub repositories and turn them into Replit Apps to run, test, and deploy your code. This guide covers:

  • Connecting your GitHub account to Replit
  • Importing repositories using different methods
  • Configuring and running GitHub repositories
  • Working with private repositories
  • Adding a “Run on Replit” badge

Rapid import

Rapid import works instantly with public repositories. Combine the Replit import URL with your GitHub repository URL to start the import process.

Guided import

Guided import steps you through the process of selecting a repository to import and supports public and private repositories.

Configure and run your app

During the import process, Replit attempts to set your app’s language, dependencies, and workflow. If your app doesn’t run as expected, Replit offers the following workspace tools to help you resolve the issues:

  • Assistant: Diagnose and fix setup issues using AI-powered assistance.
  • Configure Repl: Configure your app’s language, dependencies, and workflow.
  • Secrets: Securely add environment variables your app depends on.
  • Workflows: Configure the Run button to your preferred command.

Continue your journey

Now that you’ve set up your app, learn more about what you can do with your Replit App from the following resources: