# Quickstart

## Before you start - checklist

* ✅ Access to your GitHub to add integrations
* ✅ Permission to read/write to at least one repo
* ✅ (Optional) Your team’s task tool (Jira/Linear/Asana) and Slack
* ✅ (Optional) A small, non‑critical task you’re happy to try first

## Quick start in 10 steps

1. **Create your account**

   * Open the Cosine platform and sign up with your work email.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FNqDiv4P7nRs4kEaTgBOg%2Fimage.png?alt=media&#x26;token=98442e0a-caf4-43aa-876b-7efc24c2aa7a" alt=""><figcaption></figcaption></figure>

2. **Connect your code**

   * Link your GitHub/other git provider and import one or more repos you want Cosine to work on (you can also start a new project from a template).

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2F007TBuO0T7S0v9OujX9p%2Fimage.png?alt=media&#x26;token=800a5b08-b371-4569-b30f-44bd4e063a3c" alt=""><figcaption></figcaption></figure>

3. **Pick a project**

   * From the Projects page (second tab at the top), select the repo/project you just imported.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FmFO1plBBXamuAfw7Zaxs%2Fimage.png?alt=media&#x26;token=9818950a-8d18-4965-bf56-6f3a076809ea" alt=""><figcaption></figcaption></figure>

4. **Tell Cosine what you want**

   * Use the New task / prompt box. Be simple: describe the bug or feature and any acceptance criteria (what “done” looks like).

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2Fvw8HCHn1v7ofDCVyy6k1%2Fimage.png?alt=media&#x26;token=258d6f80-5d2f-448b-b833-e7b632e99df2" alt=""><figcaption></figcaption></figure>

5. **(Optional) Kick off from Jira/Linear/Slack**
   * Instead of typing a prompt, you can trigger tasks by tagging/labelling a ticket in Jira/Linear or by mentioning @cosine in a Slack thread. Details below.

6. **Start the task — then walk away**

   * Cosine works asynchronously. Don’t babysit it. Queue several tasks if you like.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FDWNgjJBVeNviPoydPZPI%2Fimage.png?alt=media&#x26;token=aa733ae6-b9b8-4c01-8355-6bc0e7e23ee6" alt=""><figcaption></figcaption></figure>

7. **Come back to review**

   * Open the task to see what Cosine did: the plan, code changes and validation runs.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FFfQHHOliae7LWTfr20an%2Fimage.png?alt=media&#x26;token=9d5b0ba1-77e8-4827-87c3-34deaa516dd5" alt=""><figcaption></figcaption></figure>

8. **Review the pull request (PR)**

   * Read the diff, view test/CI status, and add comments if you want tweaks.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FyxWns9f1nEJ3oSmRmP1s%2Fimage.png?alt=media&#x26;token=06537f2b-a28f-42e7-872a-65bf7cdacbab" alt=""><figcaption></figcaption></figure>

9. **Ask for changes or iterate**

   * Type follow‑ups (e.g., “Make the button blue and add a test”). Cosine updates the branch/PR.

   <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2F7YptH7Ty9mOkXqyxq6fY%2Fimage.png?alt=media&#x26;token=958fd691-c3b5-4758-bb80-6aeccbf4fb4c" alt=""><figcaption></figcaption></figure>

10. **Merge**

    * When happy, merge the PR from Cosine or from your git host. To do this, select the PR icon on the right-hand side (second from the top) and click Merge. Done.

    <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FAKuUYgFE4DvlwrT6AJ9s%2Fimage.png?alt=media&#x26;token=d907249d-32c6-43fc-beb8-c54fc6bf989b" alt=""><figcaption></figcaption></figure>

***

## What are the icons on the Cosine platform?

In order:<br>

* **Explorer:** allows you to look in and select specific files for Cosine to work in. You can search over file names and paths.
* **PR:** allows you to view PRs and merge.
* **Source control:** lets you view the code changes directly.
* **Search:** lets you search in the actual code base of files.
* **Preview:** shows you the impact of the change on the site.
* **Tickets:** can integrate with Jira / Linear / Slack.
* **Workflows:** shows you CI checks and their status.
* **Settings:** lets you change the underlying model you’re using, and choose where to merge your PR into.

<figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FelAxSOmA4twc1DpwMaLn%2Fimage.png?alt=media&#x26;token=e600c3c7-f6a7-4409-9fd3-8d8df4de4106" alt=""><figcaption></figcaption></figure>

***

## Common ways to give Cosine a task

**A. On the platform (fastest):**

* Open your project → New task / prompt → Describe the change → Submit.

**B. From Jira/Linear:**

* Add your integration once.
* On a ticket, **apply the Cosine label/tag** your workspace uses (e.g., “cosine”). That’s it — Cosine will pick it up and start.

**C. From Slack:**

* In a relevant channel/thread, mention **@cosine** and say what you want (or ask it to take the ticket discussed above).
* Or open the Cosine side‑panel in Slack to get the full app experience without leaving Slack.

***

## What you’ll see on the platform

* **Task timeline & plan**

  * What it intends to do and why.

  <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FOV5mTFT9rcALfxWZUuR7%2Fimage.png?alt=media&#x26;token=002df523-5a9f-402d-9204-0785087585a5" alt=""><figcaption></figcaption></figure>
* **Code changes**

  * Diffs grouped by file (Third icon on the right-hand side).

  <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FURyJzXYptedjE93uXUvT%2Fimage.png?alt=media&#x26;token=32e7d224-4752-4176-af7d-e6f722cb3458" alt=""><figcaption></figcaption></figure>
* **Validation**

  * Local code execution and CI status for the PR (Second last icon on the right-hand side).

  <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FlalkD6L0HRqHfBNqfUou%2Fimage.png?alt=media&#x26;token=b10d1beb-bf0b-42b7-bbb6-8c863ed66d47" alt=""><figcaption></figcaption></figure>
* **Controls**

  * Ask for changes, re‑run, or merge when satisfied.

  <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FGBi5lROpjMoVn3X2eRXT%2Fimage.png?alt=media&#x26;token=47876244-5039-4c2e-b808-ae19275f152b" alt=""><figcaption></figcaption></figure>

***

## Tips that 10x results

* **Don’t hover:** Kick off 5–10 small tasks; come back later to review.
* **Add acceptance criteria:** Tell it how you’ll judge “done”.
* **Start small:** Non‑critical bugs/UX tweaks are perfect first wins.
* **Let it clarify:** If your ask is vague, Cosine will ask you questions; answer briefly and keep moving.
* **Turn on AutoDoc when you want docs:** It writes and keeps project docs up‑to‑date as code changes. (To do so, enter a Project and then select “Autodoc” rather than “Tasks” in the header)

  <figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2Foonm6sRkJp9zUKv0u1QN%2Fimage.png?alt=media&#x26;token=17456243-de93-4ed0-b6b6-1de604e1868b" alt=""><figcaption></figcaption></figure>

***

## Troubleshooting basics

* **Nothing happened?** Check the task page for errors; re‑submit or slightly narrow the ask.
* **It asked questions.** That’s normal — answer directly; it will continue.
* **Tests failing?** Ask Cosine to fix failing tests and re‑run.
* **Private repos okay?** Yes — as long as your user has access.

***

## First‑task ideas you can try today

* “Fix the header logo alignment on mobile (<768px). Add a test.”
* “Add a ‘Resend verification email’ button on the account page with success/error toasts.”
* “Refactor legacy utils/date.js to TypeScript, add unit tests for parseDate and formatDate.”
