Quickstart
Start building with Devin
Give Devin access to your GitHub
-
During onboarding follow the on-screen steps or go to Settings > Integrations to begin setting up the GitHub integration. Click on Connect.
-
Select the repo(s) you’d like to integrate.
-
If you cannot yet integrate your organization’s GitHub, integrate a personal GitHub account.
Setup Devin’s development environment upfront. You’ll be able to start new Devin sessions from this point, every time.
Follow these steps to get Devin onboarded. Start with the repository where most of your team works and where you want Devin’s contributions. Repositories can always be added at any point by going to Settings > Apps in GitHub to configure Devin’s repo access and at preview.devin.ai/workspace to complete the environment setup.
-
Clone the repository. This step will happen automatically once you connected your repositories.
-
Set up the environment using VS Code in the Devin onboarding flow. Install the necessary dependencies, configure secrets and environment variables, and verify the code can run before moving to the next step.
-
Set your startup commands. Startup commands will run automatically in ~ (home directory) at the start of every Devin session. Note that they execute in the order you provide them during onboarding. We recommend adding
git pull
, install your package manager (e.g.npm install
). -
Establish success criteria commands like run lint (e.g.
npm run lint
), run formatting (e.g.npm run format
), or run unit tests (e.g.npm run test
)
All Done!
Congrats! You’ve onboarded Devin and can start building together. Keep in mind that Devin works best when you:
- Tell Devin how to check its progress
- Break down big tasks
- Share detailed requirements upfront
- Run multiple sessions in parallel
If you need support please don’t hesitate to drop us an email at support@cognition.ai.