# Build your assignment

In four easy steps you can build your own assignment in CodeGrade.

{% content-ref url="/pages/-MLxNHbt2dT3s4i1eyTZ" %}
[Create assignment](/setup-assignment/build-assignment/creating-an-assignment.md)
{% endcontent-ref %}

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

{% content-ref url="/pages/-MMKlIAjb5fC1Bl7IxD3" %}
[Add Rubric](/setup-assignment/build-assignment/setting-up-a-rubric.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MLxJid2za9q19Ha5eMn" %}
[Add Automatic Grading](/setup-assignment/build-assignment/creating-automatic-tests.md)
{% endcontent-ref %}

Alternatively, you can start by importing a previous assignment after you create an assignment:

{% content-ref url="/pages/-MLxNHbt2dT3s4i1eyTZ" %}
[Create assignment](/setup-assignment/build-assignment/creating-an-assignment.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MdHzkWW4tP\_gHD6EmVA" %}
[Importing a previous assignment](/setup-assignment/build-assignment/creating-an-assignment/importing-a-previous-assignment.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.codegrade.com/setup-assignment/build-assignment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
