# Using a coupon to enroll in a course

Some courses that are offered with CodeGrade require a coupon code for you to enroll. This guide will show you step by step how you can enroll in a paid course in CodeGrade using a coupon code.

* Sign up or sign in to CodeGrade or access CodeGrade via your Learning Management System.

**Opening a paid CodeGrade course via your Learning Management System (e.g. Canvas, Blackboard, Brightspace, Moodle, etc.):** Open any assignment in the course to navigate to a CodeGrade window (inside your LMS) and payment window.

**Signing up or in to CodeGrade directly:** After logging in you will find an overview of your courses and you can navigate to the course you have to pay for.

* Click on the link in the payment message (or the Checkout button). This will show the checkout pop-up. In this checkout pop-up, press the "**Or pay with coupon**" drop-down button.

![Select the "Or pay with coupon code" option to enroll with your coupon code.](/files/UkbWMGGIir8cwo3L81ih)

* You can now fill your coupon code and press "**Use coupon"** to use your coupon to enroll in the paid course.

![Fill in your coupon code to enroll in a paid course.](/files/niT1VELtueLVEugVvi8p)

* After a successful paying with your coupon, you will be taken back to the assignment and you can start handing in right away!

{% hint style="success" %}
Please carefully save your payment confirmation email, as this contains important information if you would ever need supports and contains your username.
{% endhint %}

**You You are now ready to start using CodeGrade and handing in to your assignments! Learn how to use CodeGrade below:**��

{% content-ref url="/pages/-MLxE6X-jqRQTT8H-ssx" %}
[Getting started](/for-students/getting-started.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/for-students/advanced-features/using-a-coupon-to-enroll-in-a-course.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.
