Skip to main content

Start from GitHub Repository

This guide shows you how to import an existing public GitHub repository into Código Hub.
Just drop in a GitHub link and Código will set everything up for you in seconds so you can keep building with our devAI assistant.


1️⃣ Create Your Workspace

Start by creating a new workspace in Código Hub.
Click the green NEW button in the top-left corner of the dashboard.

You’ll be prompted to enter:

  • A workspace name
  • A smart contract name
Workspace creation

2️⃣ Import Your GitHub Repository

After the workspace is created, you'll see an option to import code from GitHub.

Click the Import GitHub button.

Workspace creation

Paste the URL of your public GitHub repository (e.g. https://github.com/solana-developers/program-examples) into the prompt.

Github Modal

3️⃣ Wait for Import to Complete

Once submitted, Código will fetch your project files and structure them into the workspace.
You’ll see a loading indicator, followed by a confirmation once the import is complete.

This typically takes just a few seconds.

Github import done modal

4️⃣ Continue Building with AI

Your GitHub repo is now available in the Código IDE.
You can use all features like:

  • Prompt-based file generation
  • Autocompletion for business logic
  • Visual test interface
  • Build & deploy from the terminal

✅ You’ve successfully brought your code into Código. You’re now ready to build smarter and faster!

Workspace with github repository imported

🚀 Next Steps

👉 How to Build & Deploy My Program
👉 How to Write and Run Unit Tests
👉 How to Implement Business Logic with AI Autocompletion