# Generating a Security Token

Security tokens allow you to authenticate integrations such as your IDE or CI tooling.

To generate the security tokens, follow the steps below:

1. Navigate to your instance's URL, for example, [*https://app.codescan.io/*](https://app.codescan.io/) for **US** region, [*https://app-eu.codescan.io/*](https://app.codescan.io/) for **EU** region or [*https://app-aus.codescan.io/*](https://app.codescan.io/) for **AUS** region.
2. Click on **`My Account`** at the top right of your screen to generate the tokens.<br>

   <figure><img src="/files/zJc6BZwSgB2rFXhC6LXZ" alt="" width="375"><figcaption></figcaption></figure>
3. CodeScan supports two types of security tokens - **User** and **Project** tokens:<br>

   Generally, user's **User** token gives you full rights to the instance. A **Project** token gives you only right to run an analysis on the specific project it was generated for.

   Select the type according to your needs.
4. Next, click on **`Security`** tab.<br>

   <figure><img src="/files/QA3Frki97IiFUFAA79gH" alt=""><figcaption></figcaption></figure>
5. **Name** your token and click **`Generate`**. The tokens page appears.<br>

   <figure><img src="/files/oqRV9rTYdFlYhq4aqSKM" alt=""><figcaption></figcaption></figure>
6. The token you generate can only be viewed once after generation. Be sure to store it somewhere secure (such as a password manager) or add separate tokens for each integration to avoid problems in the future.


---

# 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/setting-up-a-codescan-cloud-organization/generate-a-security-token.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.
