# Getting Started with CodeScan

The following article demonstrates how to create a new CodeScan cloud account and log in to an existing CodeScan account, as well as how to set up your CodeScan account to get started.

### Signing Up with CodeScan <a href="#signing-up-with-codescan" id="signing-up-with-codescan"></a>

Follow the steps below to sign up and log in to CodeScan Cloud:

1. To sign up for CodeScan Cloud, navigate to <https://www.codescan.io/>.

<figure><img src="/files/yEJTGsBqSnXaxQYAypmg" alt=""><figcaption></figcaption></figure>

2. By default, the instance URL is presumed to be from the **United States (US)**, and the URL would look something like [**`https://app.codescan.io/sessions/new?return to=/%2F`**](https://app.codescan.io/sessions/new?returnto=/%2F).

{% hint style="info" %}
**Important Note:** If you are in a region ***other than the US***, such as *Australia*, change the URL to [**https://app-aus.codescan.io/sessions/new?return to=/%2F**](https://app-aus.codescan.io/sessions/new?returnto=/%2F).\
Similarly, edit the URL for the *EU* region to [**https://app-eu.codescan.io/sessions/new?return to=/%2F**](https://app-eu.codescan.io/sessions/new?returnto=/%2F).
{% endhint %}

3. Click on **`Log in with AuthO or an Authenticator app`**.
4. Go to the **`Sign Up`** tab.

<figure><img src="/files/ELo1yHqCLiI8lkWNU16x" alt="" width="279"><figcaption></figcaption></figure>

5. On the next screen, enter the following details to sign up for CodeScan:
   * **`Email address`**: Enter a valid email address.
   * **`Password`**: Enter your password.
   * **`Full name`**: Enter the name associated with your account profile.
   * **`Company name`**: Enter the name of the company or organization.
   * **`Phone number`**: Enter a valid phone number.
   * **`Requires Two-Factor Authentication`**: You can also enable [Two-Factor Authentication](https://knowledgebase.autorabit.com/codescan/docs/codescan-getting-started#twofactor-authentication-mfa2fa) for your login.
   * Read and accept our **terms of service** and **privacy policy** and select the checkbox.
6. Click on **`Sign Up`** button.

**And you're in! Enjoy!**

{% hint style="info" %}
**Note:** When enabling **Two-Factor Authentication**, you will be required to download the **Auth0 Guardian** or another authenticator app to your mobile device. You will be prompted for this when you first log in. You cannot make changes to your two-factor authentication after signup. Please contact [support@codescan.io](https://support@codescan.io/) to make changes to your two-factor authentication.
{% endhint %}

### Two-Factor Authentication (MFA/2FA) <a href="#twofactor-authentication-mfa2fa" id="twofactor-authentication-mfa2fa"></a>

CodeScan offers MFA/2FA to further support account privacy and security. This document helps you understand how to set up and work with 2FA.

{% hint style="info" %}
**Note:** Be sure to save the token generated at signup, as it allows you to reset the 2FA if you have trouble logging in or getting push notifications.
{% endhint %}

1. When you [sign up to CodeScan cloud](https://knowledgebase.autorabit.com/codescan/docs/codescan-getting-started#signing-up-with-codescan), you can enable two-factor authentication by selecting the **`Require Two-Factor Authentication`** checkbox.

<figure><img src="/files/cyKifDfubjpiVgC4iKHt" alt=""><figcaption></figcaption></figure>

2. Fill in all the details and click on the **`Sign Up`** button.
3. Download the authenticator app on your mobile phone. Once you have downloaded the app, select **`I’ve already downloaded it`** to continue.
4. Next, you will be prompted to scan the **QR code** with your Guardian (authenticator) app.

   * A **token** is generated and available on the screen for you to **copy** and **save**.

   <figure><img src="/files/xtU5MyarTpVD9dSRnuLm" alt=""><figcaption></figcaption></figure>

   * Click the **checkbox** next to **`I have safely recorded this code`** to confirm you have recorded it and continue.

   <figure><img src="/files/nXhw88GTt3UzHPptJAJw" alt=""><figcaption></figcaption></figure>

**And you have set your 2FA!!**

### Logging In <a href="#logging-in" id="logging-in"></a>

The CodeScan login screen allows you to log in to your instance.

1. Navigate your **web browser** to your instance's URL, for example, <https://app.codescan.io/> for **US** region, <https://app-eu.codescan.io/> for **EU** region or <https://app-aus.codescan.io/> for **AUS** region.
2. The CodeScan login screen appears.
3. You can **`Login with AuthO`** or **`Log in with SAML2`** if enabled or you can click on **`More options`** to enter your login credentials (*username* and *password*).

<figure><img src="/files/XT6K496XO01NjnkQINPK" alt=""><figcaption></figcaption></figure>

4. Click on **`Log in`**.

{% hint style="info" %}
**Note:** If you do not know your instance's URL or login credentials, please contact your system administrator for assistance.
{% endhint %}

5. The CodeScan welcome screen appear.

<figure><img src="/files/6que4b0h6GziTPL7SYCe" alt="" width="543"><figcaption></figcaption></figure>

6. If you choose **`Application Security Testing`**, you will be taken to the **Projects** page, which will be your default homepage. As a result, the next time you log in to CodeScan, you will be instantly directed to the **Projects** page because it is set as the default page.
7. Similarly, if you choose **`Policy Management`**, the **Policy Results** screen will be set as your default homepage.
8. The **`Policy Results`** page is also accessible via the **`More`** menu.<br>

   <figure><img src="/files/vgvr1QyoHFtCHMd2iLuR" alt=""><figcaption></figcaption></figure>

### Getting Started with CodeScan Cloud <a href="#getting-started-with-codescan-cloud" id="getting-started-with-codescan-cloud"></a>

There are three steps to get CodeScan Cloud working for you.&#x20;

1. Defining Your Standards&#x20;
2. Achieving Visibility&#x20;
3. Enforcing Your Standards

The following sections will include links to articles to help you set up CodeScan through these three steps.

#### Defining Your Standards <a href="#defining-your-standards" id="defining-your-standards"></a>

CodeScan comes out-of-the-box with some predefined rule sets. These represent our recommended minimums for your security and quality.

However, these rule sets are completely customizable. Define what you would like to see and how important it is by creating your own custom rule sets. [Click here to learn how customizable rule](https://knowledgebase.autorabit.com/codescan/docs/customising-quality-profiles).

Defining an expected level of quality is also very important. The highest-level quality indicator of your code is a hard pass or fail. [Click here to learn how to set these standards](https://knowledgebase.autorabit.com/codescan/docs/customising-quality-gates).

#### Achieving Visibility <a href="#achieving-visibility" id="achieving-visibility"></a>

CodeScan helps you keep your code clean as you develop using the branching functionality and new code periods.

Seeing the issues as they appear allows you to maintain your standards on current development and plan your refactoring efforts. See here for more information on [Branching Functionality](https://knowledgebase.autorabit.com/codescan/docs/understanding-branches-in-codescan-cloud) and the [New Code](https://knowledgebase.autorabit.com/codescan/docs/understanding-the-new-code-tab) tab.

#### Enforcing Your Standards <a href="#enforcing-your-standards" id="enforcing-your-standards"></a>

Passing or failing a project on the CodeScan dashboard is very useful. The next step is to use those metrics to enforce your standards. Learn how [CodeScan can be integrated into your repository or pipeline with our articles around CI/CD](https://knowledgebase.autorabit.com/codescan/docs/codescan-integration-with-autorabit).

Our support team is always happy to help if you get stuck! You can reach us at [support@codescan.com](https://mailto:support@codescan.com/).

**Enjoy cleaner code!**

**\~ CodeScan Team**


---

# 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://knowledgebase.autorabit.com/product-guides/codescan/getting-started.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.
