# Generate a User or General Keycode

{% hint style="success" %}
This article is a guide for classic Alarms. Refer to this [article](/new-alarms/configuration/alarm-sites/configure-new-alarms-site-settings.md) if you have new Alarms. See [New Alarms vs Classic Alarms](/new-alarms/getting-started/new-alarms-vs-classic-alarms.md) if you are unsure which version of Alarms you have.
{% endhint %}

***

**User keycodes** are associated to an individual account and have the advantage of controlling each user’s permissions to arm/disarm the alarm system through their unique keycode and site permissions.

**General keycodes** are not associated with an individual account; instead, they are given a generic name and are **used for one alarm site only**. The objective is to create a generic keycode for a group of people to use, such as janitorial staff or a master keycode in case of emergencies for that specific site.

***

## Generate a keycode

{% hint style="danger" %}
Before you can generate a keycode, you must be an Org Admin, and you must confirm your account permissions.
{% endhint %}

{% stepper %}
{% step %}
**In Verkada Command, go** **to** **All Products** > **Classic** **Alarms.**\
​

* Go to **All Products** > **Classic** **Alarms > Select site > Settings > Users & Keycodes > Search for User > Generate Code**.\
  ​
  {% endstep %}

{% step %}
**Select a site > Settings.**
{% endstep %}

{% step %}
**Under** **Users & Keycodes > Search for User > Generate Code**.
{% endstep %}

{% step %}
**Next to the code, click** <img src="/files/cUNNpM78BoMaA7h9Ov48" alt="" data-size="line"> **to change the pre-generated code.**
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
User keycodes and general keycodes cannot conflict with one another. If you enter a code that already exists in your command account, an error appears.

<img src="/files/GIJuh5s8nY7HNmn9BmCY" alt="" data-size="original">
{% endhint %}

{% hint style="danger" %}
You **must** have the alarms user permission to use this code tied to a user account. However, if you are a Site Admin, you are an alarm user, by default, for that site. This allows you to give users permission to arm and disarm a site and limit camera viewing.
{% endhint %}

<div data-with-frame="true"><img src="/files/08GVexw0CNqgOEpqFnJg" alt=""></div>

If there are many alarm sites that you need to arm/disarm, you can designate those permissions instead of configuring general keycodes for each site for a user.


---

# 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.verkada.com/classic-alarms/configuration/configure-classic-alarms-site-settings/generate-a-user-or-general-keycode-with-classic-alarms.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.
