Skip to content

Connecting Your Code

Cosine operates as a GitHub App, allowing it to interact with your repositories securely.​

  1. Install the Cosine GitHub App: During onboarding or when adding a new project, you’ll be prompted to install the Cosine app.​
  2. Authorize Access: You’ll be redirected to GitHub to authorize the app.​
  3. Select Repositories: Choose the repositories you want Cosine to access.​
  4. Confirm Installation: Click Install & Authorize.​

Once authorized, Cosine will have access to the selected repositories.​

With GitHub connected, importing a repository is straightforward:​

  1. Navigate to the Dashboard: From Cosine’s main dashboard, click on New Project.​
  2. Select Repository: You’ll see a list of repositories you’ve authorized.​
  3. Import: Click Import next to the repository you want to work on.​

Cosine will begin indexing your codebase, preparing it for task assignments.​

Each repository you import becomes a separate project within Cosine.​

  • Adding New Projects: Repeat the import process for additional repositories.​
  • Removing Projects: To remove a project, navigate to its settings and select Delete Project.​

Note: Deleting a project is irreversible. Ensure you no longer need Cosine’s assistance with it before proceeding.

Within each project’s settings, you can configure various preferences:​

  • Task Settings: Define how Cosine should handle tasks for this project.​
  • Workflows: Specify CI workflows Cosine should monitor.​
  • Integrations: Connect third-party services like Vercel, Linear, or Jira.​
  • Events: Set preferences for how Cosine responds to events, such as ignoring bot comments on pull requests.​
  • Reinitialize Project: If Cosine encounters issues, reinitializing can help sync it with the latest state of your repository.​

By configuring these settings, you tailor Cosine’s behavior to fit your project’s needs.​


With your repositories connected and projects configured, Cosine is ready to assist you in streamlining your development workflow.​