> For the complete documentation index, see [llms.txt](https://help.codegrade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codegrade.com/setup-assignment/build-assignment/creating-an-assignment/in-canvas.md).

# In Canvas

Follow the steps below to create a new CodeGrade assignment in Canvas:

1. Click the **"+ Assignment"** button in Canvas.
2. Under submission type, select **"External Tool"**.
3. Under **"Enter or find an External Tool URL"** click the **"Find"** button.
4. In the dialog, select **"CodeGrade"** and click **"select"**.
5. Add your Due date and other Canvas options and finally save your assignment.
6. Your assignment will automatically open in Canvas and the CodeGrade environment will be visible.

{% hint style="success" %}
Grades are automatically sent back to Canvas after setting [the **assignment state** to **Done** in CodeGrade.](/faq/releasing-grades-and-feedback.md) While the assignment is in the **Done** state, all grades and changes to grades are immediately sent back to Canvas.
{% endhint %}

Now, go ahead and set up the General Settings:

{% content-ref url="/pages/F0zZ1aj7XLlwCqbDZYOz" %}
[General settings](/setup-assignment/build-assignment/general-settings.md)
{% endcontent-ref %}
