# 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="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FNDSNxjCYK389c4t7GYEU%2FS%20Account.png?alt=media&#x26;token=59aa68aa-1312-4ad7-bacf-e0c7c4e6cb46" 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="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FqZfDnix7fJ9p4Vt4Vzgi%2FSecurity%20Token.png?alt=media&#x26;token=e913329a-2987-4c2c-beba-e36b87d71e6c" alt=""><figcaption></figcaption></figure>
5. **Name** your token and click **`Generate`**. The tokens page appears.<br>

   <figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FShc14h7wc9579272eqke%2FSecurity%20Token%203.8.png?alt=media&#x26;token=15162dc2-356a-49a3-a921-c8b0f2947abc" 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.
