# Granting Account Permissions

## Permission Granting Options

User accounts can be granted automatically with our [Discord bot](https://docs.sonoransoftware.com/cad/integration-plugins/discord-bot-integration), manually granted by an administrator in your community, or by generating a "[Permission Key](#permission-keys)" for users to access independently.

### [Sonoran CMS - Permission Sync](https://info.sonorancms.com/why-choose-sonoran-cms/why-choose-sonoran-cms)

Sonoran CMS is your single point of management for your community's documents, whitelisting, in-game permissions, community website, and more!

In addition to whitelisting and in-game permissions, [Sonoran CMS can automatically manage your Sonoran CAD permissions](https://info.sonorancms.com/integration-capabilities/sonoran-cad-sync)!

![Sonoran CAD x Sonoran CMS - Permission Sync](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2FgKYqZdAcCFCpGRDyIVcg%2FCMS-CAD-Sync.png?alt=media\&token=3d19fa8a-f6e6-45d5-9aa0-b042511d3cee)

### Discord Bot Roles

Our [Discord bot](https://info.sonoranbot.com/en/tutorials/getting-started) allows you to automatically sync Discord roles with CAD permissions.

### Manually Granting Permissions

#### 1. Open the Accounts Menu

In the admin menu, select the "Accounts" option to view all user accounts in your community.

{% hint style="info" %}
New and Pending User Accounts

New accounts are automatically set to "PENDING"\
To view pending accounts, you will need to change the accounts drop down in the top left of the window from "Active" to "Pending"
{% endhint %}

![The account grid displays all user accounts in your community](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2FAxr5pmEpupO1idOllXHd%2FCAD_Accounts.png?alt=media\&token=67d853b6-b7d0-4c09-9bde-6e5aa88c0a26)

#### 2. Select an Account

Simply click on an account to manually edit the permissions, ban, or kick a user.\
After changing a user's permissions, don't forget to press save!

![The account management panel allows you to toggle individual user permissions](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-M4psCt3wTYXdxbzQnxw%2F-M4ptfORTqogpiydhrxT%2Fpermissions.PNG?alt=media\&token=4d5b78ed-0527-4bac-a012-8f363a733f0f)

### Permission Keys

Permission keys are a great way to allow users to automatically grant themselves their necessary permissions.

#### 1. Create a Permission Key

In the admin menu, select `Accounts > Permission Keys`\
Here, you can create a new permission key. Simply enter the new key name, toggle the associated permissions, and press save.

![Sonoran CAD - Permission Key Editor](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-M4pu91NDMtXXzju4dE9%2F-M4puRyLa_QHKgoVlF2x%2Fpermkey.PNG?alt=media\&token=7df06186-7a4a-4e99-8be5-af09e3caad27)

#### 2. Apply a Permission Key

At the community menu, your users can enter the new permission key. After pressing enter, the associated permissions will automatically be applied to their account.

![Sonoran CAD - Apply Permission Key](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4pGN81fb4R6zFhodcu%2Fuploads%2FesOXyb1DVY4SORfrkpIV%2FCAD_MenuPermKey.png?alt=media\&token=0a1252ee-f025-4966-9a17-301bc5de150b)

{% hint style="info" %}
Invalid Key Error?

Permission keys are *case sensitive*, so ensure your users are entering the key exactly, with the proper capitalization.
{% endhint %}
